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
Request
- Base URL: https://demo-site
- URL: https://demo-site/zephr/payment/braintree/default-payment-method
- Auth: one of:
- API key in cookie blaize_session
- API key in query parameter jwt
- API key in header x-blaize-jwt
- API key in header x-zephr-jwt
- HTTP bearer
- API key in cookie blaize_jwt
Headers
cookiestring
The session cookie.
Request body
Example request
{
"payment_method_token": "payment-method-123"
}Response
No Content
Changes
No recorded changes to this operation across all 2 revisions of this API.