{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/notifications-beneficiary-setup-notification-content-schema.json",
  "title": "BeneficiarySetupNotificationContent",
  "description": "BeneficiarySetupNotificationContent schema from Adyen API",
  "type": "object",
  "properties": {
    "destinationAccountCode": {
      "description": "The code of the beneficiary account.",
      "type": "string"
    },
    "destinationAccountHolderCode": {
      "description": "The code of the beneficiary Account Holder.",
      "type": "string"
    },
    "invalidFields": {
      "x-addedInVersion": "5",
      "description": "A listing of the invalid fields which have caused the Setup Beneficiary request to fail. If this is empty, the Setup Beneficiary request has succeeded.",
      "items": {
        "$ref": "#/components/schemas/ErrorFieldType"
      },
      "type": "array"
    },
    "merchantReference": {
      "description": "The reference provided by the merchant.",
      "type": "string"
    },
    "sourceAccountCode": {
      "description": "The code of the benefactor account.",
      "type": "string"
    },
    "sourceAccountHolderCode": {
      "description": "The code of the benefactor Account Holder.",
      "type": "string"
    },
    "transferDate": {
      "description": "The date on which the beneficiary was set up and funds transferred from benefactor to beneficiary.",
      "format": "date-time",
      "type": "string"
    }
  }
}