cURL
curl --request GET \ --url https://api.sandbox.zafapay.com/v1/customers/{customer_id}/payment-methods \ --header 'Authorization: Bearer <token>'
{ "customer_id": "cust_abc123", "payment_methods": [ { "id": "pmi_abc123", "type": "card", "connector_id": "conn_xxx", "card": { "brand": "visa", "last4": "4242", "exp_month": 12, "exp_year": 2025 }, "is_default": true, "status": "active", "blocked_reason": null, "created_at": "2024-01-15T10:30:00Z" } ] }
List saved payment methods for a customer
Bearer authentication using access token
Customer ID
"cust_abc123"
Success
List of saved payment methods
Show child attributes