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.

SecurityCookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
Request
path Parameters
subscriptionId
required
string

Subscription ID

header Parameters
cookie
string

The session cookie.

Example: `blaize_session=...` (string)
Request Body schema: application/json
payment_method_token
string

Payment method token referencing a payment method in Braintree.

payment_method_nonce
string

Payment method nonce referencing a payment method in Braintree.

Responses
204

No Content

401

Unauthorized

404

Not Found

patch/blaize/payment/braintree/subscriptions/{subscriptionId}
Request samples
application/json
{
  • "payment_method_token": "alpha123token",
  • "payment_method_nonce": "alpha123token"
}