PayPal · Schema

orders.capture-400

BillingCommerceDisputesInvoicesOrdersPaymentsPayoutsSubscriptionsTokensWebhooks

Properties

Name Type Description
details array
View JSON Schema on GitHub

JSON Schema

paypal-orderscapture-400-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/orders.capture-400",
  "title": "orders.capture-400",
  "properties": {
    "details": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "title": "INVALID_PARAMETER_VALUE",
            "properties": {
              "issue": {
                "type": "string",
                "enum": [
                  "INVALID_PARAMETER_VALUE"
                ]
              },
              "description": {
                "type": "string",
                "enum": [
                  "A parameter value is not valid."
                ]
              }
            }
          },
          {
            "title": "MISSING_REQUIRED_PARAMETER",
            "properties": {
              "issue": {
                "type": "string",
                "enum": [
                  "MISSING_REQUIRED_PARAMETER"
                ]
              },
              "description": {
                "type": "string",
                "enum": [
                  "A required field / parameter is missing"
                ]
              }
            }
          },
          {
            "title": "INVALID_STRING_LENGTH",
            "properties": {
              "issue": {
                "type": "string",
                "enum": [
                  "INVALID_STRING_LENGTH"
                ]
              },
              "description": {
                "type": "string",
                "enum": [
                  "The value of a field is either too short or too long"
                ]
              }
            }
          },
          {
            "title": "INVALID_PARAMETER_SYNTAX",
            "properties": {
              "issue": {
                "type": "string",
                "enum": [
                  "INVALID_PARAMETER_SYNTAX"
                ]
              },
              "description": {
                "type": "string",
                "enum": [
                  "The value of a field does not conform to the expected format."
                ]
              }
            }
          },
          {
            "title": "MALFORMED_REQUEST_JSON",
            "properties": {
              "issue": {
                "type": "string",
                "enum": [
                  "MALFORMED_REQUEST_JSON"
                ]
              },
              "description": {
                "type": "string",
                "enum": [
                  "The request JSON is not well formed."
                ]
              }
            }
          }
        ]
      }
    }
  }
}