PayPal · Schema

Checkout Option

A checkout option as a name-and-value pair.

BillingCommerceDisputesInvoicesOrdersPaymentsPayoutsSubscriptionsTokensWebhooks

Properties

Name Type Description
checkout_option_name string The checkout option name, such as `color` or `texture`.
checkout_option_value string The checkout option value. For example, the checkout option `color` might be `blue` or `red` while the checkout option `texture` might be `smooth` or `rippled`.
View JSON Schema on GitHub

JSON Schema

paypal-checkout-option-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/checkout_option",
  "title": "Checkout Option",
  "type": "object",
  "description": "A checkout option as a name-and-value pair.",
  "properties": {
    "checkout_option_name": {
      "type": "string",
      "description": "The checkout option name, such as `color` or `texture`.",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^[a-zA-Z0-9_'\\-., \":;\\!?]*$"
    },
    "checkout_option_value": {
      "type": "string",
      "description": "The checkout option value. For example, the checkout option `color` might be `blue` or `red` while the checkout option `texture` might be `smooth` or `rippled`.",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^[a-zA-Z0-9_'\\-., \":;\\!?]*$"
    }
  }
}