PayPal · Schema

invoices.payments-delete-422

BillingCommerceDisputesInvoicesOrdersPaymentsPayoutsSubscriptionsTokensWebhooks

Properties

Name Type Description
details array
View JSON Schema on GitHub

JSON Schema

paypal-invoicespayments-delete-422-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/invoices.payments-delete-422",
  "title": "invoices.payments-delete-422",
  "properties": {
    "details": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "title": "CANNOT_DELETE_EXTERNAL_PAYMENT",
            "properties": {
              "issue": {
                "type": "string",
                "enum": [
                  "CANNOT_DELETE_EXTERNAL_PAYMENT"
                ]
              },
              "description": {
                "type": "string",
                "enum": [
                  "The external payment cannot be deleted as the recorded refund cannot exceed the recored payment for an invoice."
                ]
              }
            }
          }
        ]
      }
    }
  }
}