v1

latestOpenAPI 3.1.02026-07-24233206489.1 KB
Customer Payment Methods (v1)

List Payment Methods for Customer (V1)

Returns all payment methods linked to a customer. Returns 404 if the customer does not exist.

get/v1/customers/{id}/payment_methods

Path parameters

idstring required

Customer ID

Response

OK

has_moreboolean

Example response

{
  "data": [
    {
      "attributes": {
        "created_at": 1710000000,
        "details": {
          "brand": "visa",
          "last4": "4242"
        },
        "livemode": true,
        "payment_method_id": "pm_abc123",
        "payment_method_type": "card",
        "session_type": "on_session",
        "updated_at": 1710000000
      },
      "id": "pm_abc123",
      "type": "customer_payment_method"
    }
  ]
}