Developer Docs

Set a payment method as the default for its currency

Marks the specified payment method as the default for its currency (EUR or USD). Any previously default payment method for the same currency on this customer is automatically unset. Returns the updated payment method with isDefault: true.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Unique identifier of the customer (e.g. cus_abc123)

string
required

Unique identifier of the payment method to set as default (e.g. cpm_xyz789)

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json