v20

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-214885191.3 KB
Payment Methods

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.

get/v1/sdk/payment-method

Query parameters

customerRefstring required

Customer reference (e.g. customer_...).

Response

The customer's default card, or { kind: 'none' } when no card is on file.

OR

Example response

{
  "brand": "visa",
  "expMonth": 12,
  "expYear": 2030,
  "last4": "4242"
}