Payment Methods
Get all payment methods for a customer
get/api/payment-methods/customer/{customerId}
Path parameters
customerIdstring required
Response
Payment methods retrieved successfully
Example response
[
{
"id": "pm_abc123",
"customerId": "cus_abc123",
"provider": "stripe",
"type": "CARD",
"tokenId": "pm_1234567890",
"isDefault": true,
"last4": "4242",
"brand": "visa",
"expMonth": 12,
"expYear": 2028,
"cardholderName": "John Doe",
"country": "US",
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z"
}
]