braintree · Schema

ModificationUpdate

An existing add-on or discount on a subscription to update.

Properties

Name Type Description
existing_id string Identifier of the existing applied modification to update.
amount string New amount override for this modification.
number_of_billing_cycles integer New number of billing cycles for this modification.
never_expires boolean If true, this modification applies indefinitely.
quantity integer Updated quantity for this add-on.
View JSON Schema on GitHub

JSON Schema

braintree-modificationupdate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ModificationUpdate",
  "title": "ModificationUpdate",
  "type": "object",
  "required": [
    "existing_id"
  ],
  "description": "An existing add-on or discount on a subscription to update.",
  "properties": {
    "existing_id": {
      "type": "string",
      "description": "Identifier of the existing applied modification to update."
    },
    "amount": {
      "type": "string",
      "description": "New amount override for this modification.",
      "example": "1.00"
    },
    "number_of_billing_cycles": {
      "type": "integer",
      "description": "New number of billing cycles for this modification.",
      "minimum": 1
    },
    "never_expires": {
      "type": "boolean",
      "description": "If true, this modification applies indefinitely."
    },
    "quantity": {
      "type": "integer",
      "description": "Updated quantity for this add-on.",
      "minimum": 1
    }
  }
}