PayPal · Schema

percentage

The percentage, as a fixed-point, signed decimal number. For example, define a 19.99% interest rate as `19.99`.

BillingCommerceDisputesInvoicesOrdersPaymentsPayoutsSubscriptionsTokensWebhooks
View JSON Schema on GitHub

JSON Schema

paypal-percentage-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/percentage",
  "title": "percentage",
  "type": "string",
  "description": "The percentage, as a fixed-point, signed decimal number. For example, define a 19.99% interest rate as `19.99`.",
  "format": "ppaas_common_percentage_v2",
  "pattern": "^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$"
}