cURL
curl --request GET \ --url https://api.example.com/payments/payment-methods
{ "data": [ { "metadata": [ { "key": "<string>", "value": "<string>" } ], "type": "<string>", "id": "<string>", "status": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "paymentMethodType": "card", "mandateDocumentId": "<string>", "last4": "<string>", "expirationMonth": 123, "expirationYear": 123, "billingDetails": { "name": "<string>", "email": "<string>", "phone": "<string>", "address": { "city": "<string>", "country": "<string>", "line1": "<string>", "line2": "<string>", "postalCode": "<string>", "state": "<string>" } } } ], "pageInfo": { "first": true, "last": true }, "totalCount": 123, "currentPage": 123, "totalPages": 123 }
the id of the stripe customer
the list of items in the page
Show child attributes
the page info
the total number of items
the current page
the total number of pages
Was this page helpful?