Braintree · Schema

SubscriptionUpdateRequest

Request body for updating an existing subscription.

Properties

Name Type Description
payment_method_token string New payment method token to use for future billing cycles.
payment_method_nonce string A nonce for a new payment method to vault and use for future billing cycles.
plan_id string Change the subscription to a different billing plan.
price string Override the subscription price for future billing cycles.
number_of_billing_cycles integer Update the total number of billing cycles for the subscription.
never_expires boolean If true, the subscription continues indefinitely.
billing_day_of_month integer Update the day of the month on which charges occur.
add_ons object
discounts object
options object Options for the subscription update behavior.
View JSON Schema on GitHub

JSON Schema

braintree-subscriptionupdaterequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SubscriptionUpdateRequest",
  "title": "SubscriptionUpdateRequest",
  "type": "object",
  "description": "Request body for updating an existing subscription.",
  "properties": {
    "payment_method_token": {
      "type": "string",
      "description": "New payment method token to use for future billing cycles."
    },
    "payment_method_nonce": {
      "type": "string",
      "description": "A nonce for a new payment method to vault and use for future billing cycles."
    },
    "plan_id": {
      "type": "string",
      "description": "Change the subscription to a different billing plan."
    },
    "price": {
      "type": "string",
      "description": "Override the subscription price for future billing cycles.",
      "example": "9.99"
    },
    "number_of_billing_cycles": {
      "type": "integer",
      "description": "Update the total number of billing cycles for the subscription.",
      "minimum": 1
    },
    "never_expires": {
      "type": "boolean",
      "description": "If true, the subscription continues indefinitely."
    },
    "billing_day_of_month": {
      "type": "integer",
      "description": "Update the day of the month on which charges occur.",
      "minimum": 1,
      "maximum": 31
    },
    "add_ons": {
      "$ref": "#/components/schemas/ModificationCollection"
    },
    "discounts": {
      "$ref": "#/components/schemas/ModificationCollection"
    },
    "options": {
      "type": "object",
      "description": "Options for the subscription update behavior.",
      "properties": {
        "prorate_charges": {
          "type": "boolean",
          "description": "If true, applies prorated charges or credits for the current billing cycle when the price changes mid-cycle."
        },
        "replace_all_add_ons": {
          "type": "boolean",
          "description": "If true, replaces all existing add-ons on the subscription with the provided add-ons collection."
        },
        "replace_all_discounts": {
          "type": "boolean",
          "description": "If true, replaces all existing discounts on the subscription with the provided discounts collection."
        },
        "revert_subscription_on_proration_failure": {
          "type": "boolean",
          "description": "If true, reverts the subscription update if the prorated charge fails."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/braintree-subscriptionupdaterequest"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.