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

KeyDatatypeRequiredDescription
categorystring
starting_afterstringThe ID of the coupon created before the first coupon you want to retrieve
ending_beforestringThe ID of the coupon created after the last coupon you want to retrieve
limitstringThe maximum number of coupons to return. Range is 1-100. Default is 10
typestringThe type of payment method to find.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;,&quot;category&quot;:&quot;bank&quot;,&quot;metadata&quot;:{},&quot;image&quot;:&quot;\u003cstring\u003e&quot;,&quot;webhook_url&quot;:&quot;\u003cstring\u003e&quot;,&quot;supporting_documentation&quot;:&quot;\u003cstring\u003e&quot;,&quot;next_action&quot;:&quot;not_applicable&quot;,&quot;bic_swift&quot;:&quot;\u003cstring\u003e&quot;,&quot;account_last4&quot;:&quot;\u003cstring\u003e&quot;},{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;,&quot;category&quot;:&quot;card&quot;,&quot;metadata&quot;:{},&quot;image&quot;:&quot;\u003cstring\u003e&quot;,&quot;webhook_url&quot;:&quot;\u003cstring\u003e&quot;,&quot;supporting_documentation&quot;:&quot;\u003cstring\u003e&quot;,&quot;next_action&quot;:&quot;pending_capture&quot;,&quot;bic_swift&quot;:&quot;\u003cstring\u003e&quot;,&quot;account_last4&quot;:&quot;\u003cstring\u003e&quot;}],&quot;status&quot;:{&quot;error_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;message&quot;:&quot;\u003cstring\u003e&quot;,&quot;operation_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;response_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;status&quot;:&quot;\u003cstring\u003e&quot;}}