Get the default payment method for a customer
Returns the customer's default card for the authenticated provider. Sourced from stored payment-method records (no Stripe round-trip). Returns { kind: 'none' } when no card is on file.
Query parameters
Customer reference (e.g. customer_...).
Response
The customer's default card, or { kind: 'none' } when no card is on file.
Example response
{
"brand": "visa",
"expMonth": 12,
"expYear": 2030,
"last4": "4242"
}Changes
Changed in 2 of the 27 revisions of this API.3
- ○
the endpoint scheme security
SecretKeywas added to the APIapi-security-added
- ○
the endpoint scheme security
bearerwas removed from the APIapi-security-removed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
This revision also has 192 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○