---
title: "Update the Braintree subscription"
method: PATCH
path: "/blaize/payment/braintree/subscriptions/{subscriptionId}"
tags: ["Braintree Payments"]
---

# Update the Braintree subscription

`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`

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.

## Path parameters

- `subscriptionId` string, required

## Headers

- `cookie` string

## Request body

- object
  - `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.

## Response `204`

No Content

## Other responses

- `401`: Unauthorized
- `404`: Not Found

---

[API](https://skmtc.dev/zuora/apis/zuora-2.md) - [All operations](https://skmtc.dev/zuora/apis/zuora-2/llms.txt) - [OpenAPI document](https://skmtc.dev/zuora/apis/zuora-2/revisions/678190d04c40?raw)
