Braintree Payments

Update the Braintree subscription

Updates a Braintree subscription by ID. This operation currently only supports updating the payment method for a subscription, sending the payment method token or nonce.

patch/blaize/payment/braintree/subscriptions/{subscriptionId}

Request

  • Base URL: https://demo-site
  • URL: https://demo-site/blaize/payment/braintree/subscriptions/{subscriptionId}
  • 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

Path parameters

subscriptionIdstring required

Subscription ID

Headers

cookiestring

The session cookie.

Request body

payment_method_tokenstring

Payment method token referencing a payment method in Braintree.

payment_method_noncestring

Payment method nonce referencing a payment method in Braintree.

Example request

{
  "payment_method_token": "alpha123token",
  "payment_method_nonce": "alpha123token"
}

Response

No Content

Changes

No recorded changes to this operation across all 2 revisions of this API.