{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/notifications-payment-failure-notification-content-schema.json",
  "title": "PaymentFailureNotificationContent",
  "description": "PaymentFailureNotificationContent schema from Adyen API",
  "type": "object",
  "properties": {
    "errorFields": {
      "description": "Missing or invalid fields that caused the payment error.",
      "items": {
        "$ref": "#/components/schemas/ErrorFieldType"
      },
      "type": "array"
    },
    "errorMessage": {
      "description": "The error message.",
      "$ref": "#/components/schemas/Message"
    },
    "modificationMerchantReference": {
      "description": "The `reference` of the capture or refund.",
      "type": "string"
    },
    "modificationPspReference": {
      "description": "The `pspReference` of the capture or refund.",
      "type": "string"
    },
    "paymentMerchantReference": {
      "description": "The `reference` of the payment.",
      "type": "string"
    },
    "paymentPspReference": {
      "description": "The `pspReference` of the payment.",
      "type": "string"
    }
  }
}