Customer Payment Methods (v2)

List Payment Methods for Customer (V2)

Get a list of payment methods for a customer with pagination

get/v2/customer_payment_methods/{customer_id}

Request

  • Base URL
    https://api.paymongo.com
  • URL
    https://api.paymongo.com/v2/customer_payment_methods/{customer_id}
  • Auth
    HTTP basic

Path parameters

customer_idstring required

Customer ID

Query parameters

limitinteger

Number of items to return (default: 20, max: 100)

last_evaluated_payment_method_idstring

Last evaluated payment method ID for pagination. Used to get the next page of results. Important: This field will be provided in the response even if the next query would return no results - you must continue paginating until this field is completely omitted/null to ensure you've retrieved all data.

Response

OK

has_moreboolean

Example response

{
  "data": {
    "customer_payment_methods": [
      {
        "created_at": 1710000000000,
        "customer_id": "cus_abc123",
        "live_mode": true,
        "payment_method_id": "pm_abc123",
        "session_type": "on_session",
        "source_type": "card",
        "updated_at": 1710000000000
      }
    ],
    "last_evaluated_payment_method_id": "pm_abc123"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.