PayPal · Schema

Pricing Tier

The pricing tier details.

BillingCommerceDisputesInvoicesOrdersPaymentsPayoutsSubscriptionsTokensWebhooks

Properties

Name Type Description
starting_quantity string The starting quantity for the tier.
ending_quantity string The ending quantity for the tier. Optional for the last tier.
amount object The pricing amount for the tier.
View JSON Schema on GitHub

JSON Schema

paypal-pricing-tier-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/pricing_tier",
  "title": "Pricing Tier",
  "description": "The pricing tier details.",
  "type": "object",
  "properties": {
    "starting_quantity": {
      "type": "string",
      "description": "The starting quantity for the tier.",
      "pattern": "^([0-9]+|([0-9]+)?[.][0-9]+)$",
      "minLength": 1,
      "maxLength": 32
    },
    "ending_quantity": {
      "type": "string",
      "description": "The ending quantity for the tier. Optional for the last tier.",
      "pattern": "^([0-9]+|([0-9]+)?[.][0-9]+)$",
      "minLength": 1,
      "maxLength": 32
    },
    "amount": {
      "description": "The pricing amount for the tier.",
      "$ref": "#/components/schemas/money"
    }
  },
  "required": [
    "starting_quantity",
    "amount"
  ]
}