Retrieve payment methods for a customer
GET {{baseUrl}}/v1/customers/:customerId/payment_methods?category=bank_redirect&starting_after=<string>&ending_before=<string>&limit=<string>&type=<string>
Retrieve payment methods for a customer
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
category | string | ||
starting_after | string | The ID of the coupon created before the first coupon you want to retrieve | |
ending_before | string | The ID of the coupon created after the last coupon you want to retrieve | |
limit | string | The maximum number of coupons to return. Range is 1-100. Default is 10 | |
type | string | The type of payment method to find. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"data":[{"id":"\u003cstring\u003e","type":"\u003cstring\u003e","category":"bank","metadata":{},"image":"\u003cstring\u003e","webhook_url":"\u003cstring\u003e","supporting_documentation":"\u003cstring\u003e","next_action":"not_applicable","bic_swift":"\u003cstring\u003e","account_last4":"\u003cstring\u003e"},{"id":"\u003cstring\u003e","type":"\u003cstring\u003e","category":"card","metadata":{},"image":"\u003cstring\u003e","webhook_url":"\u003cstring\u003e","supporting_documentation":"\u003cstring\u003e","next_action":"pending_capture","bic_swift":"\u003cstring\u003e","account_last4":"\u003cstring\u003e"}],"status":{"error_code":"\u003cstring\u003e","message":"\u003cstring\u003e","operation_id":"\u003cstring\u003e","response_code":"\u003cstring\u003e","status":"\u003cstring\u003e"}}