Skip to main content
PUT
/
customers
/
{customerId}
/
payment-methods
/
{paymentMethodId}
/
preferred
Update customer preferred payment method
curl --request PUT \
  --url https://api.example.com/customers/{customerId}/payment-methods/{paymentMethodId}/preferred
{}

Path Parameters

customerId
string
required

the customer id

paymentMethodId
string
required

Query Parameters

whenAt
string

Optional: the whenAt datetime

Response

The response is of type object.