v1

latestOpenAPI 3.0.02026-08-0610682246.0 KB
Braintree Payments

Set the default Braintree payment method

Sets the Braintree default payment method for the logged-in user. This must be a valid payment method already associated with the user.

put/zephr/payment/braintree/default-payment-method

Headers

cookiestring

The session cookie.

Request body

payment_method_tokenstring

The unique ID of the payment method to be set as default for the user.

Example request

{
  "payment_method_token": "payment-method-123"
}

Response

No Content