Gets the non-sensitive details of a saved card (e.g., brand, last 4).
Path Parameters
The unique identifier of the payment method
Response
Unique identifier for the payment method
The customer’s unique identifier
Payment method type (e.g., “card”)
Card brand (e.g., “visa”, “mastercard”)
Last 4 digits of the card
Whether this is the default payment method
ISO 8601 timestamp when the payment method was created
Example Response
{
"id": "pm_001",
"customerId": "customer_789",
"type": "card",
"brand": "visa",
"last4": "4242",
"expiryMonth": 12,
"expiryYear": 2025,
"isDefault": true,
"createdAt": "2025-01-15T10:30:00.000Z"
}
Error Responses
Invalid or missing authentication token
An unexpected error occurred on the server
Authentication
This endpoint requires Bearer token authentication.