Skip to main content
PATCH
Set Default

Authorizations

api_key
string
header
required

Path Parameters

id
string
required

The ID of the card or payment method to set as default.

Example:

"card_abc123"

Body

application/json
user_id
string
required

The ID of the user for whom the card will be set as default.

Example:

"user_12345"

Response

Card successfully set as default

status
string

Indicates whether the default setting was successful.

Example:

"success"

default_card_id
string

The ID of the card now set as the default.

Example:

"card_abc123"