PayPal · Schema

Discount

The discount as a percent or amount at invoice level. The invoice discount amount is subtracted from the item total.

BillingCommerceDisputesInvoicesOrdersPaymentsPayoutsSubscriptionsTokensWebhooks

Properties

Name Type Description
percent object The discount as a percentage value. Value is from `0` to `100`. Supports up to five decimal places.
amount object The invoice level discount amount. Value is from `0` to `1000000`. Supports up to two decimal places.
View JSON Schema on GitHub

JSON Schema

paypal-discount-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/discount",
  "title": "Discount",
  "type": "object",
  "description": "The discount as a percent or amount at invoice level. The invoice discount amount is subtracted from the item total.",
  "properties": {
    "percent": {
      "$ref": "#/components/schemas/percentage",
      "description": "The discount as a percentage value. Value is from `0` to `100`. Supports up to five decimal places."
    },
    "amount": {
      "$ref": "#/components/schemas/money",
      "description": "The invoice level discount amount. Value is from `0` to `1000000`. Supports up to two decimal places."
    }
  }
}