PayPal · Schema

templates.create-422

BillingCommerceDisputesInvoicesOrdersPaymentsPayoutsSubscriptionsTokensWebhooks

Properties

Name Type Description
details array
View JSON Schema on GitHub

JSON Schema

paypal-templatescreate-422-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/templates.create-422",
  "title": "templates.create-422",
  "properties": {
    "details": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "title": "CANNOT_CANCEL_DRAFT_INVOICE",
            "properties": {
              "issue": {
                "type": "string",
                "enum": [
                  "CANNOT_CANCEL_DRAFT_INVOICE"
                ]
              },
              "description": {
                "type": "string",
                "enum": [
                  "Cannot cancel a draft invoice."
                ]
              }
            }
          }
        ]
      }
    }
  }
}