{
  "openapi": "3.0.3",
  "info": {
    "version": "35.4.0",
    "title": "Electrum Regulated Payments Events API",
    "description": "The Electrum Regulated Payments Events API is a synchronous API that describes the events emitted by the Electrum\nRegulated Payments platform during the course of transaction processing.\n\nThis document describes the single endpoint that you will need to implement in order to receive event notifications posted by Electrum.\n\nAs transactions are processed by Electrum, events are emitted to provide information about the\nstatus of the transactions and the operations preformed on them. These events do not affect processing, but provide\ninformation that can be used for operational support and monitoring purposes.\n\nAll events are posted to the same single URL. Event are differentiated by a unique descriptor contained in the `name` field of the message body.\nThis descriptor serves to allow the receiver to determine whether the\nparticular event is of interest.\n",
    "contact": {
      "name": "Electrum Support",
      "email": "support@electrum.co.za",
      "url": "https://electrum.co.za"
    },
    "x-logo": {
      "url": "https://electrumpayments.github.io/qr-payment-service-interface-docs/images/logo-small.png"
    },
    "license": {
      "name": "proprietary",
      "url": "https://www.electrum.co.za"
    }
  },
  "servers": [
    {
      "url": "https://example.com/path/payments/events-api/v1",
      "description": "Payments API sandbox"
    }
  ],
  "tags": [
    {
      "name": "state",
      "description": "Transactions transition through different states. As each state is entered, an event is emitted. This event provides\ninformation about the state entered by the transaction. Included in this information is the message payload of\nthe operation that triggered the state transition in the Electrum Regulated Payments. **Note**: The message payload attached\nto an event might be an internally-triggered message and not the message sent to or received from the Electrum\nRegulated Payments API.\n"
    }
  ],
  "paths": {
    "/events": {
      "post": {
        "tags": [
          "state"
        ],
        "summary": "Provide event data",
        "description": "Provides event details.",
        "operationId": "eventPosting",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Event"
              },
              "examples": {
                "RTC_INBOUND_CREDIT_AUTH_RECEIVED": {
                  "$ref": "#/components/examples/RtcInboundCreditAuthReceivedEvent"
                },
                "RTC_INBOUND_CREDIT_AUTH_ACCEPTED": {
                  "$ref": "#/components/examples/RtcInboundCreditAuthAcceptedEvent"
                },
                "RTC_INBOUND_CREDIT_AUTH_REJECTED": {
                  "$ref": "#/components/examples/RtcInboundCreditAuthRejectedEvent"
                },
                "RTC_INBOUND_CREDIT_AUTH_PENDING": {
                  "$ref": "#/components/examples/RtcInboundCreditAuthPendingEvent"
                },
                "RTC_INBOUND_CREDIT_AUTH_DECLINED_NACK": {
                  "$ref": "#/components/examples/RtcInboundCreditAuthDeclinedNackEvent"
                },
                "RTC_INBOUND_CREDIT_AUTH_RESPONSE_RECEIVED": {
                  "$ref": "#/components/examples/RtcInboundCreditAuthResponseReceivedEvent"
                },
                "RTC_INBOUND_CREDIT_AUTH_RESPONSE_ACCEPTED": {
                  "$ref": "#/components/examples/RtcInboundCreditAuthResponseAcceptedEvent"
                },
                "RTC_INBOUND_CREDIT_AUTH_RESPONSE_REJECTED": {
                  "$ref": "#/components/examples/RtcInboundCreditAuthResponseRejectedEvent"
                },
                "RTC_INBOUND_CREDIT_AUTH_APPROVED": {
                  "$ref": "#/components/examples/RtcInboundCreditAuthApprovedEvent"
                },
                "RTC_INBOUND_CREDIT_AUTH_DECLINED": {
                  "$ref": "#/components/examples/RtcInboundCreditAuthDeclinedEvent"
                },
                "RTC_INBOUND_CREDIT_AUTH_TIMEOUT": {
                  "$ref": "#/components/examples/RtcInboundCreditAuthTimeoutEvent"
                },
                "RTC_INBOUND_CREDIT_AUTH_VALIDATION": {
                  "$ref": "#/components/examples/RtcInboundCreditAuthValidationEvent"
                },
                "RTC_INBOUND_CREDIT_AUTH_VALIDATION_SUCCESS": {
                  "$ref": "#/components/examples/RtcInboundCreditAuthValidationSuccessEvent"
                },
                "RTC_INBOUND_CREDIT_AUTH_VALIDATION_FAILED": {
                  "$ref": "#/components/examples/RtcInboundCreditAuthValidationFailedEvent"
                },
                "RTC_INBOUND_CREDIT_AUTH_VALIDATION_TIMEOUT": {
                  "$ref": "#/components/examples/RtcInboundCreditAuthValidationTimeoutEvent"
                },
                "BULK_INDIVIDUAL_TRANSACTION_STATE_EVENT": {
                  "$ref": "#/components/examples/BulkIndividualTransactionStateEventExample"
                },
                "BULK_INSTRUCTION_STATE_EVENT": {
                  "$ref": "#/components/examples/BulkInstructionStateEventExample"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK. [RFC9110 - 200](https://www.rfc-editor.org/rfc/rfc9110#name-200-ok)"
          },
          "400": {
            "description": "Bad request. [RFC9110 - 400](https://www.rfc-editor.org/rfc/rfc9110#name-400-bad-request)"
          },
          "500": {
            "description": "Internal server error. [RFC9110 - 500](https://www.rfc-editor.org/rfc/rfc9110#name-500-internal-server-error)"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Event": {
        "discriminator": {
          "mapping": {
            "BULK_INDIVIDUAL_TRANSACTION_STATE": "#/components/schemas/BulkIndividualTransactionStateEvent",
            "BULK_INSTRUCTION_STATE": "#/components/schemas/BulkInstructionStateEvent",
            "ESM_STATE": "#/components/schemas/EsmStateEvent",
            "TRANSACTION_STATE": "#/components/schemas/TransactionStateEvent"
          },
          "propertyName": "class"
        },
        "properties": {
          "apiVersion": {
            "description": "The version of the Electrum Regulated Payments Events API which the event format conforms to i.e. the\nversion of _this_ API.\n",
            "type": "string"
          },
          "class": {
            "description": "The class of the event.",
            "type": "string"
          }
        },
        "required": [
          "apiVersion"
        ],
        "type": "object"
      },
      "BulkEventTransactionInfo": {
        "properties": {
          "rawTransaction": {
            "description": "The raw transaction information, provided in JSON format\n",
            "type": "string"
          },
          "transactionId": {
            "description": "A UUID to identify the transaction\n",
            "format": "UUID",
            "type": "string"
          },
          "transactionState": {
            "description": "The state the transaction is in\n",
            "type": "string"
          },
          "transactionStateUpdated": {
            "description": "The date and time at which the transaction's state was updated\nThe date *must* be formatted as defined by `date-time` in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n",
            "format": "date-time",
            "type": "string"
          },
          "transactionStatusRsp": {
            "description": "A raw JSON object which contains the status of the transaction, if processed to completion\n",
            "type": "string"
          }
        },
        "required": [
          "transactionId",
          "transactionState",
          "transactionStateUpdated",
          "rawTransaction"
        ],
        "type": "object"
      },
      "BulkIndividualTransactionStateEvent": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Event"
          },
          {
            "properties": {
              "bulkInformationId": {
                "description": "A UUID to identify the bulk\n",
                "format": "UUID",
                "type": "string"
              },
              "creationDateTime": {
                "description": "The date and time at which the event was created, in senders local timezone or UTC.\nThe date *must* be formatted as defined by `date-time` in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n",
                "format": "date-time",
                "type": "string"
              },
              "transactionInfo": {
                "$ref": "#/components/schemas/BulkEventTransactionInfo",
                "description": "Information relating to the transaction for which this event is being emitted\n"
              }
            },
            "required": [
              "class",
              "bulkInformationId",
              "creationDateTime",
              "transactionId",
              "transactionState",
              "transactionStateUpdated",
              "rawTransaction"
            ],
            "type": "object"
          }
        ]
      },
      "BulkSchemeName": {
        "description": "Identifies the type of scheme specific data\n",
        "enum": [
          "DISBURSEMENT",
          "COLLECTION"
        ],
        "type": "string"
      },
      "BulkEventBulkInfo": {
        "properties": {
          "bulkFormat": {
            "description": "The format by which this bulk was submitted\n",
            "type": "string"
          },
          "bulkInformationId": {
            "description": "A UUID to identify the bulk\n",
            "format": "UUID",
            "type": "string"
          },
          "bulkScheme": {
            "$ref": "#/components/schemas/BulkSchemeName",
            "description": "The type of Bulk this instruction is associated with, either `COLLECTION` or `DISBURSEMENT`\n"
          },
          "bulkState": {
            "description": "The state the bulk is in when this instruction event was emitted\n",
            "type": "string"
          }
        },
        "required": [
          "bulkInformationId",
          "bulkScheme",
          "bulkFormat",
          "bulkState"
        ],
        "type": "object"
      },
      "BulkEventInstructionInfo": {
        "properties": {
          "instructionReq": {
            "description": "The raw instruction information, provided in JSON format\n",
            "type": "string"
          },
          "instructionRsp": {
            "description": "The raw instruction response information, provided in JSON format\n",
            "type": "string"
          },
          "instructionType": {
            "description": "The type of instruction this event relates to\n",
            "type": "string"
          },
          "lifecycleState": {
            "description": "The state the instruction is in\n",
            "type": "string"
          },
          "lifecycleStateUpdated": {
            "description": "The date and time at which the instruction's lifecycle state was updated\nThe date *must* be formatted as defined by `date-time` in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n",
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "instructionType",
          "lifecycleState",
          "lifecycleStateUpdated",
          "instructionReq"
        ],
        "type": "object"
      },
      "BulkInstructionStateEvent": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Event"
          },
          {
            "properties": {
              "bulkInfo": {
                "$ref": "#/components/schemas/BulkEventBulkInfo",
                "description": "Information pertaining to the bulk that this event relates to\n"
              },
              "creationDateTime": {
                "description": "The date and time at which the event was created, in senders local timezone or UTC.\nThe date *must* be formatted as defined by `date-time` in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n",
                "format": "date-time",
                "type": "string"
              },
              "instructionInfo": {
                "$ref": "#/components/schemas/BulkEventInstructionInfo",
                "description": "Information pertaining to the instruction that this event relates to\n"
              },
              "switchInstanceId": {
                "description": "A UUID to identify the instruction\n",
                "type": "integer"
              }
            },
            "required": [
              "class",
              "creationDateTime",
              "switchInstanceId",
              "bulkInfo",
              "instructionInfo"
            ],
            "type": "object"
          }
        ]
      },
      "RecordIdentifier": {
        "enum": [
          "CREDIT",
          "STOP_ORDER_CREDIT",
          "CONSOLIDATED_UNPAID_CREDIT",
          "UNPAID_CREDIT",
          "CREDIT_RECALL",
          "CREDIT_SEC_REQUEST",
          "CREDIT_SEC_RESPONSE",
          "DEBIT",
          "CONSOLIDATED_UNPAID_DEBIT",
          "UNPAID_DEBIT",
          "DEBIT_SEC_REQUEST",
          "DEBIT_SEC_RESPONSE",
          "DEBIT_RECALL"
        ],
        "type": "string"
      },
      "BaseEsmRecord": {
        "properties": {
          "actionDate": {
            "format": "date",
            "type": "string"
          },
          "amount": {
            "format": "int64",
            "type": "integer"
          },
          "homingAccount": {
            "type": "string"
          },
          "homingAccountName": {
            "type": "string"
          },
          "homingBranch": {
            "type": "string"
          },
          "recordIdentifier": {
            "$ref": "#/components/schemas/RecordIdentifier"
          },
          "sequenceNumber": {
            "type": "integer"
          },
          "userAccount": {
            "type": "string"
          },
          "userBranch": {
            "type": "string"
          },
          "userCode": {
            "type": "string"
          },
          "userReference": {
            "type": "string"
          }
        },
        "required": [
          "recordIdentifier",
          "userBranch",
          "userAccount",
          "userCode",
          "sequenceNumber",
          "homingBranch",
          "homingAccount",
          "actionDate",
          "userReference",
          "homingAccountName"
        ],
        "type": "object"
      },
      "BankServAccountType": {
        "enum": [
          "OTHER",
          "CURRENT",
          "SAVINGS",
          "TRANSMISSION",
          "BOND",
          "SUBSCRIPTION_SHARE"
        ],
        "type": "string"
      },
      "EntryClass": {
        "enum": [
          "CONTRAS",
          "DEBIT_INSURANCE_PREMIUM",
          "DEBIT_PENSION_FUND_CONTRIBUTION",
          "DEBIT_MEDICAL_AID_FUND_CONTRIBUTION",
          "DEBIT_UNIT_TRUST_PURCHASE",
          "DEBIT_CHARITABLE_OR_RELIGIOUS_CONTRIBUTIONS",
          "DEBIT_HP_REPAYMENT",
          "DEBIT_ACCOUNT_REPAYMENT",
          "DEBIT_LOAN_REPAYMENT_OTHER_THAN_MORTGAGE",
          "DEBIT_RENTAL_LEASE_OTHER_THAN_PROPERTY",
          "DEBIT_SERVICE_CHARGE_FIXED_AMOUNTS",
          "DEBIT_SERVICE_CHARGE_VARIABLE_AMOUNTS",
          "DEBIT_VAT_COLLECTION",
          "DEBIT_RENT_PROPERTY",
          "DEBIT_BOND_REPAYMENT",
          "DEBIT_BANK_USE_DEBIT_TRANSFER",
          "DEBIT_BANK_USE_CHEQUE_CARD_DEBITS",
          "DEBIT_BANKSERVAFRICA_USE_ONLY_FINANCIAL_RETURN_OF_DISPUTES_GREATER_THAN_40_DAYS",
          "DEBIT_MUNICIPAL_ACCOUNTS_WATER_AND_LIGHT",
          "DEBIT_MUNICIPAL_ACCOUNTS_RATES",
          "DEBIT_TELEPHONE_ACCOUNTS",
          "DEBIT_BANK_USE_CREDIT_CARD_MERCHANT_ELECTRONIC_FUNDS_TRANSFER",
          "DEBIT_BANK_USE_CREDIT_CARD_HOLDER_ELECTRONIC_FUNDS_TRANSFER",
          "DEBIT_BANK_USE_SERVICE_CHARGE_EXEMPT_FROM_DUTY_AND_SERVICE_FEE",
          "DEBIT_BANK_USE_GARAGE_CARD",
          "DEBIT_BANK_USE_SERVICE_CHARGE",
          "DEBIT_BANKSERVAFRICA_USE_SERVICE_CHARGE",
          "CREDIT_SALARY",
          "CREDIT_PENSION",
          "CREDIT_PAYE",
          "CREDIT_SALARY_DEDUCTION_MORTGAGE_BOND_REPAYMENT",
          "CREDIT_SALARY_DEDUCTION_INSURANCE_PREMIUM",
          "CREDIT_MORTGAGE_BOND_REPAYMENT",
          "CREDIT_VAT_PAYMENT",
          "CREDIT_BANK_USE_MORTGAGE_BOND_SETTLEMENT",
          "CREDIT_SALARY_DEDUCTION_MISCELLANEOUS",
          "CREDIT_ANNUITY",
          "CREDIT_DIVIDEND",
          "CREDIT_INTEREST",
          "CREDIT_TAX_FREE_TRANSFERS",
          "CREDIT_AGENTS_COMMISSION",
          "CREDIT_BANK_USE_CHEQUE_CARD_CREDIT_REVERSALS",
          "CREDIT_INSURANCE_PREMIUM_REFUND",
          "CREDIT_PAYMENT_TO_CREDITOR",
          "CREDIT_PAYMENT_OF_INSURANCE_CLAIMS",
          "CREDIT_MEDICAL_AID_REFUNDS",
          "CREDIT_UNIT_TRUST_REPURCHASE",
          "CREDIT_BANK_USE_CREDIT_TRANSFER",
          "CREDIT_BANKSERVAFRICA_USE_SERVICE_CHARGE",
          "CREDIT_BANKSERVAFRICA_USE_92",
          "CREDIT_BANKSERVAFRICA_USE_93",
          "CREDIT_BANK_USE_CREDIT_CARD_MERCHANT_ELECTRONIC_FUNDS_TRANSFER",
          "CREDIT_BANK_USE_CREDIT_CARD_HOLDER_ELECTRONIC_FUNDS_TRANSFER",
          "CREDIT_BANK_USE_COMMISSION_PAYMENT_GARAGE_CARD",
          "CREDIT_BANK_USE_REFUND_GARAGE_CARD"
        ],
        "type": "string"
      },
      "PaymentRecord": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEsmRecord"
          },
          {
            "properties": {
              "accountType": {
                "$ref": "#/components/schemas/BankServAccountType"
              },
              "entryClass": {
                "$ref": "#/components/schemas/EntryClass"
              },
              "filler1": {
                "type": "string"
              },
              "filler2": {
                "type": "string"
              },
              "filler3": {
                "type": "string"
              },
              "filler4": {
                "type": "string"
              },
              "homingInstitution": {
                "type": "string"
              },
              "nonStandardHomingAccount": {
                "type": "string"
              },
              "schema": {
                "enum": [
                  "PaymentRecord"
                ],
                "type": "string"
              },
              "taxCode": {
                "type": "string"
              }
            },
            "required": [
              "schema",
              "accountType",
              "amount",
              "taxCode",
              "filler1",
              "filler2",
              "nonStandardHomingAccount",
              "filler3",
              "homingInstitution",
              "filler4",
              "entryClass"
            ],
            "type": "object"
          }
        ]
      },
      "ReasonCode": {
        "enum": [
          "NOT_PROVIDED_FOR",
          "DEBITS_OR_CREDITS_NOT_ALLOWED_TO_ACCOUNT",
          "PAYMENT_STOPPED_BY_ACCOUNT_HOLDER",
          "ACCOUNT_FROZEN",
          "ACCOUNT_IN_SEQUESTRATION",
          "ACCOUNT_IN_LIQUIDATION",
          "ACCOUNT_CLOSED",
          "ACCOUNT_TRANSFERRED_WITHIN_BANKING_GROUP",
          "ACCOUNT_TRANSFERRED_TO_OTHER_BANKING_GROUP",
          "ACCOUNT_HOLDER_DECEASED",
          "ACCOUNT_EFFECTS_NOT_CLEARED",
          "NO_SUCH_ACCOUNT",
          "RECALL_RESULT",
          "RECALL_REQUEST",
          "NO_AUTHORITY_TO_DEBIT_OR_CREDIT",
          "UNRECOGNIZED_INITIATING_PARTY",
          "DEBIT_IN_CONTRAVENTION_OF_PAYER_AUTHORITY",
          "NOT_UNIQUE_TRANSACTION_REFERENCE",
          "AUTHORIZATION_CANCELLED",
          "PREVIOUSLY_STOPPED_VIA_STOP_PAYMENT_ADVICE",
          "RESERVED_FOR_FUTURE_USE",
          "NOT_FICA_COMPLIANT",
          "SEC_SUCCESSFUL",
          "SEC_NO_MATCH_FOUND",
          "SEC_ALREADY_RETURNED_AS_UNPAID",
          "SEC_ALREADY_RETURNED_AS_DISPUTED"
        ],
        "type": "string"
      },
      "RecallOutputRecord": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEsmRecord"
          },
          {
            "properties": {
              "accountType": {
                "type": "integer"
              },
              "entryClass": {
                "type": "integer"
              },
              "filler1": {
                "type": "integer"
              },
              "filler2": {
                "type": "string"
              },
              "homingInstitution": {
                "type": "integer"
              },
              "originalSubAccount": {
                "type": "string"
              },
              "originalSubAccountHolder": {
                "type": "string"
              },
              "reasonCode": {
                "$ref": "#/components/schemas/ReasonCode"
              },
              "schema": {
                "enum": [
                  "RecallOutputRecord"
                ],
                "type": "string"
              },
              "taxCode": {
                "type": "integer"
              }
            },
            "required": [
              "schema",
              "accountType",
              "reasonCode",
              "entryClass"
            ],
            "type": "object"
          }
        ]
      },
      "SecRequestRecord": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEsmRecord"
          },
          {
            "properties": {
              "accountType": {
                "type": "integer"
              },
              "directSubmitterCode": {
                "type": "string"
              },
              "entryClass": {
                "type": "integer"
              },
              "filler1": {
                "type": "integer"
              },
              "filler2": {
                "type": "integer"
              },
              "filler3": {
                "type": "string"
              },
              "filler4": {
                "type": "string"
              },
              "homingInstitution": {
                "type": "integer"
              },
              "nonStandardHomingAccount": {
                "type": "string"
              },
              "schema": {
                "enum": [
                  "SecRequestRecord"
                ],
                "type": "string"
              },
              "taxCode": {
                "type": "integer"
              }
            },
            "required": [
              "schema",
              "accountType",
              "amount",
              "nonStandardHomingAccount",
              "directSubmitterCode",
              "filler3",
              "filler4",
              "entryClass"
            ],
            "type": "object"
          }
        ]
      },
      "SecResponseRecord": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEsmRecord"
          },
          {
            "properties": {
              "accountConditionResponse": {
                "$ref": "#/components/schemas/ReasonCode"
              },
              "accountType": {
                "type": "integer"
              },
              "directSubmitterCode": {
                "type": "string"
              },
              "entryClass": {
                "type": "integer"
              },
              "filler1": {
                "type": "integer"
              },
              "filler2": {
                "type": "string"
              },
              "filler3": {
                "type": "string"
              },
              "filler4": {
                "type": "string"
              },
              "homingInstitution": {
                "type": "integer"
              },
              "schema": {
                "enum": [
                  "SecResponseRecord"
                ],
                "type": "string"
              },
              "taxCode": {
                "type": "integer"
              }
            },
            "required": [
              "schema",
              "accountType",
              "amount",
              "accountConditionResponse",
              "filler2",
              "directSubmitterCode",
              "filler3",
              "filler4",
              "entryClass"
            ],
            "type": "object"
          }
        ]
      },
      "BaseEsmUnpaidRecord": {
        "properties": {
          "effectiveActionDate": {
            "description": "The date at which the transaction should take effect.\nThe date *must* be formatted as defined by `date-time` in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n",
            "format": "date",
            "type": "string"
          },
          "filler1": {
            "type": "integer"
          },
          "newSequenceNumber": {
            "type": "integer"
          },
          "originalAccountType": {
            "type": "integer"
          },
          "originalActionDate": {
            "description": "The date at which the transaction should take effect.\nThe date *must* be formatted as defined by `date-time` in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n",
            "format": "date",
            "type": "string"
          },
          "originalAmount": {
            "type": "integer"
          },
          "originalEntryClass": {
            "type": "integer"
          },
          "originalHomingAccountName": {
            "type": "string"
          },
          "originalHomingInstitution": {
            "type": "integer"
          },
          "originalSequenceNumber": {
            "type": "integer"
          },
          "originalTaxCode": {
            "type": "integer"
          },
          "originalUserReference": {
            "type": "string"
          },
          "reasonCode": {
            "$ref": "#/components/schemas/ReasonCode"
          },
          "recordIdentifier": {
            "$ref": "#/components/schemas/RecordIdentifier"
          }
        },
        "required": [
          "recordIdentifier",
          "originalSequenceNumber",
          "originalAccountType",
          "originalActionDate",
          "originalEntryClass",
          "reasonCode",
          "originalUserReference",
          "originalHomingAccountName",
          "effectiveActionDate",
          "newSequenceNumber"
        ],
        "type": "object"
      },
      "BaseEsmUnpaidInputRecord": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEsmUnpaidRecord"
          },
          {
            "properties": {
              "bankSuspenseAccount": {
                "type": "string"
              },
              "bankSuspenseBranch": {
                "type": "string"
              },
              "filler2": {
                "type": "string"
              },
              "originalBranchCode": {
                "type": "string"
              },
              "originalHomingAccount": {
                "type": "string"
              },
              "originalHomingBranch": {
                "type": "string"
              },
              "originalUserAccount": {
                "type": "string"
              },
              "originalUserCode": {
                "type": "string"
              }
            },
            "required": [
              "originalBranchCode",
              "originalUserAccount",
              "originalUserCode",
              "originalHomingBranch",
              "originalHomingAccount",
              "bankSuspenseBranch",
              "bankSuspenseAccount"
            ],
            "type": "object"
          }
        ]
      },
      "SecUnpaidInputRecord": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEsmUnpaidInputRecord"
          },
          {
            "properties": {
              "nonStandardHomingAccount": {
                "type": "string"
              },
              "schema": {
                "enum": [
                  "SecUnpaidInputRecord"
                ],
                "type": "string"
              }
            },
            "required": [
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "UnpaidInputRecord": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEsmUnpaidInputRecord"
          },
          {
            "properties": {
              "newAccountType": {
                "type": "integer"
              },
              "newHomingAccount": {
                "type": "string"
              },
              "newHomingBranch": {
                "type": "string"
              },
              "schema": {
                "enum": [
                  "UnpaidInputRecord"
                ],
                "type": "string"
              }
            },
            "required": [
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "UnpaidOutputRecord": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseEsmUnpaidRecord"
          },
          {
            "properties": {
              "filler2": {
                "type": "string"
              },
              "filler3": {
                "type": "string"
              },
              "filler4": {
                "type": "string"
              },
              "filler5": {
                "type": "string"
              },
              "newAccount": {
                "type": "string"
              },
              "newAccountType": {
                "type": "string"
              },
              "newBranch": {
                "type": "string"
              },
              "originalHomingAccount": {
                "type": "string"
              },
              "originalHomingBranch": {
                "type": "string"
              },
              "originalUserAccount": {
                "type": "string"
              },
              "originalUserBranch": {
                "type": "string"
              },
              "schema": {
                "enum": [
                  "UnpaidOutputRecord"
                ],
                "type": "string"
              },
              "userCode": {
                "type": "string"
              }
            },
            "required": [
              "schema",
              "originalHomingBranch",
              "originalHomingAccount",
              "userCode",
              "originalUserBranch",
              "originalUserAccount"
            ],
            "type": "object"
          }
        ]
      },
      "EventEsmPayload": {
        "discriminator": {
          "mapping": {
            "PaymentRecord": "#/components/schemas/PaymentRecord",
            "RecallOutputRecord": "#/components/schemas/RecallOutputRecord",
            "SecRequestRecord": "#/components/schemas/SecRequestRecord",
            "SecResponseRecord": "#/components/schemas/SecResponseRecord",
            "SecUnpaidInputRecord": "#/components/schemas/SecUnpaidInputRecord",
            "UnpaidInputRecord": "#/components/schemas/UnpaidInputRecord",
            "UnpaidOutputRecord": "#/components/schemas/UnpaidOutputRecord"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/PaymentRecord"
          },
          {
            "$ref": "#/components/schemas/RecallOutputRecord"
          },
          {
            "$ref": "#/components/schemas/SecRequestRecord"
          },
          {
            "$ref": "#/components/schemas/SecResponseRecord"
          },
          {
            "$ref": "#/components/schemas/SecUnpaidInputRecord"
          },
          {
            "$ref": "#/components/schemas/UnpaidInputRecord"
          },
          {
            "$ref": "#/components/schemas/UnpaidOutputRecord"
          }
        ],
        "type": "object"
      },
      "EventEsmIdentifiers": {
        "description": "Holds a series of identifiers to identify the transaction or an individual message that is part of a transaction.\n",
        "properties": {
          "endToEndIdentification": {
            "description": "Unique identification, as assigned by the initiating party, to unambiguously identify the\ntransaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.\n",
            "maxLength": 35,
            "type": "string"
          },
          "matchingKey": {
            "description": "A unique identifier that is used to identify an EFT record. This field is computed using the fields in the\nEFT record.\n",
            "maxLength": 64,
            "type": "string"
          },
          "transactionIdentification": {
            "description": "Unique identification, as assigned by the first instructing agent, to unambiguously identify the\ntransaction that is passed on, unchanged, throughout the entire interbank chain.\nUsage: The transaction identification can be used for reconciliation, tracking or to link tasks relating to the transaction on the interbank level.\nUsage: The instructing agent has to make sure that the transaction identification is unique for a pre- agreed period.\n",
            "maxLength": 35,
            "type": "string"
          },
          "uetr": {
            "description": "Universally unique identifier to provide an end-to-end reference.\nThis identifier remains the same for all messages related to the same transaction.\n",
            "format": "UUID",
            "type": "string"
          }
        },
        "required": [
          "uetr",
          "endToEndIdentification",
          "transactionIdentification"
        ],
        "type": "object"
      },
      "EventEsmState": {
        "properties": {
          "financialTransactionState": {
            "description": "The state of the financial transaction for the given transaction.\n",
            "enum": [
              "IN_PROGRESS",
              "ACTIONED",
              "UNPAID",
              "ERROR",
              "UNMATCHED"
            ],
            "type": "string"
          },
          "transactionState": {
            "description": "The state of the given transaction.\n",
            "enum": [
              "RECEIVE_PENDING",
              "RECEIVED",
              "RECEIVE_ERROR",
              "CANCELLED",
              "SEND_PENDING",
              "SENT",
              "SEND_ERROR",
              "ON_HOLD"
            ],
            "type": "string"
          }
        },
        "required": [
          "transactionState",
          "financialTransactionState"
        ],
        "type": "object"
      },
      "EventEsmTransactionInfo": {
        "properties": {
          "direction": {
            "description": "Indicates the direction of the payment, from the perspective of Electrum and the Partner.\n",
            "enum": [
              "INBOUND",
              "OUTBOUND",
              "ON_US"
            ],
            "type": "string"
          },
          "paymentType": {
            "description": "Enumerates the specific transaction processing event being emitted.\n",
            "enum": [
              "CREDIT",
              "DEBIT"
            ],
            "type": "string"
          },
          "recordType": {
            "enum": [
              "PAYMENT",
              "UNPAID_INPUT",
              "UNPAID_OUTPUT",
              "RECALL_OUTPUT",
              "SEC_REQUEST",
              "SEC_RESPONSE",
              "SEC_UNPAID_INPUT",
              "HOMED_BACK"
            ],
            "type": "string"
          },
          "returnType": {
            "description": "Indicates the cause of an unpaid/payment return.",
            "enum": [
              "DISPUTE",
              "UNPAID",
              "HOME_BACK",
              "SEC_SUCCESSFUL",
              "RECALL_RESULT"
            ],
            "type": "string"
          },
          "subService": {
            "enum": [
              "SAME_DAY",
              "ONE_DAY",
              "TWO_DAY",
              "RECALLS",
              "SYSTEM_ERROR_CORRECTION",
              "SYSTEM_ERROR_CORRECTION_RESPONSE"
            ],
            "type": "string"
          }
        },
        "required": [
          "recordType",
          "paymentType",
          "direction",
          "subService"
        ],
        "type": "object"
      },
      "EsmStateEvent": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Event"
          },
          {
            "description": "An event that indicates a state change of the ESM for a given transaction. An event contains information\nAn event that indicates a state change of the ESM for a given transaction. An event contains information\nregarding the ESM's view of a given transaction as the state of the transaction changes.\n",
            "properties": {
              "actionDate": {
                "description": "The date at which the transaction should take effect.\nThe date *must* be formatted as defined by `date-time` in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n",
                "format": "date",
                "type": "string"
              },
              "creationDateTime": {
                "description": "The date and time at which the event was created, in senders local timezone or UTC.\nThe date *must* be formatted as defined by `date-time` in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n",
                "format": "date-time",
                "type": "string"
              },
              "eftDataRecord": {
                "$ref": "#/components/schemas/EventEsmPayload"
              },
              "identifiers": {
                "$ref": "#/components/schemas/EventEsmIdentifiers"
              },
              "state": {
                "$ref": "#/components/schemas/EventEsmState"
              },
              "transactionInfo": {
                "$ref": "#/components/schemas/EventEsmTransactionInfo"
              }
            },
            "required": [
              "class",
              "identifiers",
              "creationDateTime",
              "actionDate",
              "transactionInfo",
              "state"
            ],
            "type": "object"
          }
        ]
      },
      "EventMessageInfo": {
        "description": "Message-specific properties of the event. These are populated on a best-effort basis.",
        "properties": {
          "creationDateTime": {
            "description": "The date and time at which the message was created, in senders local timezone or UTC.\nThe date *must* be formatted as defined by `date-time` in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n",
            "format": "date-time",
            "type": "string"
          },
          "httpStatusCode": {
            "description": "The HTTP status code associated with this message of this event.",
            "type": "integer"
          },
          "messageIdentification": {
            "description": "A reference used to unambiguously identify the message between the sending and receiving party.\nTake note that this uniquely identifies a single message in a potentially multi-message exchange to complete a payment.\n",
            "maxLength": 35,
            "type": "string"
          }
        },
        "type": "object"
      },
      "MessageIdentifiers": {
        "description": "Holds a point-to-point unique message identification string as well as a message's creation date time.\n",
        "properties": {
          "creationDateTime": {
            "description": "The date and time at which the message was created, in senders local timezone or UTC.\nThe date *must* be formatted as defined by `date-time` in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n",
            "format": "date-time",
            "type": "string"
          },
          "messageIdentification": {
            "description": "A reference used to unambiguously identify the message between the sending and receiving party.\nTake note that this uniquely identifies a single message in a potentially multi-message exchange to complete a payment.\n",
            "maxLength": 35,
            "type": "string"
          }
        },
        "required": [
          "messageIdentification",
          "creationDateTime"
        ],
        "type": "object"
      },
      "SupplementaryData": {
        "additionalProperties": {
          "type": "string"
        },
        "description": "A list of key-value pairs to support adding any supplementary/additional data to an Electrum Regulated Payments API message.\n",
        "type": "object"
      },
      "BaseMessage": {
        "description": "A model containing the foundational elements shared across messages and generally expected in a message used\nduring processing with the Electrum Regulated Payments API.\n",
        "properties": {
          "messageIdentifiers": {
            "$ref": "#/components/schemas/MessageIdentifiers"
          },
          "supplementaryData": {
            "$ref": "#/components/schemas/SupplementaryData"
          }
        },
        "required": [
          "messageIdentifiers"
        ],
        "type": "object"
      },
      "CustomIdentifier": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NonBankingIdentifier"
          },
          {
            "properties": {
              "value": {
                "maxLength": 2048,
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "value"
            ],
            "type": "object"
          }
        ]
      },
      "NonBankingIdentifier": {
        "discriminator": {
          "mapping": {
            "CUSTOM": "#/components/schemas/CustomIdentifier",
            "MOBILE": "#/components/schemas/MobileNumberIdentifier"
          },
          "propertyName": "schema"
        },
        "properties": {
          "namespace": {
            "description": "An identifier's namespace provides a context for the identifier to distinguish different identifiers which\nmay have the same value but be intended to identify different accounts. For example, a bank may use the same\nMSISDN (identifier) with different namespaces to distinguish between a customer's cheque or savings accounts.\n\nThis may be used by the following schemes:\n  - ZA_RPP\n",
            "maxLength": 40,
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "description": "Indicates the schema of the identifier, e.g. `MOBILE`, `CUSTOM`.",
            "type": "string"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "PhoneNumber": {
        "pattern": "^\\+[0-9]{1,3}-[0-9()+\\-]{1,30}$",
        "type": "string"
      },
      "MobileNumberIdentifier": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NonBankingIdentifier"
          },
          {
            "properties": {
              "value": {
                "$ref": "#/components/schemas/PhoneNumber"
              }
            },
            "required": [
              "value"
            ],
            "type": "object"
          }
        ]
      },
      "FinancialInstitutionIdentifier": {
        "properties": {
          "bicfi": {
            "description": "A code allocated to a financial or non-financial institution by the ISO 9362 Registration Authority as\ndescribed in ISO 9362 Banking - Banking telecommunication messages - Business identifier code (BIC)\n",
            "pattern": "^[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}$",
            "type": "string"
          },
          "memberId": {
            "description": "Identification of a member of a clearing system.",
            "maxLength": 35,
            "type": "string"
          },
          "namespaces": {
            "items": {
              "description": "An identifier's namespace provides a context for the identifier to distinguish different identifiers which\nmay have the same value but be intended to identify different accounts. For example, a bank may use the same\nMSISDN (identifier) with different namespaces to distinguish between a customer's cheque or savings accounts.\n\nThis may be used by the following schemes:\n  - ZA_RPP\n",
              "maxLength": 40,
              "minLength": 1,
              "type": "string"
            },
            "type": "array"
          },
          "schema": {
            "description": "Indicates the account identifier is a Financial Institution Identifier, always `FII`",
            "type": "string"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "ExternalAccountIdentificationCode": {
        "description": "* `AIIN`: Issuer Identification Number - identifies a card issuing institution in an international interchange environment. Issued by ABA (American Bankers Association).\n* `BBAN`: Basic Bank Account Number - identifier used nationally by financial institutions, ie, in individual countries, generally as part of a National Account Numbering Scheme(s), to uniquely identify the account of a customer.\n* `CUID`: (United States) Clearing House Interbank Payments System (CHIPS) Universal Identification (UID) - identifies entities that own accounts at CHIPS participating financial institutions, through which CHIPS payments are effected. The CHIPS UID is assigned by the New York Clearing House.\n* `UPIC`: Universal Payment Identification Code - identifier used by the New York Clearing House to mask confidential data, such as bank accounts and bank routing numbers. UPIC numbers remain with business customers, regardless of banking relationship changes.\n",
        "enum": [
          "AIIN",
          "BBAN",
          "CUID",
          "UPIC"
        ],
        "type": "string"
      },
      "GenericAccountIdentificationSchemeCode": {
        "properties": {
          "schema": {
            "description": "Identifies the value as being a pre-defined code. Always `CODE`.",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/ExternalAccountIdentificationCode"
          }
        },
        "required": [
          "value",
          "schema"
        ],
        "type": "object"
      },
      "ProprietaryValueLiteral": {
        "description": "A proprietary value.",
        "maxLength": 35,
        "type": "string"
      },
      "ProprietaryValue": {
        "description": "A model that describes a proprietary value assigned by some party, the purpose of which is to provide for the\npossibility of parties using values that are not standardised.\n",
        "properties": {
          "schema": {
            "description": "Identifies the value as being proprietary (i.e. not published in an external list). Always `PROPRIETARY`\n",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/ProprietaryValueLiteral"
          }
        },
        "required": [
          "value",
          "schema"
        ],
        "type": "object"
      },
      "GenericAccountIdentificationScheme": {
        "description": "Identifies the scheme that defines the identification of a generic account.",
        "discriminator": {
          "mapping": {
            "CODE": "#/components/schemas/GenericAccountIdentificationSchemeCode",
            "PROPRIETARY": "#/components/schemas/ProprietaryValue"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/GenericAccountIdentificationSchemeCode"
          },
          {
            "$ref": "#/components/schemas/ProprietaryValue"
          }
        ],
        "type": "object"
      },
      "GenericAccountIdentifier": {
        "properties": {
          "issuer": {
            "description": "The entity that assigns the identification",
            "maxLength": 35,
            "type": "string"
          },
          "schema": {
            "description": "Identifies this account identifier as generic, always `GENERIC`",
            "type": "string"
          },
          "scheme": {
            "$ref": "#/components/schemas/GenericAccountIdentificationScheme"
          },
          "value": {
            "maxLength": 40,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "schema",
          "value"
        ],
        "type": "object"
      },
      "IBAN": {
        "description": "An identifier used internationally by financial institutions to uniquely identify the account of a customer at\na financial institution, as described in the latest edition of the international standard ISO 13616: 2007\n",
        "pattern": "[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}",
        "type": "string"
      },
      "IBANIdentifier": {
        "properties": {
          "schema": {
            "description": "Indicates the account identifier is an IBAN, always `IBAN`",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/IBAN"
          }
        },
        "required": [
          "schema",
          "value"
        ],
        "type": "object"
      },
      "AccountIdentifier": {
        "discriminator": {
          "mapping": {
            "CUSTOM": "#/components/schemas/CustomIdentifier",
            "FII": "#/components/schemas/FinancialInstitutionIdentifier",
            "GENERIC": "#/components/schemas/GenericAccountIdentifier",
            "IBAN": "#/components/schemas/IBANIdentifier",
            "MOBILE": "#/components/schemas/MobileNumberIdentifier"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/IBANIdentifier"
          },
          {
            "$ref": "#/components/schemas/GenericAccountIdentifier"
          },
          {
            "$ref": "#/components/schemas/MobileNumberIdentifier"
          },
          {
            "$ref": "#/components/schemas/CustomIdentifier"
          },
          {
            "$ref": "#/components/schemas/FinancialInstitutionIdentifier"
          }
        ],
        "type": "object"
      },
      "PaymentSchemeName": {
        "description": "Identifies the scheme used for the payment\n* `ZA_RTC`: South African Realtime Clearing scheme.\n* `ZA_RPP`: South African Realtime Payments Platform scheme.\n* `ZA_EFT`: South African Electronic Funds Transfer scheme.\n* `ZA_AC` : South African Authenticated Collections scheme.\n* `ZA_RMS`: South African Registered Mandate Service scheme.\n* `CBPR_PLUS`: Cross-Border Payments and Reporting Plus.\n* `TCIB`: Transactions Cleared on an Immediate Basis scheme.\n* `ZA_AVS`: South African Account Verification Service.\n",
        "enum": [
          "ZA_RTC",
          "ZA_RPP",
          "ZA_EFT",
          "ZA_AC",
          "ZA_RMS",
          "CBPR_PLUS",
          "TCIB",
          "ZA_AVS"
        ],
        "type": "string"
      },
      "AccountIdentification": {
        "description": "Holds details pertaining to an identifier of an account or store of value.",
        "properties": {
          "accountKnownAs": {
            "description": "A name or label of the account.",
            "maxLength": 40,
            "type": "string"
          },
          "identifier": {
            "$ref": "#/components/schemas/AccountIdentifier"
          },
          "registeredSchemes": {
            "description": "The list of schemes with which the identifier is registered.",
            "items": {
              "$ref": "#/components/schemas/PaymentSchemeName"
            },
            "type": "array"
          }
        },
        "required": [
          "identifier"
        ],
        "type": "object"
      },
      "AccountAdditionalIdUpdateRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseMessage"
          },
          {
            "properties": {
              "additionalIdentification": {
                "$ref": "#/components/schemas/AccountIdentification"
              },
              "currentIdentification": {
                "$ref": "#/components/schemas/AccountIdentification"
              },
              "schema": {
                "enum": [
                  "AccountAdditionalIdUpdateRequest"
                ],
                "type": "string"
              }
            },
            "required": [
              "currentIdentification",
              "additionalIdentification",
              "schema"
            ],
            "type": "object"
          }
        ],
        "description": "A request containing information that will be used to update the additional ID particulars stored for the given\nAccount. The account to be updated is identified by the `currentIdentification` field.\n"
      },
      "CurrencyCode": {
        "description": "A valid, active currency code as defined in ISO 4217 indicating the currency of the amount.\n",
        "pattern": "^[A-Z]{3}$",
        "type": "string"
      },
      "Restriction": {
        "properties": {
          "restrictionType": {
            "description": "A value that represents the type of this restriction. Used for processing purposes.",
            "enum": [
              "NO_CREDITS",
              "NO_DEBITS"
            ],
            "type": "string"
          },
          "validFrom": {
            "description": "The moment in time from which (i.e. at this point and after) the restriction is applicable.\n",
            "format": "date-time",
            "type": "string"
          },
          "validUntil": {
            "description": "The moment in time from which (i.e. after this point) the restriction is no longer applicable.\n",
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "restrictionType",
          "validFrom"
        ],
        "type": "object"
      },
      "AccountStatusCode": {
        "description": "A set of codes that describe the status of an account",
        "enum": [
          "ENABLED",
          "DISABLED",
          "DELETED"
        ],
        "type": "string"
      },
      "ExternalCashAccountType1Code": {
        "description": "* `CACC` : Current - Account used to post debits and credits when no specific account has been nominated.\n* `CARD` : Card Account - Account used for credit card payments.\n* `CASH` : Cash Payment - Account used for the payment of cash.\n* `CHAR` : Charges - Account used for charges if different from the account for payment.\n* `CISH` : Cash Income - Account used for payment of income if different from the current cash account.\n* `COMM` : Commission - Account used for commission if different from the account  for payment.\n* `CPAC` : Clearing Participant Settlement Account - Account used to post settlement debit and credit entries on behalf of a designated Clearing Participant.\n* `LLSV` : Limited Liquidity Savings Account - Account used for savings with special interest and withdrawal terms.\n* `LOAN` : Loan - Account used for loans.\n* `MGLD` : Marginal Lending - Account used for a marginal lending facility.\n* `MOMA` : Money Market - Account used for money markets if different from the cash account.\n* `NREX` : Non-Resident External - Account used for non-resident external.\n* `ODFT` : Overdraft - Account is used for overdrafts.\n* `ONDP` : Overnight Deposit - Account used for overnight deposits.\n* `OTHR` : Other Account - Account not otherwise specified.\n* `SACC` : Settlement - Account used to post debit and credit entries, as a result of transactions cleared and settled through a specific clearing and settlement system.\n* `SLRY` : Salary - Accounts used for salary payments.\n* `SVGS` : Savings - Account used for savings.\n* `TAXE` : Tax - Account used for taxes if different from the account for payment.\n* `TRAN` : Transacting Account - A transacting account is the most basic type of bank account that you can get. The main difference between transaction and cheque accounts is that you usually do not get a cheque book with your transacting account and neither are you offered an overdraft facility.\n* `TRAS` : Cash Trading - Account used for trading if different from the current cash account.\n",
        "enum": [
          "CACC",
          "CARD",
          "CASH",
          "CHAR",
          "CISH",
          "COMM",
          "CPAC",
          "LLSV",
          "LOAN",
          "MGLD",
          "MOMA",
          "NREX",
          "ODFT",
          "ONDP",
          "OTHR",
          "SACC",
          "SLRY",
          "SVGS",
          "TAXE",
          "TRAN",
          "TRAS"
        ],
        "type": "string"
      },
      "AccountTypeCode": {
        "properties": {
          "schema": {
            "description": "Identifies the value as being a pre-defined code. Always `CODE`.",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/ExternalCashAccountType1Code"
          }
        },
        "required": [
          "value",
          "schema"
        ],
        "type": "object"
      },
      "AccountType": {
        "discriminator": {
          "mapping": {
            "CODE": "#/components/schemas/AccountTypeCode",
            "PROPRIETARY": "#/components/schemas/ProprietaryValue"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/AccountTypeCode"
          },
          {
            "$ref": "#/components/schemas/ProprietaryValue"
          }
        ],
        "type": "object"
      },
      "Account": {
        "description": "An account within the Electrum Account mirror. Note that the `primaryIdentification` is permanent and immutable.",
        "properties": {
          "accountName": {
            "maxLength": 70,
            "type": "string"
          },
          "additionalIdentifications": {
            "items": {
              "$ref": "#/components/schemas/AccountIdentification"
            },
            "type": "array"
          },
          "currency": {
            "$ref": "#/components/schemas/CurrencyCode"
          },
          "openingDate": {
            "description": "Date and time at which the account was established.\n",
            "format": "date-time",
            "type": "string"
          },
          "primaryIdentification": {
            "$ref": "#/components/schemas/AccountIdentification"
          },
          "restrictions": {
            "items": {
              "$ref": "#/components/schemas/Restriction"
            },
            "type": "array"
          },
          "status": {
            "$ref": "#/components/schemas/AccountStatusCode"
          },
          "type": {
            "$ref": "#/components/schemas/AccountType"
          }
        },
        "required": [
          "primaryIdentification"
        ]
      },
      "AccountOwner": {
        "description": "Contains information detailing the owner of an account, which can be either a person or organisation.\n",
        "discriminator": {
          "mapping": {
            "INDIVIDUAL": "#/components/schemas/PersonAccountOwner",
            "ORGANISATION": "#/components/schemas/OrganisationAccountOwner"
          },
          "propertyName": "schema"
        },
        "properties": {
          "recordIdentifier": {
            "description": "A unique identifier used to identify this Account Owner record. This is distinct from the identification\nof the Account Owner, which may or may not be unique within this system, but which is typically used for\nidentification outside of the system, such as passport numbers or national identification numbers. This\nidentifier is used exclusively to identify the owner within this system.\n",
            "maxLength": 50,
            "minLength": 1,
            "type": "string"
          },
          "schema": {
            "description": "Defines the type of owner.",
            "enum": [
              "ORGANISATION",
              "INDIVIDUAL"
            ],
            "type": "string"
          }
        },
        "required": [
          "schema",
          "recordIdentifier"
        ],
        "type": "object"
      },
      "AddressTypeCode": {
        "description": "* `ADDR`: A postal address.\n* `PBOX`: A postal office (PO) box address.\n* `HOME`: A (residential) home address.\n* `BIZZ`: A business address.\n* `MLTO`: Address to which mail is sent.\n* `DLVY`: Address to which delivery is to take place\n",
        "enum": [
          "ADDR",
          "PBOX",
          "HOME",
          "BIZZ",
          "MLTO",
          "DLVY"
        ],
        "type": "string"
      },
      "CountryCode": {
        "description": "A code to identify a country, a dependency, or another area of particular geopolitical interest,\non the basis of country names obtained from the United Nations (ISO 3166, Alpha-2 code).\n",
        "pattern": "[A-Z]{2,2}",
        "type": "string"
      },
      "PostalAddress": {
        "properties": {
          "addressLine": {
            "items": {
              "maxLength": 70,
              "minLength": 1,
              "type": "string"
            },
            "maxItems": 7,
            "minItems": 0,
            "type": "array"
          },
          "addressType": {
            "$ref": "#/components/schemas/AddressTypeCode"
          },
          "buildingName": {
            "maxLength": 35,
            "minLength": 1,
            "type": "string"
          },
          "buildingNumber": {
            "maxLength": 16,
            "minLength": 1,
            "type": "string"
          },
          "country": {
            "$ref": "#/components/schemas/CountryCode"
          },
          "countrySubDivision": {
            "maxLength": 35,
            "minLength": 1,
            "type": "string"
          },
          "department": {
            "maxLength": 70,
            "minLength": 1,
            "type": "string"
          },
          "districtName": {
            "maxLength": 35,
            "minLength": 1,
            "type": "string"
          },
          "floor": {
            "maxLength": 70,
            "minLength": 1,
            "type": "string"
          },
          "postBox": {
            "maxLength": 16,
            "minLength": 1,
            "type": "string"
          },
          "postCode": {
            "maxLength": 16,
            "minLength": 1,
            "type": "string"
          },
          "room": {
            "maxLength": 70,
            "minLength": 1,
            "type": "string"
          },
          "streetName": {
            "maxLength": 70,
            "minLength": 1,
            "type": "string"
          },
          "subDepartment": {
            "maxLength": 70,
            "minLength": 1,
            "type": "string"
          },
          "townLocationName": {
            "maxLength": 35,
            "minLength": 1,
            "type": "string"
          },
          "townName": {
            "maxLength": 35,
            "minLength": 1,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ContactDetails": {
        "properties": {
          "emailAddress": {
            "format": "email",
            "type": "string"
          },
          "mobileNumber": {
            "$ref": "#/components/schemas/PhoneNumber"
          },
          "phoneNumber": {
            "$ref": "#/components/schemas/PhoneNumber"
          }
        },
        "type": "object"
      },
      "PersonIdentificationCode": {
        "properties": {
          "schema": {
            "description": "Identifies the value as being a pre-defined code. Always `CODE`.",
            "type": "string"
          },
          "value": {
            "description": "* `ARNU`: AlienRegistrationNumber. A number assigned by a social security agency to identify a non-resident person.\n* `BANK`: BankPartyIdentification. Unique and unambiguous identification of a person using bank account number.\n* `CCPT`: PassportNumber. A number assigned by an authority to identify the passport number of a person.\n* `CUST`: CustomerIdentificationNumber. A number assigned by an issuer to identify a customer.\n* `DRLC`: DriversLicenseNumber. A number assigned by an authority to identify a driver's license.\n* `EMPL`: EmployeeIdentificationNumber. A number assigned by a registration authority to an employee.\n* `NIDN`: NationalIdentityNumber. A number assigned by an authority to identify the national identity number of a person.\n* `SOSE`: SocialSecurityNumber. A number assigned by an authority to identify the social security number of a person.\n* `TELE`: TelephoneNumber. A number assigned by a telephone or mobile phone operator to identify a person. A person may have multiple phone numbers.\n* `TXID`: TaxIdentificationNumber. A number assigned by a tax authority to identify a person.\n* `POID`: PersonOtherIdentification. Other identification of the person.\n",
            "enum": [
              "ARNU",
              "BANK",
              "CCPT",
              "CUST",
              "DRLC",
              "EMPL",
              "NIDN",
              "SOSE",
              "TELE",
              "TXID",
              "POID"
            ],
            "type": "string"
          }
        },
        "required": [
          "value",
          "schema"
        ],
        "type": "object"
      },
      "PersonIdentifierScheme": {
        "discriminator": {
          "mapping": {
            "CODE": "#/components/schemas/PersonIdentificationCode",
            "PROPRIETARY": "#/components/schemas/ProprietaryValue"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/PersonIdentificationCode"
          },
          {
            "$ref": "#/components/schemas/ProprietaryValue"
          }
        ],
        "type": "object"
      },
      "PersonIdentifier": {
        "properties": {
          "identification": {
            "description": "Unique and unambiguous identification of a person, for example a passport.\n",
            "maxLength": 35,
            "type": "string"
          },
          "issuer": {
            "description": "The entity that assigns the identification",
            "maxLength": 35,
            "type": "string"
          },
          "scheme": {
            "$ref": "#/components/schemas/PersonIdentifierScheme"
          }
        },
        "required": [
          "identification"
        ],
        "type": "object"
      },
      "PersonName": {
        "description": "Name of the person.\n",
        "properties": {
          "additionalNames": {
            "description": "Additional names of the person.\n",
            "maxLength": 140,
            "type": "string"
          },
          "firstName": {
            "description": "Given name of the person.\n",
            "maxLength": 70,
            "type": "string"
          },
          "initials": {
            "description": "Initials of the person.\n",
            "maxLength": 70,
            "type": "string"
          },
          "knownAs": {
            "description": "A name that the person is known by.\n",
            "maxLength": 70,
            "type": "string"
          },
          "lastName": {
            "description": "Family name of the person.\n",
            "maxLength": 70,
            "type": "string"
          },
          "title": {
            "description": "Title of the person.\n",
            "maxLength": 70,
            "type": "string"
          }
        },
        "required": [
          "knownAs"
        ],
        "type": "object"
      },
      "PersonAccountOwner": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountOwner"
          },
          {
            "properties": {
              "address": {
                "$ref": "#/components/schemas/PostalAddress"
              },
              "contactDetails": {
                "$ref": "#/components/schemas/ContactDetails"
              },
              "countryOfResidence": {
                "$ref": "#/components/schemas/CountryCode"
              },
              "identifiers": {
                "items": {
                  "$ref": "#/components/schemas/PersonIdentifier"
                },
                "type": "array"
              },
              "name": {
                "$ref": "#/components/schemas/PersonName"
              }
            },
            "type": "object"
          }
        ],
        "description": "Contains information detailing an account owner who is a natural person.\n"
      },
      "OrganisationIdentifierBic": {
        "description": "An organisation identified by a code allocated to a financial or non-financial institution by the ISO 9362\nRegistration Authority, as described in ISO 9362: 2014 - Banking - Banking telecommunication messages -\nBusiness identifier code (BIC).\n",
        "properties": {
          "BIC": {
            "pattern": "[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}",
            "type": "string"
          },
          "schema": {
            "description": "Indicates the identifier as a BIC organisation identifier, always `BIC`",
            "type": "string"
          }
        },
        "required": [
          "BIC",
          "schema"
        ],
        "type": "object"
      },
      "OrganisationIdentifierLei": {
        "description": "An organisation identified by a code allocated to a party as described in ISO 17442 Financial Services -\nLegal Entity Identifier (LEI).\n",
        "properties": {
          "LEI": {
            "pattern": "[A-Z0-9]{18,18}[0-9]{2,2}",
            "type": "string"
          },
          "schema": {
            "description": "Indicates the identifier as a LEI organisation identifier, always `LEI`",
            "type": "string"
          }
        },
        "required": [
          "LEI",
          "schema"
        ],
        "type": "object"
      },
      "OrganisationIdentificationCode": {
        "properties": {
          "schema": {
            "description": "Identifies the value as being a pre-defined code. Always `CODE`.",
            "type": "string"
          },
          "value": {
            "description": "* `BANK` : BankPartyIdentification. Unique and unambiguous assignment made by a specific bank or similar financial institution to identify a relationship as defined between the bank and its client.\n* `CBID` : CentralBankIdentificationNumber. A unique identification number assigned by a central bank to identify an organisation.\n* `CHID` : ClearingIdentificationNumber. A unique identification number assigned by a clearing house to identify an organisation\n* `CINC` : CertificateOfIncorporationNumber. A unique identification number assigned by a designated authority to a certificate of incorporation and used to identify an organisation.\n* `COID` : CountryIdentificationCode. Country authority given organisation identification (e.g., corporate registration number)\n* `CUST` : CustomerNumber. Number assigned by an issuer to identify a customer or number assigned by a party to identify a creditor or debtor relationship.\n* `DUNS` : DataUniversalNumberingSystem. A unique identification number provided by Dun & Bradstreet to identify an organisation.\n* `EMPL` : EmployerIdentificationNumber. Number assigned by a registration authority to an employer.\n* `GS1G` : GS1GLNIdentifier. Global Location Number. A non-significant reference number used to identify legal entities, functional entities, or physical entities according to GS1 numbering scheme rules.The number is used to retrieve detailed information that is linked to it.\n* `SREN` : SIREN. The SIREN number is a 9 digit code assigned by INSEE, the French National Institute for Statistics and Economic Studies, to identify an organisation in France.\n* `SRET` : SIRET. The SIRET number is a 14 digit code assigned by INSEE, the French National Institute for Statistics and Economic Studies, to identify an organisation unit in France. It consists of the SIREN number, followed by a five digit classification number, to identify the local geographical unit of that entity\n* `TXID` : TaxIdentificationNumber. Number assigned by a tax authority to identify an organisation.\n* `BDID` : BusinessDomainIdentifier. Identifier of the business domain in which the organisation is active.\n* `BOID` : BusinessOtherIdentification. Other identification of the organisation.\n",
            "enum": [
              "BANK",
              "CBID",
              "CHID",
              "CINC",
              "COID",
              "CUST",
              "DUNS",
              "EMPL",
              "GS1G",
              "SREN",
              "SRET",
              "TXID",
              "BDID",
              "BOID"
            ],
            "type": "string"
          }
        },
        "required": [
          "value",
          "schema"
        ],
        "type": "object"
      },
      "OrganisationIdentifierScheme": {
        "discriminator": {
          "mapping": {
            "CODE": "#/components/schemas/OrganisationIdentificationCode",
            "PROPRIETARY": "#/components/schemas/ProprietaryValue"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/OrganisationIdentificationCode"
          },
          {
            "$ref": "#/components/schemas/ProprietaryValue"
          }
        ],
        "type": "object"
      },
      "OrganisationIdentifierOther": {
        "description": "A unique identification of an organisation, as assigned by an institution, using an identification scheme.\n",
        "properties": {
          "identification": {
            "maxLength": 35,
            "type": "string"
          },
          "issuer": {
            "description": "The name of the entity that assigns the identification",
            "maxLength": 35,
            "type": "string"
          },
          "schema": {
            "description": "Indicates the identifier as a unique identification of an organisation, as assigned by an institution. Always `OTHER`",
            "type": "string"
          },
          "scheme": {
            "$ref": "#/components/schemas/OrganisationIdentifierScheme"
          }
        },
        "required": [
          "identification",
          "schema"
        ],
        "type": "object"
      },
      "OrganisationIdentifier": {
        "description": "Holds identification details for an organisation.",
        "discriminator": {
          "mapping": {
            "BIC": "#/components/schemas/OrganisationIdentifierBic",
            "LEI": "#/components/schemas/OrganisationIdentifierLei",
            "OTHER": "#/components/schemas/OrganisationIdentifierOther"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/OrganisationIdentifierBic"
          },
          {
            "$ref": "#/components/schemas/OrganisationIdentifierLei"
          },
          {
            "$ref": "#/components/schemas/OrganisationIdentifierOther"
          }
        ],
        "type": "object"
      },
      "OrganisationName": {
        "description": "Name of the organisation.\n",
        "properties": {
          "legalEntityName": {
            "description": "The legal name of the organisation.\n",
            "maxLength": 140,
            "minLength": 1,
            "type": "string"
          },
          "tradingAs": {
            "description": "Name of the organisation.\n",
            "maxLength": 140,
            "minLength": 1,
            "type": "string"
          }
        },
        "type": "object"
      },
      "OrganisationAccountOwner": {
        "allOf": [
          {
            "$ref": "#/components/schemas/AccountOwner"
          },
          {
            "properties": {
              "address": {
                "$ref": "#/components/schemas/PostalAddress"
              },
              "contactDetails": {
                "$ref": "#/components/schemas/ContactDetails"
              },
              "countryOfResidence": {
                "$ref": "#/components/schemas/CountryCode"
              },
              "identifiers": {
                "items": {
                  "$ref": "#/components/schemas/OrganisationIdentifier"
                },
                "type": "array"
              },
              "name": {
                "$ref": "#/components/schemas/OrganisationName"
              }
            },
            "type": "object"
          }
        ],
        "description": "Contains information detailing an account owner that is an organisation.\n"
      },
      "AccountUpdateRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseMessage"
          },
          {
            "properties": {
              "account": {
                "$ref": "#/components/schemas/Account"
              },
              "otherAccountOwnerDetails": {
                "items": {
                  "$ref": "#/components/schemas/AccountOwner"
                },
                "type": "array"
              },
              "primaryAccountOwnerDetails": {
                "$ref": "#/components/schemas/AccountOwner"
              },
              "schema": {
                "enum": [
                  "AccountUpdateRequest"
                ],
                "type": "string"
              }
            },
            "required": [
              "account",
              "primaryAccountOwnerDetails",
              "schema"
            ],
            "type": "object"
          }
        ],
        "description": "A request containing information that will be used to update the particulars stored for the given Account.\n"
      },
      "TransactionIdentifiers": {
        "description": "Holds a series of identifiers to identify the transaction or an individual message that is part of a transaction.\n",
        "properties": {
          "endToEndIdentification": {
            "description": "Unique identification, as assigned by the initiating party, to unambiguously identify the\ntransaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.\nNote: this is distinct from the UETR.\n",
            "maxLength": 35,
            "type": "string"
          },
          "instructionIdentification": {
            "description": "Unique identification, as assigned by an instructing party for an instructed party, to\nunambiguously identify the instruction. The instruction identification is a point to point\nreference that can be used between the instructing party and the instructed party to refer\nto the individual instruction. It can be included in several messages related to the instruction.\n",
            "maxLength": 35,
            "type": "string"
          },
          "transactionIdentification": {
            "description": "Unique identification, as assigned by the first instructing agent, to unambiguously identify the\ntransaction that is passed on, unchanged, throughout the entire interbank chain.\nUsage: The transaction identification can be used for reconciliation, tracking or to link tasks relating to the transaction on the interbank level.\nUsage: The instructing agent has to make sure that the transaction identification is unique for a pre-agreed period.\n",
            "maxLength": 35,
            "type": "string"
          },
          "uetr": {
            "description": "Universally unique identifier to provide an end-to-end reference of a payment transaction.\nThis identifier remains the same for all messages related to the same transaction.\n",
            "format": "UUID",
            "type": "string"
          }
        },
        "required": [
          "endToEndIdentification",
          "uetr"
        ],
        "type": "object"
      },
      "BaseTransactionMessage": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseMessage"
          },
          {
            "description": "A model containing the foundational elements shared across messages relating to transactions.\n",
            "properties": {
              "transactionIdentifiers": {
                "$ref": "#/components/schemas/TransactionIdentifiers"
              }
            },
            "required": [
              "transactionIdentifiers"
            ],
            "type": "object"
          }
        ]
      },
      "OrganisationIdentification": {
        "properties": {
          "identifiers": {
            "items": {
              "$ref": "#/components/schemas/OrganisationIdentifier"
            },
            "type": "array"
          },
          "schema": {
            "description": "Identifies the party as an organisation, always `ORGANISATION`",
            "type": "string"
          }
        },
        "required": [
          "identifiers",
          "schema"
        ],
        "type": "object"
      },
      "PersonIdentification": {
        "properties": {
          "identifiers": {
            "items": {
              "$ref": "#/components/schemas/PersonIdentifier"
            },
            "type": "array"
          },
          "schema": {
            "description": "Identifies the party as a person, always `PERSON`\n",
            "type": "string"
          }
        },
        "required": [
          "identifiers",
          "schema"
        ],
        "type": "object"
      },
      "PartyIdentification": {
        "description": "The identification of a party, either a person or an organisation.\n",
        "discriminator": {
          "mapping": {
            "ORGANISATION": "#/components/schemas/OrganisationIdentification",
            "PERSON": "#/components/schemas/PersonIdentification"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/PersonIdentification"
          },
          {
            "$ref": "#/components/schemas/OrganisationIdentification"
          }
        ],
        "type": "object"
      },
      "Party": {
        "description": "This model is the basic representation of a Party. It is expanded on depending on whether the party is a person\nor an organisation.\n",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/PostalAddress"
          },
          "contactDetails": {
            "$ref": "#/components/schemas/ContactDetails"
          },
          "countryOfResidence": {
            "$ref": "#/components/schemas/CountryCode"
          },
          "identification": {
            "$ref": "#/components/schemas/PartyIdentification"
          },
          "knownAsName": {
            "description": "The name by which this party is commonly known in day to day use. For example, a shortening of their legal\nname or a nickname that they commonly use. This is \"non-official\". However, it is acceptable for this field\nto be set to the same as `legalName`.\n",
            "maxLength": 140,
            "minLength": 1,
            "type": "string"
          },
          "legalName": {
            "description": "The legal name by which this party is known (the \"FICA\" name). This is the full name of the party\nas found on country-issued documentation (national identity, company registration documentation etc).\n",
            "maxLength": 140,
            "minLength": 1,
            "type": "string"
          }
        },
        "type": "object"
      },
      "BranchIdentification": {
        "properties": {
          "address": {
            "$ref": "#/components/schemas/PostalAddress"
          },
          "identification": {
            "description": "Unique and unambiguous identification of a branch of a financial institution.",
            "type": "string"
          },
          "name": {
            "description": "The name by which this branch is known and is usually used to identify the branch.",
            "maxLength": 140,
            "type": "string"
          }
        },
        "required": [
          "identification"
        ],
        "type": "object"
      },
      "ExternalClearingSystemIdentification1Code": {
        "description": "* `MA` (MoroccoClearingSystemID): Clearing System ID used in Morocco\n* `ATBLZ` (AustrianBankleitzahl): Bank Branch code used in Austria.\n* `AUBSB` (AustralianBankStateBranchCodeBSB): Bank Branch code used in Australia.\n* `CACPA` (CanadianPaymentsAssociationPaymentRoutingNumber): Bank Branch code used in Canada.\n* `CHBCC` (SwissFinancialInstitutionIdentificationShort): Financial Institution Identification (IID) used in Switzerland, without check digit.\n* `CHSIC` (SwissFinancialInstitutionIdentificationLong): Financial Institution Identification (IID) used in Switzerland, including check digit.\n* `CNAPS` (CNAPSIdentifier): Bank Branch code used in China.\n* `DEBLZ` (GermanBankleitzahl): Bank Branch code used in Germany.\n* `ESNCC` (SpanishDomesticInterbankingCode): Bank Branch code used in Spain.\n* `GBDSC` (UKDomesticSortCode): Bank Branch code used in the UK.\n* `GRBIC` (HelenicBankIdentificationCode): Bank Branch code used in Greece.\n* `HKNCC` (HongKongBankCode): Bank Branch code used in Hong Kong.\n* `IENCC` (IrishNationalClearingCode): Bank Branch code used in Ireland.\n* `INFSC` (IndianFinancialSystemCode): Bank Branch code used in India.\n* `ITNCC` (ItalianDomesticIdentificationCode): Bank Branch code used in Italy.\n* `JPZGN` (JapanZenginClearingCode): Bank Branch code used in Japan.\n* `NZNCC` (NewZealandNationalClearingCode): Bank Branch code used in New Zealand.\n* `PLKNR` (PolishNationalClearingCode): Bank Branch code used in Poland.\n* `PTNCC` (PortugueseNationalClearingCode): Bank Branch code used in Portugal.\n* `RUCBC` (RussianCentralBankIdentificationCode): Bank Branch code used in Russia.\n* `SESBA` (SwedenBankgiroClearingCode): Bank Branch code used in Sweden.\n* `SGIBG` (IBGSortCode): Bank Branch code used in Singapore.\n* `THCBC` (ThaiCentralBankIdentificationCode): Bank Identification code used in Thailand.\n* `TWNCC` (FinancialInstitutionCode): Bank Branch code used in Taiwan.\n* `USABA` (UnitedStatesRoutingNumberFedwireNACHA): Routing Transit number assigned by the ABA for US financial institutions.\n* `USPID` (CHIPSParticipantIdentifier): Bank identifier used by CHIPs in the US.\n* `ZANCC` (SouthAfricanNationalClearingCode): Bank Branch code used in South Africa.\n* `NZRSA` (NewZealandRTGSClearingCode): RTGS settlement account used in New Zealand.\n* `MZBMO` (BancoDeMocambiqueRTGS): Banco de Mocambique RTGS system.\n* `CNCIP` (CrossBorderInterbankPaymentSystem): Chinese Cross-border Interbank Payment System (CIPS) Identifier.\n* `KRBOK` (SouthKoreaCentralBankIdentificationCode): Participant Institution code used by BOK-Wire+ in South Korea.\n* `BRISP` (BrazilianBankIdentificationCode): Bank Identification code used in Brazil (ISPB).\n* `NACSC` (NamibiaClearingSystemCode): Clearing system Identification code used in Namibia.\n* `ZWTSS` (ZimbabweClearingSystemCode): System Identification Code used in the Zimbabwe settlement system.\n* `AD` (AndorraClearingSystemID): Clearing System ID used in Andorra\n* `EGNCC` (EgyptianNationalClearingCode): RTGS Clearing system Identification code used in Egypt.\n* `AE` (UnitedArabEmiratesClearingSystemID): Clearing System ID used in United Arab Emirates\n* `AF` (AfghanistanClearingSystemID): Clearing System ID used in Afghanistan\n* `AI` (AntiguaandBermudaClearingSystemID): Clearing System ID used in Antigua and Bermuda\n* `AL` (AlbaniaClearingSystemID): Clearing System ID used in Albania\n* `AM` (ArmeniaClearingSystemID): Clearing System ID used in Armenia\n* `AO` (AngolaClearingSystemID): Clearing System ID used in Angola\n* `AR` (ArgentinaClearingSystemID): Clearing System ID used in Argentina\n* `AS` (AmericanSamoaClearingSystemID): Clearing System ID used in American Samoa\n* `AW` (ArubaClearingSystemID): Clearing System ID used in Aruba\n* `AZ` (AzerbaijanClearingSystemID): Clearing System ID used in Azerbaijan\n* `BA` (BosniaandHerzegovinaClearingSystemID): Clearing System ID used in Bosnia and Herzegovina\n* `BD` (BangladeshClearingSystemID): Clearing System ID used in Bangladesh\n* `BG` (BulgariaClearingSystemID): Clearing System ID used in Bulgaria\n* `BH` (BahrainClearingSystemID): Clearing System ID used in Bahrain\n* `BI` (BurundiClearingSystemID): Clearing System ID used in Burundi\n* `BL` (SaintBarthelemyClearingSystemID): Clearing System ID used in Saint Barthelemy\n* `BM` (BermudaClearingSystemID): Clearing System ID used in Bermuda\n* `BN` (BruneiDarussalamClearingSystemID): Clearing System ID used in Brunei Darussalam\n* `BO` (BoliviaClearingSystemID): Clearing System ID used in Bolivia\n* `BS` (BahamasClearingSystemID): Clearing System ID used in Bahamas\n* `BT` (BhutanClearingSystemID): Clearing System ID used in Bhutan\n* `BW` (BotswanaClearingSystemID): Clearing System ID used in Botswana\n* `BY` (BelarusClearingSystemID): Clearing System ID used in Belarus\n* `BZ` (BelizeClearingSystemID): Clearing System ID used in Belize\n* `CD` (DemocraticRepublicofTheCongoClearingSystemID): Clearing System ID used in Democratic Republic of The Congo\n* `CL` (ChileClearingSystemID): Clearing System ID used in Chile\n* `CO` (ColombiaClearingSystemID): Clearing System ID used in Colombia\n* `CR` (CostaRicaClearingSystemID): Clearing System ID used in Costa Rica\n* `CV` (CaboVerdeClearingSystemID): Clearing System ID used in Cabo Verde\n* `CW` (CuracaoClearingSystemID): Clearing System ID used in Curacao\n* `CY` (CyprusClearingSystemID): Clearing System ID used in Cyprus\n* `CZ` (CzechRepublicClearingSystemID): Clearing System ID used in Czech Republic\n* `DO` (DominicanRepublicClearingSystemID): Clearing System ID used in Dominican Republic\n* `DZ` (AlgeriaClearingSystemID): Clearing System ID used in Algeria\n* `EC` (EcuadorClearingSystemID): Clearing System ID used in Ecuador\n* `EE` (EstoniaClearingSystemID): Clearing System ID used in Estonia\n* `GE` (GeorgiaClearingSystemID): Clearing System ID used in Georgia\n* `GH` (GhanaClearingSystemID): Clearing System ID used in Ghana\n* `GN` (GuineaClearingSystemID): Clearing System ID used in Guinea\n* `GT` (GuatemalaClearingSystemID): Clearing System ID used in Guatemala\n* `GY` (GuyanaClearingSystemID): Clearing System ID used in Guyana\n* `HN` (HondurasClearingSystemID): Clearing System ID used in Honduras\n* `HR` (CroatiaClearingSystemID): Clearing System ID used in Croatia\n* `HT` (HaitiClearingSystemID): Clearing System ID used in Haiti\n* `HU` (HungaryClearingSystemID): Clearing System ID used in Hungary\n* `ID` (IndonesiaClearingSystemID): Clearing System ID used in Indonesia\n* `IL` (IsraelClearingSystemID): Clearing System ID used in Israel\n* `IQ` (IraqClearingSystemID): Clearing System ID used in Iraq\n* `IS` (IcelandClearingSystemID): Clearing System ID used in Iceland\n* `JM` (JamaicaClearingSystemID): Clearing System ID used in Jamaica\n* `JO` (JordanClearingSystemID): Clearing System ID used in Jordan\n* `KE` (KenyaClearingSystemID): Clearing System ID used in Kenya\n* `KG` (TheKyrgyzRepublicClearingSystemID): Clearing System ID used in The Kyrgyz Republic\n* `KH` (CambodiaClearingSystemID): Clearing System ID used in Cambodia\n* `KM` (ComorosClearingSystemID): Clearing System ID used in Comoros\n* `KW` (KuwaitClearingSystemID): Clearing System ID used in Kuwait\n* `KZ` (KazakhstanClearingSystemID): Clearing System ID used in Kazakhstan\n* `LB` (LebanonClearingSystemID): Clearing System ID used in Lebanon\n* `LK` (SriLankaClearingSystemID): Clearing System ID used in Sri Lanka\n* `LR` (LiberiaClearingSystemID): Clearing System ID used in Liberia\n* `LS` (LesothoClearingSystemID): Clearing System ID used in Lesotho\n* `LT` (LithuaniaClearingSystemID): Clearing System ID used in Lithuania\n* `LV` (LatviaClearingSystemID): Clearing System ID used in Latvia\n* `LY` (LibyaClearingSystemID): Clearing System ID used in Libya\n* `MD` (MoldovaClearingSystemID): Clearing System ID used in Moldova\n* `ME` (MontenegroClearingSystemID): Clearing System ID used in Montenegro\n* `MG` (MadagascarClearingSystemID): Clearing System ID used in Madagascar\n* `MK` (NorthMacedoniaClearingSystemID): Clearing System ID used in North Macedonia\n* `MN` (MongoliaClearingSystemID): Clearing System ID used in Mongolia\n* `MO` (MacaoClearingSystemID): Clearing System ID used in Macao\n* `MR` (MauritaniaClearingSystemID): Clearing System ID used in Mauritania\n* `MT` (MaltaClearingSystemID): Clearing System ID used in Malta\n* `MU` (MauritiusClearingSystemID): Clearing System ID used in Mauritius\n* `MW` (MalawiClearingSystemID): Clearing System ID used in Malawi\n* `MX` (MexicoClearingSystemID): Clearing System ID used in Mexico\n* `MY` (MalaysiaClearingSystemID): Clearing System ID used in Malaysia\n* `NG` (NigeriaClearingSystemID): Clearing System ID used in Nigeria\n* `NI` (NicaraguaClearingSystemID): Clearing System ID used in Nicaragua\n* `NP` (NepalClearingSystemID): Clearing System ID used in Nepal\n* `OM` (OmanClearingSystemID): Clearing System ID used in Oman\n* `PA` (PanamaClearingSystemID): Clearing System ID used in Panama\n* `PE` (PeruClearingSystemID): Clearing System ID used in Peru\n* `PG` (PapuaNewGuineaClearingSystemID): Clearing System ID used in Papua New Guinea\n* `PH` (PhilippinesClearingSystemID): Clearing System ID used in Philippines\n* `PK` (PakistanClearingSystemID): Clearing System ID used in Pakistan\n* `PS` (PalestineClearingSystemID): Clearing System ID used in Palestine\n* `PY` (ParaguayClearingSystemID): Clearing System ID used in Paraguay\n* `QA` (QatarClearingSystemID): Clearing System ID used in Qatar\n* `RO` (RomaniaClearingSystemID): Clearing System ID used in Romania\n* `RS` (SerbiaClearingSystemID): Clearing System ID used in Serbia\n* `RW` (RwandaClearingSystemID): Clearing System ID used in Rwanda\n* `SA` (SaudiArabiaClearingSystemID): Clearing System ID used in Saudi Arabia\n* `SC` (SeychellesClearingSystemID): Clearing System ID used in Seychelles\n* `SD` (SudanClearingSystemID): Clearing System ID used in Sudan\n* `SI` (SloveniaClearingSystemID): Clearing System ID used in Slovenia\n* `SK` (SlovakiaClearingSystemID): Clearing System ID used in Slovakia\n* `SL` (SierraLeoneClearingSystemID): Clearing System ID used in Sierra Leone\n* `ST` (SaoTomeandPrincipeClearingSystemID): Clearing System ID used in Sao Tome and Principe\n* `SV` (ElSalvadorClearingSystemID): Clearing System ID used in El Salvador\n* `SZ` (EswatiniClearingSystemID): Clearing System ID used in Eswatini\n* `TJ` (TajikistanClearingSystemID): Clearing System ID used in Tajikistan\n* `TL` (Timor): LesteClearingSystemID\tClearing System ID used in Timor-Leste\n* `TM` (TurkmenistanClearingSystemID): Clearing System ID used in Turkmenistan\n* `TN` (TunisiaClearingSystemID): Clearing System ID used in Tunisia\n* `TR` (TurkeyClearingSystemID): Clearing System ID used in Turkey\n* `TT` (TrinidadandTobagoClearingSystemID): Clearing System ID used in Trinidad and Tobago\n* `TZ` (TanzaniaClearingSystemID): Clearing System ID used in Tanzania\n* `UA` (UkraineClearingSystemID): Clearing System ID used in Ukraine\n* `UG` (UgandaClearingSystemID): Clearing System ID used in Uganda\n* `UY` (UruguayClearingSystemID): Clearing System ID used in Uruguay\n* `UZ` (UzbekistanClearingSystemID): Clearing System ID used in Uzbekistan\n* `VA` (VaticanCityClearingSystemID): Clearing System ID used in Vatican City\n* `VE` (VenezuelaClearingSystemID): Clearing System ID used in Venezuela\n* `VN` (VietnamClearingSystemID): Clearing System ID used in Vietnam\n* `XK` (KosovoClearingSystemID): Clearing System ID used in Kosovo\n* `ZM` (ZambiaClearingSystemID): Clearing System ID used in Zambia\n* `MARPA` (MoroccoRTGSParticipantIdentificationCode): RTGS participant identification code used in the Kingdom of Morocco.\n* `MARAC` (MoroccoRTGSNationalClearingCode): RTGS clearing system identification used in the Kingdom of Morocco.\n",
        "enum": [
          "MA",
          "ATBLZ",
          "AUBSB",
          "CACPA",
          "CHBCC",
          "CHSIC",
          "CNAPS",
          "DEBLZ",
          "ESNCC",
          "GBDSC",
          "GRBIC",
          "HKNCC",
          "IENCC",
          "INFSC",
          "ITNCC",
          "JPZGN",
          "NZNCC",
          "PLKNR",
          "PTNCC",
          "RUCBC",
          "SESBA",
          "SGIBG",
          "THCBC",
          "TWNCC",
          "USABA",
          "USPID",
          "ZANCC",
          "NZRSA",
          "MZBMO",
          "CNCIP",
          "KRBOK",
          "BRISP",
          "NACSC",
          "ZWTSS",
          "AD",
          "EGNCC",
          "AE",
          "AF",
          "AI",
          "AL",
          "AM",
          "AO",
          "AR",
          "AS",
          "AW",
          "AZ",
          "BA",
          "BD",
          "BG",
          "BH",
          "BI",
          "BL",
          "BM",
          "BN",
          "BO",
          "BS",
          "BT",
          "BW",
          "BY",
          "BZ",
          "CD",
          "CL",
          "CO",
          "CR",
          "CV",
          "CW",
          "CY",
          "CZ",
          "DO",
          "DZ",
          "EC",
          "EE",
          "GE",
          "GH",
          "GN",
          "GT",
          "GY",
          "HN",
          "HR",
          "HT",
          "HU",
          "ID",
          "IL",
          "IQ",
          "IS",
          "JM",
          "JO",
          "KE",
          "KG",
          "KH",
          "KM",
          "KW",
          "KZ",
          "LB",
          "LK",
          "LR",
          "LS",
          "LT",
          "LV",
          "LY",
          "MD",
          "ME",
          "MG",
          "MK",
          "MN",
          "MO",
          "MR",
          "MT",
          "MU",
          "MW",
          "MX",
          "MY",
          "NG",
          "NI",
          "NP",
          "OM",
          "PA",
          "PE",
          "PG",
          "PH",
          "PK",
          "PS",
          "PY",
          "QA",
          "RO",
          "RS",
          "RW",
          "SA",
          "SC",
          "SD",
          "SI",
          "SK",
          "SL",
          "ST",
          "SV",
          "SZ",
          "TJ",
          "TL",
          "TM",
          "TN",
          "TR",
          "TT",
          "TZ",
          "UA",
          "UG",
          "UY",
          "UZ",
          "VA",
          "VE",
          "VN",
          "XK",
          "ZM",
          "MARPA",
          "MARAC"
        ],
        "type": "string"
      },
      "ClearingSystemCode": {
        "properties": {
          "schema": {
            "description": "Identifies the value as being a pre-defined code. Always `CODE`.",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/ExternalClearingSystemIdentification1Code"
          }
        },
        "required": [
          "schema",
          "value"
        ],
        "type": "object"
      },
      "ClearingSystemIdentification": {
        "discriminator": {
          "mapping": {
            "CODE": "#/components/schemas/ClearingSystemCode",
            "PROPRIETARY": "#/components/schemas/ProprietaryValue"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/ClearingSystemCode"
          },
          {
            "$ref": "#/components/schemas/ProprietaryValue"
          }
        ],
        "type": "object"
      },
      "ClearingSystemMemberIdentification": {
        "properties": {
          "clearingSystem": {
            "$ref": "#/components/schemas/ClearingSystemIdentification"
          },
          "memberId": {
            "description": "Identification of a member of a clearing system.",
            "maxLength": 35,
            "type": "string"
          }
        },
        "required": [
          "memberId"
        ],
        "type": "object"
      },
      "InstitutionIdentification": {
        "properties": {
          "additionalIdentifications": {
            "items": {
              "$ref": "#/components/schemas/AccountIdentification"
            },
            "type": "array"
          },
          "address": {
            "$ref": "#/components/schemas/PostalAddress"
          },
          "bicfi": {
            "description": "A code allocated to a financial or non-financial institution by the ISO 9362 Registration Authority as\ndescribed in ISO 9362 Banking - Banking telecommunication messages - Business identifier code (BIC)\n",
            "pattern": "^[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}$",
            "type": "string"
          },
          "branch": {
            "$ref": "#/components/schemas/BranchIdentification"
          },
          "clearingSystemMemberId": {
            "$ref": "#/components/schemas/ClearingSystemMemberIdentification"
          },
          "companyRegistration": {
            "deprecated": true,
            "description": "A unique identifier assigned to a company or organisation by a duly appointed authority within a country.",
            "maxLength": 35,
            "type": "string"
          },
          "lei": {
            "description": "An organisation identified by a code allocated to a party as described in ISO 17442 Financial Services - Legal Entity Identifier (LEI).",
            "pattern": "[A-Z0-9]{18,18}[0-9]{2,2}",
            "type": "string"
          },
          "memberId": {
            "deprecated": true,
            "description": "Deprecated. Please use the preferred `clearingSystemMemberId.memberId` instead.\nIdentification of a member of a clearing system.\n",
            "maxLength": 35,
            "type": "string"
          },
          "name": {
            "description": "Name by which an institution is known and which is usually used to identify that institution",
            "maxLength": 140,
            "type": "string"
          }
        },
        "type": "object"
      },
      "BankingIdentifier": {
        "discriminator": {
          "mapping": {
            "GENERIC": "#/components/schemas/GenericAccountIdentifier",
            "IBAN": "#/components/schemas/IBANIdentifier"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/IBANIdentifier"
          },
          {
            "$ref": "#/components/schemas/GenericAccountIdentifier"
          }
        ],
        "type": "object"
      },
      "PaymentAccount": {
        "description": "Representation of an account for payment purposes.\nNote that at least one of `identification` or `proxy` is expected to be present.\n",
        "properties": {
          "currency": {
            "description": "Identification of the currency in which the account is held.",
            "pattern": "^[A-Z]{3}$",
            "type": "string"
          },
          "identification": {
            "$ref": "#/components/schemas/BankingIdentifier"
          },
          "name": {
            "description": "Name of the account, as assigned by the account servicing institution, in agreement with the account owner\nin order to provide an additional means of identification of the account.\n",
            "maxLength": 70,
            "type": "string"
          },
          "proxy": {
            "$ref": "#/components/schemas/NonBankingIdentifier"
          },
          "type": {
            "$ref": "#/components/schemas/AccountType"
          }
        },
        "type": "object"
      },
      "SchemeVerificationData": {
        "description": "This object contains fields specific to the scheme being interacted with and determined by the chosen schema.\nTypically these are fields that are not standard within ISO20022 ACMT.023\n",
        "discriminator": {
          "mapping": {
            "ZA_AVS": "#/components/schemas/ZaAccountVerificationData"
          },
          "propertyName": "schema"
        },
        "properties": {
          "schema": {
            "type": "string"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "ZaAccountVerificationData": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SchemeVerificationData"
          },
          {
            "description": "Fields specific to account verification services in South Africa. The fields checksDebitsAllowed,\nchecksCreditsAllowed and checksOlderThanThreeMonths indicate to the receiving FI whether or not to return\nthe associated information (i.e. true or false in respect to those items)\n",
            "properties": {
              "checkCreditsAllowed": {
                "description": "Sets whether or not the response should indicate if credits are allowed on the account.\n",
                "type": "boolean"
              },
              "checkDebitsAllowed": {
                "description": "Sets whether or not the response should indicate if debits are allowed on the account.\n",
                "type": "boolean"
              },
              "checkOlderThanThreeMonths": {
                "description": "Sets whether or not the response should indicate whether the account is older than 3 months.\n",
                "type": "boolean"
              },
              "initials": {
                "description": "Initials of the individual account owner that is to be verified.\n",
                "maxLength": 70,
                "type": "string"
              },
              "lastName": {
                "description": "Family name of the individual account owner that is to be verified.\n",
                "maxLength": 70,
                "type": "string"
              }
            },
            "type": "object"
          }
        ]
      },
      "Verification": {
        "properties": {
          "account": {
            "$ref": "#/components/schemas/PaymentAccount"
          },
          "agent": {
            "$ref": "#/components/schemas/InstitutionIdentification"
          },
          "identification": {
            "description": "Uniquely identifies this verification. Used in cases where a list of verifications are necessary, in such\ncases a verification may need to be uniquely identified independently from other verifications.\n",
            "maxLength": 35,
            "minLength": 1,
            "type": "string"
          },
          "party": {
            "$ref": "#/components/schemas/Party"
          },
          "schemeVerificationData": {
            "$ref": "#/components/schemas/SchemeVerificationData"
          }
        },
        "required": [
          "party",
          "account"
        ],
        "type": "object"
      },
      "AccountVerificationRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseTransactionMessage"
          },
          {
            "properties": {
              "assignee": {
                "$ref": "#/components/schemas/Party"
              },
              "assigner": {
                "$ref": "#/components/schemas/Party"
              },
              "creator": {
                "$ref": "#/components/schemas/Party"
              },
              "firstAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification"
              },
              "schema": {
                "enum": [
                  "AccountVerificationRequest"
                ],
                "type": "string"
              },
              "verification": {
                "$ref": "#/components/schemas/Verification"
              }
            },
            "required": [
              "verification",
              "assigner",
              "assignee",
              "schema"
            ],
            "type": "object"
          }
        ],
        "description": "Modeled after an ISO20022 ACMT.023 message, this AccountVerificationRequest allows the caller to verify account\nand account owner information with a given scheme.\n",
        "type": "object"
      },
      "Assignment": {
        "properties": {
          "assignee": {
            "$ref": "#/components/schemas/Party"
          },
          "assigner": {
            "$ref": "#/components/schemas/Party"
          },
          "creator": {
            "$ref": "#/components/schemas/Party"
          },
          "firstAgent": {
            "$ref": "#/components/schemas/InstitutionIdentification"
          }
        },
        "type": "object"
      },
      "VerificationOutcome": {
        "description": "Indicates whether the information provided in the verification request was correct (PASSED) or was incorrect\n(FAILED). If it was incorrect, a reason is provided.\n",
        "discriminator": {
          "mapping": {
            "FAILED": "#/components/schemas/VerificationFailedOutcome",
            "PASSED": "#/components/schemas/VerificationPassedOutcome"
          },
          "propertyName": "schema"
        },
        "properties": {
          "schema": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "ExternalVerificationReason1Code": {
        "description": "* `AC01` : Account number provided in the request is invalid or missing.\n* `AGNT` : Agent identification provided in the request is incorrect.\n* `DUPL` : Request is a duplicate of another request.\n* `AG01` : Transaction forbidden on this type of account (Payment cannot be made to this account for example not open for deposits, blocked, closed).\n* `BNOR` : PSP is not registered under this Scheme.\n* `DS28` : Return following technical problems resulting in erroneous transaction.\n* `FF01` : File format incomplete or invalid.\n* `MS03` : Reason has not been specified by agent.\n* `NORR` : No response on request within timeframe.\n* `NR01` : PSP not able to confirm details and no reason is stated.\n* `RC03` : Debtor bank identifier is invalid or missing.\n* `RC04` : Creditor bank identifier is invalid or missing.\n* `TM01` : Associated message was received after agreed processing cut-off time.\n* `PN01` : Account Owner name and Payment Account number do not match.\n* `PN02` : Account Owner name and Payment Account number is a close match.\n* `PI01` : Account Owner Identification and Payment Account number do not match.\n",
        "enum": [
          "AC01",
          "AGNT",
          "DUPL",
          "AG01",
          "BNOR",
          "DS28",
          "FF01",
          "MS03",
          "NORR",
          "NR01",
          "RC03",
          "RC04",
          "TM01",
          "PN01",
          "PN02",
          "PI01"
        ],
        "maxLength": 4,
        "minLength": 1,
        "type": "string"
      },
      "VerificationReasonCode": {
        "properties": {
          "schema": {
            "description": "Identifies the value as being a pre-defined code. Always `CODE`.",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/ExternalVerificationReason1Code"
          }
        },
        "required": [
          "value",
          "schema"
        ],
        "type": "object"
      },
      "VerificationReasonType": {
        "discriminator": {
          "mapping": {
            "CODE": "#/components/schemas/VerificationReasonCode",
            "PROPRIETARY": "#/components/schemas/ProprietaryValue"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/VerificationReasonCode"
          },
          {
            "$ref": "#/components/schemas/ProprietaryValue"
          }
        ],
        "type": "object"
      },
      "VerificationReasonInfo": {
        "description": "Provides detailed information on a verification reason.\n",
        "properties": {
          "additionalInformation": {
            "description": "A human friendly description of the verification reason including any further details if applicable.\n",
            "type": "string"
          },
          "reason": {
            "$ref": "#/components/schemas/VerificationReasonType"
          }
        },
        "required": [
          "reason"
        ],
        "type": "object"
      },
      "VerificationFailedOutcome": {
        "allOf": [
          {
            "$ref": "#/components/schemas/VerificationOutcome"
          },
          {
            "properties": {
              "reasonInfo": {
                "$ref": "#/components/schemas/VerificationReasonInfo"
              }
            },
            "type": "object"
          }
        ]
      },
      "VerificationPassedOutcome": {
        "allOf": [
          {
            "$ref": "#/components/schemas/VerificationOutcome"
          }
        ]
      },
      "SchemeVerificationReportData": {
        "discriminator": {
          "mapping": {
            "ZA_AVS": "#/components/schemas/ZaAccountVerificationReportData"
          },
          "propertyName": "schema"
        },
        "properties": {
          "schema": {
            "type": "string"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "TernaryVerificationOutcome": {
        "description": "Indicates whether or not the associated verification item was true (passed/positive), false (failed/negative)\nor was not checked.\n",
        "enum": [
          "TRUE",
          "FALSE",
          "NOT_CHECKED"
        ],
        "type": "string"
      },
      "ZaAccountVerificationReportData": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SchemeVerificationReportData"
          },
          {
            "description": "Report fields specific to account verification services in South Africa. All fields are always present, and\nwhere a verification was not requested, it will default to a value of 'NOT_CHECKED'\n",
            "properties": {
              "accountFound": {
                "$ref": "#/components/schemas/TernaryVerificationOutcome"
              },
              "accountOpen": {
                "$ref": "#/components/schemas/TernaryVerificationOutcome"
              },
              "accountTypeMatch": {
                "$ref": "#/components/schemas/TernaryVerificationOutcome"
              },
              "creditsAllowed": {
                "$ref": "#/components/schemas/TernaryVerificationOutcome"
              },
              "debitsAllowed": {
                "$ref": "#/components/schemas/TernaryVerificationOutcome"
              },
              "emailMatch": {
                "$ref": "#/components/schemas/TernaryVerificationOutcome"
              },
              "initialsMatch": {
                "$ref": "#/components/schemas/TernaryVerificationOutcome"
              },
              "mobileMatch": {
                "$ref": "#/components/schemas/TernaryVerificationOutcome"
              },
              "nameMatch": {
                "$ref": "#/components/schemas/TernaryVerificationOutcome"
              },
              "olderThanThreeMonths": {
                "$ref": "#/components/schemas/TernaryVerificationOutcome"
              },
              "organisationIdentificationMatch": {
                "$ref": "#/components/schemas/TernaryVerificationOutcome"
              },
              "privateIdentificationMatch": {
                "$ref": "#/components/schemas/TernaryVerificationOutcome"
              },
              "trustIdentificationMatch": {
                "$ref": "#/components/schemas/TernaryVerificationOutcome"
              }
            },
            "required": [
              "accountFound",
              "accountOpen",
              "accountTypeMatch",
              "privateIdentificationMatch",
              "organisationIdentificationMatch",
              "trustIdentificationMatch",
              "initialsMatch",
              "nameMatch",
              "debitsAllowed",
              "creditsAllowed",
              "olderThanThreeMonths",
              "emailMatch",
              "mobileMatch"
            ],
            "type": "object"
          }
        ]
      },
      "VerificationReport": {
        "properties": {
          "originalIdentification": {
            "description": "Matches the identification of the Verification to which this report refers\n",
            "maxLength": 35,
            "minLength": 1,
            "type": "string"
          },
          "outcome": {
            "$ref": "#/components/schemas/VerificationOutcome"
          },
          "schemeVerificationReportData": {
            "$ref": "#/components/schemas/SchemeVerificationReportData"
          },
          "updatedPartyAndAccount": {
            "properties": {
              "account": {
                "$ref": "#/components/schemas/PaymentAccount"
              },
              "party": {
                "$ref": "#/components/schemas/Party"
              }
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "StatusReasonTypeCode": {
        "properties": {
          "schema": {
            "description": "Identifies the value as being a pre-defined code. Always `CODE`.",
            "type": "string"
          },
          "value": {
            "description": "* `ACCC` : AcceptedSettlementCompletedCreditorAccount\n* `ACCP` : AcceptedCustomerProfile\n* `ACSC` : AcceptedSettlementCompletedDebtorAccount\n* `ACTC` : AcceptedTechnicalValidation\n* `ACWP` : AcceptedWithoutPosting\n* `ACSP` : AcceptedSettlementInProcess\n* `ACWC` : AcceptedWithChange\n* `AB01` : AbortedClearingTimeout\n* `AB02` : AbortedClearingFatalError\n* `AB03` : AbortedSettlementTimeout\n* `AB04` : AbortedSettlementFatalError\n* `AB05` : TimeoutCreditorAgent\n* `AB06` : TimeoutInstructedAgent\n* `AB07` : OfflineAgent\n* `AB08` : OfflineCreditorAgent\n* `AB09` : ErrorCreditorAgent\n* `AB10` : ErrorInstructedAgent\n* `AB11` : TimeoutDebtorAgent\n* `AC01` : IncorrectAccountNumber\n* `AC02` : InvalidDebtorAccountNumber\n* `AC03` : InvalidCreditorAccountNumber\n* `AC04` : ClosedAccountNumber\n* `AC05` : ClosedDebtorAccountNumber\n* `AC06` : BlockedAccount\n* `AC07` : ClosedCreditorAccountNumber\n* `AC08` : InvalidBranchCode\n* `AC09` : InvalidAccountCurrency\n* `AC10` : InvalidDebtorAccountCurrency\n* `AC11` : InvalidCreditorAccountCurrency\n* `AC12` : InvalidAccountType\n* `AC13` : InvalidDebtorAccountType\n* `AC14` : InvalidCreditorAccountType\n* `AC15` : AccountDetailsChanged\n* `AC16` : CardNumberInvalid\n* `AC17` : AccountInLiquidation\n* `AEXR` : AlreadyExpiredRTP\n* `AG01` : TransactionForbidden\n* `AG02` : InvalidBankOperationCode\n* `AG03` : TransactionNotSupported\n* `AG04` : InvalidAgentCountry\n* `AG05` : InvalidDebtorAgentCountry\n* `AG06` : InvalidCreditorAgentCountry\n* `AG07` : UnsuccessfulDirectDebit\n* `AG08` : InvalidAccessRights\n* `AG09` : PaymentNotReceived\n* `AG10` : AgentSuspended\n* `AG11` : CreditorAgentSuspended\n* `AG12` : NotAllowedBookTransfer\n* `AG13` : ForbiddenReturnPayment\n* `AGNT` : IncorrectAgent\n* `ALAC` : AlreadyAcceptedRTP\n* `AM01` : ZeroAmount\n* `AM02` : NotAllowedAmount\n* `AM03` : NotAllowedCurrency\n* `AM04` : InsufficientFunds\n* `AM05` : Duplication\n* `AM06` : TooLowAmount\n* `AM07` : BlockedAmount\n* `AM09` : WrongAmount\n* `AM10` : InvalidControlSum\n* `AM11` : InvalidTransactionCurrency\n* `AM12` : InvalidAmount\n* `AM13` : AmountExceedsClearingSystemLimit\n* `AM14` : AmountExceedsAgreedLimit\n* `AM15` : AmountBelowClearingSystemMinimum\n* `AM16` : InvalidGroupControlSum\n* `AM17` : InvalidPaymentInfoControlSum\n* `AM18` : InvalidNumberOfTransactions\n* `AM19` : InvalidGroupNumberOfTransactions\n* `AM20` : InvalidPaymentInfoNumberOfTransactions\n* `AM21` : LimitExceeded\n* `AM22` : ZeroAmountNotApplied\n* `AM23` : AmountExceedsSettlementLimit\n* `APAR` : AlreadyPaidRTP\n* `ARDT` : AlreadyReturnedTransaction\n* `ARFR` : AlreadyRefusedRTP\n* `ARJR` : AlreadyRejectedRTP\n* `ATNS` : AttachmentsNotSupported\n* `BE01` : InconsistentWithEndCustomer\n* `BE04` : MissingCreditorAddress\n* `BE05` : UnrecognisedInitiatingParty\n* `BE06` : UnknownEndCustomer\n* `BE07` : MissingDebtorAddress\n* `BE08` : MissingDebtorName\n* `BE09` : InvalidCountry\n* `BE10` : InvalidDebtorCountry\n* `BE11` : InvalidCreditorCountry\n* `BE12` : InvalidCountryOfResidence\n* `BE13` : InvalidDebtorCountryOfResidence\n* `BE14` : InvalidCreditorCountryOfResidence\n* `BE15` : InvalidIdentificationCode\n* `BE16` : InvalidDebtorIdentificationCode\n* `BE17` : InvalidCreditorIdentificationCode\n* `BE18` : InvalidContactDetails\n* `BE19` : InvalidChargeBearerCode\n* `BE20` : InvalidNameLength\n* `BE21` : MissingName\n* `BE22` : MissingCreditorName\n* `BE23` : AccountProxyInvalid\n* `CERI` : CheckERI\n* `CH03` : RequestedExecutionDateOrRequestedCollectionDateTooFarInFuture\n* `CH04` : RequestedExecutionDateOrRequestedCollectionDateTooFarInPast\n* `CH07` : ElementIsNotToBeUsedAtB-andC-Level\n* `CH09` : MandateChangesNotAllowed\n* `CH10` : InformationOnMandateChangesMissing\n* `CH11` : CreditorIdentifierIncorrect\n* `CH12` : CreditorIdentifierNotUnambiguouslyAtTransaction-Level\n* `CH13` : OriginalDebtorAccountIsNotToBeUsed\n* `CH14` : OriginalDebtorAgentIsNotToBeUsed\n* `CH15` : ElementContentIncludesMoreThan140Characters\n* `CH16` : ElementContentFormallyIncorrect\n* `CH17` : ElementNotAdmitted\n* `CH19` : ValuesWillBeSetToNextTARGETday\n* `CH20` : DecimalPointsNotCompatibleWithCurrency\n* `CH21` : RequiredCompulsoryElementMissing\n* `CH22` : COREandB2BwithinOnemessage\n* `CHQC` : ChequeSettledOnCreditorAccount\n* `CN01` : AuthorisationCancelled\n* `CNOR` : CreditorBankIsNotRegistered\n* `CURR` : IncorrectCurrency\n* `CUST` : RequestedByCustomer\n* `DNOR` : DebtorBankIsNotRegistered\n* `DS01` : ElectronicSignaturesCorrect\n* `DS02` : OrderCancelled\n* `DS03` : OrderNotCancelled\n* `DS04` : OrderRejected\n* `DS05` : OrderForwardedForPostprocessing\n* `DS06` : TransferOrder\n* `DS07` : ProcessingOK\n* `DS08` : DecompressionError\n* `DS09` : DecryptionError\n* `DS0A` : DataSignRequested\n* `DS0B` : UnknownDataSignFormat\n* `DS0C` : SignerCertificateRevoked\n* `DS0D` : SignerCertificateNotValid\n* `DS0E` : IncorrectSignerCertificate\n* `DS0F` : SignerCertificationAuthoritySignerNotValid\n* `DS0G` : NotAllowedPayment\n* `DS0H` : NotAllowedAccount\n* `DS0K` : NotAllowedNumberOfTransaction\n* `DS10` : Signer1CertificateRevoked\n* `DS11` : Signer1CertificateNotValid\n* `DS12` : IncorrectSigner1Certificate\n* `DS13` : SignerCertificationAuthoritySigner1NotValid\n* `DS14` : UserDoesNotExist\n* `DS15` : IdenticalSignatureFound\n* `DS16` : PublicKeyVersionIncorrect\n* `DS17` : DifferentOrderDataInSignatures\n* `DS18` : RepeatOrder\n* `DS19` : ElectronicSignatureRightsInsufficient\n* `DS20` : Signer2CertificateRevoked\n* `DS21` : Signer2CertificateNotValid\n* `DS22` : IncorrectSigner2Certificate\n* `DS23` : SignerCertificationAuthoritySigner2NotValid\n* `DS24` : WaitingTimeExpired\n* `DS25` : OrderFileDeleted\n* `DS26` : UserSignedMultipleTimes\n* `DS27` : UserNotYetActivated\n* `DT01` : InvalidDate\n* `DT02` : InvalidCreationDate\n* `DT03` : InvalidNonProcessingDate\n* `DT04` : FutureDateNotSupported\n* `DT05` : InvalidCutOffDate\n* `DT06` : ExecutionDateChanged\n* `DU01` : DuplicateMessageID\n* `DU02` : DuplicatePaymentInformationID\n* `DU03` : DuplicateTransaction\n* `DU04` : DuplicateEndToEndID\n* `DU05` : DuplicateInstructionID\n* `DUPL` : DuplicatePayment\n* `ED01` : CorrespondentBankNotPossible\n* `ED03` : BalanceInfoRequest\n* `ED05` : SettlementFailed\n* `ED06` : SettlementSystemNotAvailable\n* `EDTL` : ExpiryDateTooLong\n* `EDTR` : ExpiryDateTimeReached\n* `ERIN` : ERIOptionNotSupported\n* `FF01` : InvalidFileFormat\n* `FF02` : SyntaxError\n* `FF03` : InvalidPaymentTypeInformation\n* `FF04` : InvalidServiceLevelCode\n* `FF05` : InvalidLocalInstrumentCode\n* `FF06` : InvalidCategoryPurposeCode\n* `FF07` : InvalidPurpose\n* `FF08` : InvalidEndToEndId\n* `FF09` : InvalidChequeNumber\n* `FF10` : BankSystemProcessingError\n* `FF11` : ClearingRequestAborted\n* `FF12` : OriginalTransactionNotEligibleForRequestedReturn\n* `FF13` : RequestForCancellationNotFound\n* `FOCR` : FollowingCancellationRequest\n* `FR01` : Fraud\n* `FRAD` : FraudulentOrigin\n* `G000` : PaymentTransferredAndTracked\n* `G001` : PaymentTransferredAndNotTracked\n* `G002` : CreditDebitNotConfirmed\n* `G003` : CreditPendingDocuments\n* `G004` : CreditPendingFunds\n* `G005` : DeliveredWithServiceLevel\n* `G006` : DeliveredWithoutServiceLevel\n* `ID01` : CorrespondingOriginalFileStillNotSent\n* `IEDT` : IncorrectExpiryDateTime\n* `IRNR` : InitialRTPNeverReceived\n* `MD01` : NoMandate\n* `MD02` : MissingMandatoryInformationInMandate\n* `MD05` : CollectionNotDue\n* `MD06` : RefundRequestByEndCustomer\n* `MD07` : EndCustomerDeceased\n* `MS02` : NotSpecifiedReasonCustomerGenerated\n* `MS03` : NotSpecifiedReasonAgentGenerated\n* `NARR` : Narrative\n* `NERI` : NoERI\n* `NOAR` : NonAgreedRTP\n* `NOAS` : NoAnswerFromCustomer\n* `NOCM` : NotCompliantGeneric\n* `NOOR` : NoOriginalTransactionReceived\n* `NOPG` : NoPaymentGuarantee\n* `NRCH` : PayerOrPayerRTPSPNotReachable\n* `PART` : PartiallyAccepted\n* `PINS` : TypeOfPaymentInstrumentNotSupported\n* `RC01` : BankIdentifierIncorrect\n* `RC02` : InvalidBankIdentifier\n* `RC03` : InvalidDebtorBankIdentifier\n* `RC04` : InvalidCreditorBankIdentifier\n* `RC05` : InvalidBICIdentifier\n* `RC06` : InvalidDebtorBICIdentifier\n* `RC07` : InvalidCreditorBICIdentifier\n* `RC08` : InvalidClearingSystemMemberIdentifier\n* `RC09` : InvalidDebtorClearingSystemMemberIdentifier\n* `RC10` : InvalidCreditorClearingSystemMemberIdentifier\n* `RC11` : InvalidIntermediaryAgent\n* `RC12` : MissingCreditorSchemeId\n* `RCON` : RMessageConflict\n* `RECI` : ReceiverCustomerInformation\n* `REPR` : RTPReceivedCanBeProcessed\n* `RF01` : NotUniqueTransactionReference\n* `RR01` : MissingDebtorAccountOrIdentification\n* `RR02` : MissingDebtorNameOrAddress\n* `RR03` : MissingCreditorNameOrAddress\n* `RR04` : RegulatoryReason\n* `RR05` : RegulatoryInformationInvalid\n* `RR06` : TaxInformationInvalid\n* `RR07` : RemittanceInformationInvalid\n* `RR08` : RemittanceInformationTruncated\n* `RR09` : InvalidStructuredCreditorReference\n* `RR10` : InvalidCharacterSet\n* `RR11` : InvalidDebtorAgentServiceID\n* `RR12` : InvalidPartyID\n* `RTNS` : RTPNotSupportedForDebtor\n* `RUTA` : ReturnUponUnableToApply\n* `S000` : ValidRequestForCancellationAcknowledged\n* `S001` : UETRFlaggedForCancellation\n* `S002` : NetworkStopOfUETR\n* `S003` : RequestForCancellationForwarded\n* `S004` : RequestForCancellationDeliveryAcknowledgement\n* `SL01` : SpecificServiceOfferedByDebtorAgent\n* `SL02` : SpecificServiceOfferedByCreditorAgent\n* `SL03` : ServiceofClearingSystem\n* `SL11` : CreditorNotOnWhitelistOfDebtor\n* `SL12` : CreditorOnBlacklistOfDebtor\n* `SL13` : MaximumNumberOfDirectDebitTransactionsExceeded\n* `SL14` : MaximumDirectDebitTransactionAmountExceeded\n* `SP01` : PaymentStopped\n* `SP02` : PreviouslyStopped\n* `SPII` : RTPServiceProviderIdentifierIncorrect\n* `TA01` : TransmissionAborted\n* `TD01` : NoDataAvailable\n* `TD02` : FileNonReadable\n* `TD03` : IncorrectFileStructure\n* `TK01` : TokenInvalid\n* `TK02` : SenderTokenNotFound\n* `TK03` : ReceiverTokenNotFound\n* `TK09` : TokenMissing\n* `TKCM` : TokenCounterpartyMismatch\n* `TKSG` : TokenSingleUse\n* `TKSP` : TokenSuspended\n* `TKVE` : TokenValueLimitExceeded\n* `TKXP` : TokenExpired\n* `TM01` : InvalidCutOffTime\n* `TS01` : TransmissionSuccessful\n* `TS04` : TransferToSignByHand\n* `UCRD` : UnknownCreditor\n* `UPAY` : UnduePayment\n",
            "enum": [
              "ACCC",
              "ACCP",
              "ACSC",
              "ACTC",
              "ACWP",
              "ACSP",
              "ACWC",
              "AB01",
              "AB02",
              "AB03",
              "AB04",
              "AB05",
              "AB06",
              "AB07",
              "AB08",
              "AB09",
              "AB10",
              "AB11",
              "AC01",
              "AC02",
              "AC03",
              "AC04",
              "AC05",
              "AC06",
              "AC07",
              "AC08",
              "AC09",
              "AC10",
              "AC11",
              "AC12",
              "AC13",
              "AC14",
              "AC15",
              "AC16",
              "AC17",
              "AEXR",
              "AG01",
              "AG02",
              "AG03",
              "AG04",
              "AG05",
              "AG06",
              "AG07",
              "AG08",
              "AG09",
              "AG10",
              "AG11",
              "AG12",
              "AG13",
              "AGNT",
              "ALAC",
              "AM01",
              "AM02",
              "AM03",
              "AM04",
              "AM05",
              "AM06",
              "AM07",
              "AM09",
              "AM10",
              "AM11",
              "AM12",
              "AM13",
              "AM14",
              "AM15",
              "AM16",
              "AM17",
              "AM18",
              "AM19",
              "AM20",
              "AM21",
              "AM22",
              "AM23",
              "APAR",
              "ARDT",
              "ARFR",
              "ARJR",
              "ATNS",
              "BE01",
              "BE04",
              "BE05",
              "BE06",
              "BE07",
              "BE08",
              "BE09",
              "BE10",
              "BE11",
              "BE12",
              "BE13",
              "BE14",
              "BE15",
              "BE16",
              "BE17",
              "BE18",
              "BE19",
              "BE20",
              "BE21",
              "BE22",
              "BE23",
              "CERI",
              "CH03",
              "CH04",
              "CH07",
              "CH09",
              "CH10",
              "CH11",
              "CH12",
              "CH13",
              "CH14",
              "CH15",
              "CH16",
              "CH17",
              "CH19",
              "CH20",
              "CH21",
              "CH22",
              "CHQC",
              "CN01",
              "CNOR",
              "CURR",
              "CUST",
              "DNOR",
              "DS01",
              "DS02",
              "DS03",
              "DS04",
              "DS05",
              "DS06",
              "DS07",
              "DS08",
              "DS09",
              "DS0A",
              "DS0B",
              "DS0C",
              "DS0D",
              "DS0E",
              "DS0F",
              "DS0G",
              "DS0H",
              "DS0K",
              "DS10",
              "DS11",
              "DS12",
              "DS13",
              "DS14",
              "DS15",
              "DS16",
              "DS17",
              "DS18",
              "DS19",
              "DS20",
              "DS21",
              "DS22",
              "DS23",
              "DS24",
              "DS25",
              "DS26",
              "DS27",
              "DT01",
              "DT02",
              "DT03",
              "DT04",
              "DT05",
              "DT06",
              "DU01",
              "DU02",
              "DU03",
              "DU04",
              "DU05",
              "DUPL",
              "ED01",
              "ED03",
              "ED05",
              "ED06",
              "EDTL",
              "EDTR",
              "ERIN",
              "FF01",
              "FF02",
              "FF03",
              "FF04",
              "FF05",
              "FF06",
              "FF07",
              "FF08",
              "FF09",
              "FF10",
              "FF11",
              "FF12",
              "FF13",
              "FOCR",
              "FR01",
              "FRAD",
              "G000",
              "G001",
              "G002",
              "G003",
              "G004",
              "G005",
              "G006",
              "ID01",
              "IEDT",
              "IRNR",
              "MD01",
              "MD02",
              "MD05",
              "MD06",
              "MD07",
              "MS02",
              "MS03",
              "NARR",
              "NERI",
              "NOAR",
              "NOAS",
              "NOCM",
              "NOOR",
              "NOPG",
              "NRCH",
              "PART",
              "PINS",
              "RC01",
              "RC02",
              "RC03",
              "RC04",
              "RC05",
              "RC06",
              "RC07",
              "RC08",
              "RC09",
              "RC10",
              "RC11",
              "RC12",
              "RCON",
              "RECI",
              "REPR",
              "RF01",
              "RR01",
              "RR02",
              "RR03",
              "RR04",
              "RR05",
              "RR06",
              "RR07",
              "RR08",
              "RR09",
              "RR10",
              "RR11",
              "RR12",
              "RTNS",
              "RUTA",
              "S000",
              "S001",
              "S002",
              "S003",
              "S004",
              "SL01",
              "SL02",
              "SL03",
              "SL11",
              "SL12",
              "SL13",
              "SL14",
              "SP01",
              "SP02",
              "SPII",
              "TA01",
              "TD01",
              "TD02",
              "TD03",
              "TK01",
              "TK02",
              "TK03",
              "TK09",
              "TKCM",
              "TKSG",
              "TKSP",
              "TKVE",
              "TKXP",
              "TM01",
              "TS01",
              "TS04",
              "UCRD",
              "UPAY"
            ],
            "type": "string"
          }
        },
        "required": [
          "schema",
          "value"
        ],
        "type": "object"
      },
      "StatusReasonType": {
        "discriminator": {
          "mapping": {
            "CODE": "#/components/schemas/StatusReasonTypeCode",
            "PROPRIETARY": "#/components/schemas/ProprietaryValue"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/StatusReasonTypeCode"
          },
          {
            "$ref": "#/components/schemas/ProprietaryValue"
          }
        ],
        "type": "object"
      },
      "StatusReasonInfo": {
        "description": "Provides detailed information on a status reason.\n",
        "properties": {
          "additionalInformation": {
            "description": "A human friendly description of the status reason including any further details if applicable.\n",
            "type": "string"
          },
          "reason": {
            "$ref": "#/components/schemas/StatusReasonType"
          }
        },
        "required": [
          "reason"
        ],
        "type": "object"
      },
      "Status": {
        "properties": {
          "outcome": {
            "description": "- `APPROVED`: The instruction has been approved.\n- `CANCELLED`: The instruction has been cancelled.\n- `PENDING`: The instruction is pending.\n- `REJECTED`: The instruction has been rejected.\n- `PARTIALLY_ACCEPTED`: Some, but not all, of the transactions in the group were accepted.\n",
            "enum": [
              "APPROVED",
              "CANCELLED",
              "PENDING",
              "REJECTED",
              "PARTIALLY_ACCEPTED"
            ],
            "type": "string"
          },
          "reasonInfo": {
            "description": "A list of `StatusReasonInfo` values providing detailed reason information for the outcome.\n",
            "items": {
              "$ref": "#/components/schemas/StatusReasonInfo"
            },
            "minItems": 1,
            "type": "array"
          }
        },
        "required": [
          "outcome"
        ],
        "type": "object"
      },
      "AccountVerificationResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseTransactionMessage"
          },
          {
            "properties": {
              "assignee": {
                "$ref": "#/components/schemas/Party"
              },
              "assigner": {
                "$ref": "#/components/schemas/Party"
              },
              "creator": {
                "$ref": "#/components/schemas/Party"
              },
              "firstAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification"
              },
              "originalAssignment": {
                "$ref": "#/components/schemas/Assignment"
              },
              "originalMessageIdentifiers": {
                "$ref": "#/components/schemas/MessageIdentifiers"
              },
              "originalVerification": {
                "$ref": "#/components/schemas/Verification"
              },
              "report": {
                "$ref": "#/components/schemas/VerificationReport"
              },
              "schema": {
                "enum": [
                  "AccountVerificationResponse"
                ],
                "type": "string"
              },
              "status": {
                "$ref": "#/components/schemas/Status"
              }
            },
            "required": [
              "verification",
              "assigner",
              "assignee",
              "schema"
            ],
            "type": "object"
          }
        ],
        "type": "object"
      },
      "Amount": {
        "properties": {
          "currency": {
            "description": "A valid, active currency code as defined in ISO 4217 indicating the currency of the amount.\n",
            "pattern": "^[A-Z]{3}$",
            "type": "string"
          },
          "value": {
            "description": "The payment amount in the denomination of the indicated currency, in the\nformat '<major units>.<minor units> with the number of minor units (fractional digits)\ncompliant with the number of decimal places published in ISO 4217.\nCurrency Code | Example | Valid | Notes\n--- | --- | --- | ---\nUSD | 10.0 | ✓ | Represents 10 USD and no cents.\nUSD | 10.00 | ✓ |\nUSD | 10.001 | ✗ | US dollar does not support three decimal places.\nJPY | 10.0 | ✓ | Represents 10 Japanese Yen.\nJPY | 10.1 | ✗ | Japanese Yen does not support decimal places.\n",
            "format": "double",
            "minimum": 0,
            "type": "number"
          }
        },
        "required": [
          "value",
          "currency"
        ],
        "type": "object"
      },
      "TransactionAmounts": {
        "properties": {
          "bankSettlementAmount": {
            "$ref": "#/components/schemas/Amount",
            "description": "The inter-bank amount of money to be moved between the instructing and instructed agent, which may include charges\nor deductions, expressed in the currency as ordered by the initiating party\n"
          },
          "instructedAmount": {
            "$ref": "#/components/schemas/Amount",
            "description": "The amount of money to be moved between the debtor and creditor, before deduction of\ncharges, expressed in the currency as ordered by the initiating party.\n"
          }
        },
        "required": [
          "bankSettlementAmount"
        ],
        "type": "object"
      },
      "CreditorAgentInstruction": {
        "description": "Further information related to the processing of the payment instruction that may need to be\nacted upon by the creditor's agent. The instruction may relate to a level of service, or may be an\ninstruction that has to be executed by the creditor's agent, or may be information required by the\ncreditor's agent\n",
        "properties": {
          "code": {
            "description": "* `CHQB`: (PayCreditorByCheque) (Ultimate) creditor must be paid by cheque.\n* `HOLD`: (HoldCashForCreditor) Amount of money must be held for the (ultimate) creditor, who will call. Pay on identification.\n* `PHOB`: (PhoneBeneficiary) Please advise/contact (ultimate) creditor/claimant by phone.\n* `PRTK`: (PayerTokenRequested) Indicates that a payer token is requested/used.\n* `RECI`: (ReceiverCustomerInformation) Further information regarding the intended recipient.\n* `TELB`: (Telecom) Please advise/contact (ultimate) creditor/claimant by the most efficient means of telecommunication.\n* `TKCM`: (TokenCounterpartyMismatch) Token found with counterparty mismatch.\n* `TKSG`: (TokenSingleUse) Single Use Token already used.\n* `TKSP`: (TokenSuspended) Token found with suspended status.\n* `TKVE`: (TokenValueLimitExceeded) Token found with value limit rule violation.\n* `TKXP`: (TokenExpired) Token expired.\n* `TOKN`: (Token) Token information.\n* `VLTK`: (TokenValidation) Additional validation information to be used in conjunction with the token.\n* `SEID`: (SecondaryIdentification): Use of Secondary Identification of Creditor Account (which may relate to Head Office Collection Account, Building Society Roll Number or Credit Card Primary Account Number).\n* `RT14`: A `ZA-RPP` scheme-specific instruction regarding fraud scores.\n",
            "enum": [
              "CHQB",
              "HOLD",
              "PHOB",
              "PRTK",
              "RECI",
              "TELB",
              "TKCM",
              "TKSG",
              "TKSP",
              "TKVE",
              "TKXP",
              "TOKN",
              "VLTK",
              "SEID",
              "RT14"
            ],
            "type": "string"
          },
          "information": {
            "description": "Further information complementing the coded instruction or instruction to the next agent that\nis bilaterally agreed or specific to a user community.\n",
            "maxLength": 140,
            "minLength": 1,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ChargeBearer": {
        "description": "* `DEBT` (BorneByDebtor): All transaction charges are to be borne by the debtor\n* `CRED` (BorneByCreditor): All transaction charges are to be borne by the creditor\n* `SHAR` (Shared): In a credit transfer context, means that transaction charges on the sender side are to be borne by\n          the debtor, transaction charges on the receiver side are to be borne by the creditor. In a direct\n          debit context, means that transaction charges on the sender side are to be borne by the creditor,\n          transaction charges on the receiver side are to be borne by the debtor.\n* `SLEV` (FollowingServiceLevel): Charges are to be applied following the rules agreed in the service level and/or scheme\n",
        "enum": [
          "DEBT",
          "CRED",
          "SHAR",
          "SLEV"
        ],
        "type": "string"
      },
      "ChargeTypeCode": {
        "properties": {
          "schema": {
            "description": "Identifies the value as being a pre-defined code. Always `CODE`.",
            "type": "string"
          },
          "value": {
            "description": "* `BRKF` (BrokerageFee): Fee paid to a broker for services provided.\n* `BTCH` (Batch): Fee paid for processing a batch of transactions.\n* `COMM` (Commission): Fee paid for services provided.\n* `SUMM` (Summation): Summation of individual fees.\n* `AMND` (Amendment): Payment order was changed based on request to do so from the (original) sending bank or as a result of receiving amended information from the (original) sending bank.\n* `CFEE` (CancellationFee): Used when fees are assessed for cancellation of a payment.\n* `CLEF` (ClearingFee): Used when fees are assessed for standard processing of financial institution type transfers.\n* `INVS` (Investigation): Charges related to the processing of an investigation case/inquiry.\n* `INTE` (Interest): Interest related charges.\n* `NSTP` (NonSTPCharges): Charge for a payment that required an intervention during processing.\n* `DEBT` (BorneByDebtor): Claim is being submitted in response to receiving a customer credit transfer with DEBT in Charge Bearer code.\n* `TELE` (TelecommunicationCharges): Charges relating to the most appropriate and efficient means of telecommunications available, for example, SWIFT, telex, telephone, facsimile, as determined by the party executing the payment instruction.\n* `ACCM` (AccMaintenanceFee): Account maintenance fee.\n* `RECH` (ReportingCharges): Charge for a reporting message (camt.05X).\n",
            "enum": [
              "BRKF",
              "BTCH",
              "COMM",
              "SUMM",
              "AMND",
              "CFEE",
              "CLEF",
              "INVS",
              "INTE",
              "NSTP",
              "DEBT",
              "TELE",
              "ACCM",
              "RECH"
            ],
            "type": "string"
          }
        },
        "required": [
          "schema",
          "value"
        ],
        "type": "object"
      },
      "ChargeType": {
        "discriminator": {
          "mapping": {
            "CODE": "#/components/schemas/ChargeTypeCode",
            "PROPRIETARY": "#/components/schemas/ProprietaryValue"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/ChargeTypeCode"
          },
          {
            "$ref": "#/components/schemas/ProprietaryValue"
          }
        ],
        "type": "object"
      },
      "Charge": {
        "properties": {
          "agent": {
            "$ref": "#/components/schemas/InstitutionIdentification"
          },
          "amount": {
            "$ref": "#/components/schemas/Amount"
          },
          "type": {
            "$ref": "#/components/schemas/ChargeType"
          }
        },
        "required": [
          "amount",
          "agent"
        ],
        "type": "object"
      },
      "CbprPlusCustomerCreditSchemeData": {
        "description": "Information necessary for FI to FI customer credit transfers, specifically for CBPR+",
        "properties": {
          "chargeBearer": {
            "$ref": "#/components/schemas/ChargeBearer"
          },
          "charges": {
            "items": {
              "$ref": "#/components/schemas/Charge"
            },
            "type": "array"
          },
          "exchangeRate": {
            "description": "Factor used to convert an amount from one currency into another. This reflects the price at\nwhich one currency was bought with another currency.\n",
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "chargeBearer"
        ],
        "type": "object"
      },
      "CbprPlusCreditTransferPaymentScheme": {
        "properties": {
          "schema": {
            "type": "string"
          },
          "schemeData": {
            "$ref": "#/components/schemas/CbprPlusCustomerCreditSchemeData"
          }
        },
        "required": [
          "schema",
          "schemeData"
        ],
        "type": "object"
      },
      "TcibCreditTransferPaymentScheme": {
        "properties": {
          "schema": {
            "type": "string"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "ShortenedAccountNumber": {
        "description": "An account number, shortened to 11 characters according to the account number reduction rules\nin the EFT technical standards. This field is intended for internal use by Electrum and generally should not\nbe populated by partner implementations.\n",
        "maxLength": 11,
        "minLength": 11,
        "type": "string"
      },
      "ZaEftSchemeData": {
        "properties": {
          "shortenedCreditorAccountNumber": {
            "$ref": "#/components/schemas/ShortenedAccountNumber"
          },
          "shortenedDebtorAccountNumber": {
            "$ref": "#/components/schemas/ShortenedAccountNumber"
          },
          "userCode": {
            "description": "A code allocated by PayInc. Sometimes also referred to as `BankCode`. May equal Installation code for in-house operation.\n",
            "maxLength": 4,
            "type": "string"
          },
          "userReference": {
            "description": "An explanation of an EFT transaction, which will be printed on the debtor's statement for direct debits or\nthe creditor's statement for credit transfers. Note that when populating a value for a _direct debit_, the\nfirst 10 characters must contain the Banks user code as configured at Bankserv. If configured, Electrum\nwill populate this value automatically, in which case at most 20 characters should be used as a reference\nto avoid truncation. Allowed characters are limited to printable ASCII U+0020 to U+007A (space through 'z').\n",
            "maxLength": 30,
            "pattern": "^[\\u0020-\\u007A]*$",
            "type": "string"
          }
        },
        "required": [
          "userReference"
        ],
        "type": "object"
      },
      "ZaEftCreditTransferPaymentScheme": {
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          },
          "schemeData": {
            "$ref": "#/components/schemas/ZaEftSchemeData"
          }
        },
        "required": [
          "schema",
          "schemeData"
        ],
        "type": "object"
      },
      "ZaRppSchemeData": {
        "properties": {
          "hasRtp": {
            "description": "Indicates whether the RPP transaction was initiated via a Request To Pay.\n",
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "ZaRppCreditTransferPaymentScheme": {
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          },
          "schemeData": {
            "$ref": "#/components/schemas/ZaRppSchemeData"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "ZaRtcCreditTransferPaymentSchemeData": {
        "properties": {
          "businessReference": {
            "description": "Business reference number. The first two numeric digits identify the bank and the last 8\ncharacters contain a unique alphanumeric value generated by the originating bank (unique for the\ntransaction).\n",
            "maxLength": 10,
            "pattern": "^\\d{2}[\\dA-z]{8}$",
            "type": "string"
          },
          "originatorEchoData": {
            "description": "Echo data reserved for originator use. Must remain unaltered by the beneficiary.",
            "maxLength": 20,
            "pattern": "^[\\dA-z ]*$",
            "type": "string"
          },
          "userReference": {
            "description": "An explanation of the transaction, e.g. to be printed on the account holder's statement.\n",
            "maxLength": 20,
            "pattern": "^[\\dA-z ]*$",
            "type": "string"
          }
        },
        "required": [
          "businessReference"
        ],
        "type": "object"
      },
      "ZaRtcCreditTransferPaymentScheme": {
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          },
          "schemeData": {
            "$ref": "#/components/schemas/ZaRtcCreditTransferPaymentSchemeData"
          }
        },
        "required": [
          "schema",
          "schemeData"
        ],
        "type": "object"
      },
      "CreditTransferPaymentScheme": {
        "description": "Designates which scheme a customer credit transfer is associated with and describes scheme-specific information for the\ncredit transfer.\n",
        "discriminator": {
          "mapping": {
            "CBPR_PLUS": "#/components/schemas/CbprPlusCreditTransferPaymentScheme",
            "TCIB": "#/components/schemas/TcibCreditTransferPaymentScheme",
            "ZA_EFT": "#/components/schemas/ZaEftCreditTransferPaymentScheme",
            "ZA_RPP": "#/components/schemas/ZaRppCreditTransferPaymentScheme",
            "ZA_RTC": "#/components/schemas/ZaRtcCreditTransferPaymentScheme"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/ZaRtcCreditTransferPaymentScheme"
          },
          {
            "$ref": "#/components/schemas/ZaRppCreditTransferPaymentScheme"
          },
          {
            "$ref": "#/components/schemas/ZaEftCreditTransferPaymentScheme"
          },
          {
            "$ref": "#/components/schemas/CbprPlusCreditTransferPaymentScheme"
          },
          {
            "$ref": "#/components/schemas/TcibCreditTransferPaymentScheme"
          }
        ],
        "type": "object"
      },
      "ExternalCategoryPurpose1Code": {
        "description": "* `BONU` (BonusPayment): Transaction is the payment of a bonus.\n* `CASH` (CashManagementTransfer): Transaction is a general cash management instruction.\n* `CBLK` (CardBulkClearing): A service that is settling money for a bulk of card transactions, while referring to a specific transaction file or other information like terminal ID, card acceptor ID or other transaction details.\n* `CCRD` (CreditCardPayment): Transaction is related to a payment of credit card.\n* `CORT` (TradeSettlementPayment): Transaction is related to settlement of a trade, eg a foreign exchange deal or a securities transaction.\n* `DCRD` (DebitCardPayment): Transaction is related to a payment of debit card.\n* `DIVI` (Dividend): Transaction is the payment of dividends.\n* `DVPM` (DeliverAgainstPayment): Code used to pre-advise the account servicer of a forthcoming deliver against payment instruction.\n* `EPAY` (Epayment): Transaction is related to ePayment.\n* `FCIN` (FeeCollectionAndInterest): Transaction is related to the payment of a fee and interest.\n* `FCOL` (FeeCollection): A service that is settling card transaction related fees between two parties.\n* `GP2P` (PersontoPersonPayment): General Person-to-Person Payment. Debtor and Creditor are natural persons.\n* `GOVT` (GovernmentPayment): Transaction is a payment to or from a government department.\n* `HEDG` (Hedging): Transaction is related to the payment of a hedging operation.\n* `ICCP` (IrrevocableCreditCardPayment): Transaction is reimbursement of credit card payment.\n* `IDCP` (IrrevocableDebitCardPayment): Transaction is reimbursement of debit card payment.\n* `INTC` (IntraCompanyPayment): Transaction is an intra-company payment, ie, a payment between two companies belonging to the same group.\n* `INTE` (Interest): Transaction is the payment of interest.\n* `LBOX` (LockboxTransactions): Transaction is related to identify cash handling via Night Safe or Lockbox by bank or vendor on behalf of a physical store.\n* `LOAN` (Loan): Transaction is related to the transfer of a loan to a borrower.\n* `MP2B` (Commercial): Mobile P2B Payment\n* `MP2P` (Consumer): Mobile P2P Payment\n* `OTHR` (OtherPayment): Other payment purpose.\n* `PENS` (PensionPayment): Transaction is the payment of pension.\n* `RPRE` (Represented): Collection used to re-present previously reversed or returned direct debit transactions.\n* `RRCT` (ReimbursementReceivedCreditTransfer): Transaction is related to a reimbursement for commercial reasons of a correctly received credit transfer.\n* `RVPM` (ReceiveAgainstPayment): Code used to pre-advise the account servicer of a forthcoming receive against payment instruction.\n* `SALA` (SalaryPayment): Transaction is the payment of salaries.\n* `SECU` (Securities): Transaction is the payment of securities.\n* `SSBE` (SocialSecurityBenefit): Transaction is a social security benefit, ie payment made by a government to support individuals.\n* `SUPP` (SupplierPayment): Transaction is related to a payment to a supplier.\n* `TAXS` (TaxPayment): Transaction is the payment of taxes.\n* `TRAD` (Trade): Transaction is related to the payment of a trade finance transaction.\n* `TREA` (TreasuryPayment): Transaction is related to treasury operations.  E.g. financial contract settlement.\n* `VATX` (ValueAddedTaxPayment): Transaction is the payment of value added tax.\n* `WHLD` (WithHolding): Transaction is the payment of withholding tax.\n* `SWEP` (CashManagementSweepAccount): Classification - Cash Management. Transaction relates to a cash management instruction, requesting a sweep of the account of the Debtor above an agreed floor amount, up to a target or zero balance. The purpose is to move the funds from multiple accounts to a single bank account. Funds can move domestically or across border and more than one bank can be used.\n* `TOPG` (CashManagementTopAccount): Classification - Cash Management. Transaction relates to a cash management instruction, requesting to top the account of the Creditor above a certain floor amount, up to a target or zero balance. The floor amount, if not pre-agreed by the parties involved, may be specified.\n* `ZABA` (CashManagementZeroBalanceAccount): Transaction relates to a cash management instruction, requesting to zero balance the account of the Debtor. Zero Balance Accounts empty or fill the balances in accounts at the same bank, in the same country into or out of a main account each day.\n* `VOST` (CrossborderMIPayments): Transaction to be processed as a domestic payment instruction originated from a foreign bank.\n* `FCDT` (ForeignCurrencyDomesticTransfer): Foreign Currency Transaction that is processed between two domestic financial institutions.\n* `CIPC` (CashInPreCredit): Transaction is a direct debit for a cash order of notes and/or coins.\n* `CONC` (CashOutNotesCoins): Transaction is a direct debit for a cash order of notes and/or coins.\n* `CGWV` (CarrierGuardedWholesaleValuables): Transaction is a payment towards a Party for the collection of cash by the Cash in Transit company.\n* `SAVG` (Savings): Transfer to / from savings or to retirement account.\n* `CTDF` (DoddFrank1073Payment): Cross border transaction initiated by US natural person that is subject to compliance with Dodd Frank 1073.\n",
        "enum": [
          "BONU",
          "CASH",
          "CBLK",
          "CCRD",
          "CORT",
          "DCRD",
          "DIVI",
          "DVPM",
          "EPAY",
          "FCIN",
          "FCOL",
          "GP2P",
          "GOVT",
          "HEDG",
          "ICCP",
          "IDCP",
          "INTC",
          "INTE",
          "LBOX",
          "LOAN",
          "MP2B",
          "MP2P",
          "OTHR",
          "PENS",
          "RPRE",
          "RRCT",
          "RVPM",
          "SALA",
          "SECU",
          "SSBE",
          "SUPP",
          "TAXS",
          "TRAD",
          "TREA",
          "VATX",
          "WHLD",
          "SWEP",
          "TOPG",
          "ZABA",
          "VOST",
          "FCDT",
          "CIPC",
          "CONC",
          "CGWV",
          "SAVG",
          "CTDF"
        ],
        "type": "string"
      },
      "CategoryPurposeCode": {
        "properties": {
          "schema": {
            "description": "Identifies the value as being a pre-defined code. Always `CODE`.",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/ExternalCategoryPurpose1Code"
          }
        },
        "required": [
          "schema",
          "value"
        ],
        "type": "object"
      },
      "CategoryPurpose": {
        "discriminator": {
          "mapping": {
            "CODE": "#/components/schemas/CategoryPurposeCode",
            "PROPRIETARY": "#/components/schemas/ProprietaryValue"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/CategoryPurposeCode"
          },
          {
            "$ref": "#/components/schemas/ProprietaryValue"
          }
        ],
        "type": "object"
      },
      "LocalInstrumentTypeCode": {
        "properties": {
          "schema": {
            "description": "Identifies the value as being a pre-defined code. Always `CODE`.",
            "type": "string"
          },
          "value": {
            "description": "* `0000` - BusinessPayment\n* `0001` - ConvertedBankPayment\n* `0002` - StandingOrder\n* `0090` - MassPaymentBeneficiary\n* `0091` - MassPaymentOurs\n* `0092` - MassPaymentShared\n* `0220` - StandingAuthorisationGeneral\n* `0221` - OneOffAuthorisation\n* `0222` - StandingAuthorisationCompanies\n* `0223` - StandingAuthorisationLotteries\n* `0224` - OneOffAuthorisationCharities\n* `0225` - OneOffAuthorisationTuitionFees\n* `0226` - OneOffAuthorisationConstructionIndustry\n* `0227` - StandingAuthorisationCompaniesWithoutDebtorRevocationRight\n* `04` - PreauthorisedDirectDebitDE\n* `05` - NonPreauthorisedDirectDebitDE\n* `08` - PreauthorisedDirectDebitOrdinaireNormalClearing4Day\n* `19` - BusinessToCustomerDirectDebit\n* `58` - BusinessToBusinessDirectDebit\n* `60` - RecoveredBillofExchangeorPromissoryNote\n* `82` - NonPreauthorisedDirectDebitAT\n* `83` - PreauthorisedDirectDebitAT\n* `85` - PreauthorisedDirectDebitAccéléréAcceleratedClearing2DayOrdinaireNormalClearing4Day\n* `89` - PreauthorisedDirectDebitVérifiéVerifiedClearing\n* `AC01` - IncorrectAccountNumber\n* `ACCEPT` - PaymentViaAcceptgiroOwnedByCurrence\n* `ADD` - AuthenticatedDirectDebit\n* `ARC` - AccountsReceivableCheck\n* `ASTI` - AncillarySystemTransferInitiation\n* `B2B` - SEPABusinessToBusinessDirectDebit\n* `B2BAMIPM` - SEPAB2BDirectDebitAMI\n* `BACP` - BackupPayment\n* `BPA` - BatchPaymentsAruba\n* `BSE` - PaperlessChequeCollection\n* `BTR` - BankTransfer\n* `CARD` - CardClearing\n* `CCD` - CashConcentrationOrDisbursementCorporateCounterparty\n* `CCI` - CashConcentrationIntragroup\n* `CHN` - TruncatedChecks\n* `CIE` - CustomerInitiatedEntry\n* `CKS` - CheckSameDaySettlementWire\n* `CLSCCPERX` - CLSClearedFXForEurex\n* `CLSCCPLCH` - CLSClearedFXForLCH\n* `COR1` - SEPADirectDebit1DaySettlement\n* `CORAMIPM` - SEPACoreDirectDebitAMI\n* `CORE` - SEPADirectDebitCore\n* `CPP` - CashPerPost\n* `CR1AMIPM` - SEPACoreD1DirectDebitAMI\n* `CRP` - CreditTransferPreferred\n* `CTP` - CustomerTransferPlus\n* `CTR` - CustomerTransfer\n* `CTX` - CorporateTradeExchange\n* `DDFA` - DirectDebitFixedAmount\n* `DDMC` - DirectDebitConfirmedElectronicMandate\n* `DDMP` - DirectDebitPaperMandateWithPaperAuthorisation\n* `DDMU` - DirectDebitUnconfirmedElectronicMandate\n* `DDNR` - CoreNoRefund\n* `DDT` - DirectDebits\n* `DEP` - DepositToSendersAccount\n* `DRB` - BankToBankDrawdownRequestOrResponseNonvalue\n* `DRC` - CustomerOrCorporateDrawdownRequestOrResponseNonvalue\n* `DRW` - DrawdownResponseValueToHonorADrawdownRequest\n* `FADAMIPM` - SEPAFADirectDebitAMI\n* `FFR` - FedFundsReturned\n* `FFS` - FedFundsSold\n* `GST` - TruncatedCreditTransfers\n* `IAT` - InternationalACH\n* `ICMC` - IncidentManagementCorrection\n* `IDEAL` - PaymentsViaInternetOwnedByCurrence\n* `IN` - CrossBorderCustomerCreditTransfer\n* `INST` - InstantCreditTransfer\n* `INSTIDEAL` - PaymentsViaInternetOwnedByCurrenceUsingInstantCreditTransfer\n* `INSTNT01` - InstantCreditTransferNotTimeCritical\n* `INSTNT01IDEAL` - PaymentsViaInternetOwnedByCurrenceUsingInstantCreditTransferNotTimeCritical\n* `INSTTC01` - InstantCreditTransferTimeCritical\n* `INSTTC01IDEAL` - PaymentsViaInternetOwnedByCurrenceUsingInstantCreditTransferTimeCritical\n* `IPA` - InstantPaymentsAruba\n* `ISE` - ImageBasedChequeCollection\n* `ITP` - InstantCreditTransferPreferred\n* `MANP` - MandatedPayment\n* `NLDO` - DutchDomesticBulkPayment\n* `NLGOV` - DirectDebitInitiatedByTheGovernmentWithSpecialConditions\n* `NLUP` - DutchUrgentPayment\n* `ONCL` - Overnight\n* `PERI` - PaymentWithERI\n* `POP` - PointOfPurchase\n* `POS` - PointOfSale\n* `PPD` - PrearrangedPaymentOrDepositConsumerCounterparty\n* `RCK` - RepresentedCheckEntry\n* `RDD` - ReturnedDirectDebits\n* `RIBA` - NonPreauthorisedDirectDebitRIBA\n* `RIDO` - PreauthorisedRevocableDirectDebit\n* `RIDV` - PreauthorisedRevocableUrgentDirectDebit\n* `RTR` - ReturnedCreditTransfers\n* `SBTI` - SettlementBankTransferInitiation\n* `SCN` - RevokedTruncatedChecks\n* `SDCL` - SameDayClearedPayments\n* `SDD` - RevokedDirectDebits\n* `SDN` - PaymentsViaStandaardDigitaleNota\n* `SGT` - RevokedTruncatedCreditTransfers\n* `SRD` - RevokedReturnedDirectDebits\n* `SRT` - RevokedReturnedCreditTransfers\n* `STR` - RevokedCreditTransfers\n* `SVC` - NonValueServiceMessage\n* `TEL` - TelephoneInitiatedEntry\n* `TRF` - CreditTransfers\n* `UDD` - UnauthenticatedDirectDebit\n* `WEB` - InternetInitiatedEntry\n",
            "enum": [
              "0000",
              "0001",
              "0002",
              90,
              91,
              92,
              "0220",
              "0221",
              "0222",
              "0223",
              "0224",
              "0225",
              "0226",
              "0227",
              "04",
              "05",
              8,
              "19",
              "58",
              "60",
              "82",
              "83",
              "85",
              "89",
              "AC01",
              "ACCEPT",
              "ADD",
              "ARC",
              "ASTI",
              "B2B",
              "B2BAMIPM",
              "BACP",
              "BPA",
              "BSE",
              "BTR",
              "CARD",
              "CCD",
              "CCI",
              "CHN",
              "CIE",
              "CKS",
              "CLSCCPERX",
              "CLSCCPLCH",
              "COR1",
              "CORAMIPM",
              "CORE",
              "CPP",
              "CR1AMIPM",
              "CRP",
              "CTP",
              "CTR",
              "CTX",
              "DDFA",
              "DDMC",
              "DDMP",
              "DDMU",
              "DDNR",
              "DDT",
              "DEP",
              "DRB",
              "DRC",
              "DRW",
              "FADAMIPM",
              "FFR",
              "FFS",
              "GST",
              "IAT",
              "ICMC",
              "IDEAL",
              "IN",
              "INST",
              "INSTIDEAL",
              "INSTNT01",
              "INSTNT01IDEAL",
              "INSTTC01",
              "INSTTC01IDEAL",
              "IPA",
              "ISE",
              "ITP",
              "MANP",
              "NLDO",
              "NLGOV",
              "NLUP",
              "ONCL",
              "PERI",
              "POP",
              "POS",
              "PPD",
              "RCK",
              "RDD",
              "RIBA",
              "RIDO",
              "RIDV",
              "RTR",
              "SBTI",
              "SCN",
              "SDCL",
              "SDD",
              "SDN",
              "SGT",
              "SRD",
              "SRT",
              "STR",
              "SVC",
              "TEL",
              "TRF",
              "UDD",
              "WEB"
            ],
            "type": "string"
          }
        },
        "required": [
          "value",
          "schema"
        ],
        "type": "object"
      },
      "LocalInstrumentType": {
        "discriminator": {
          "mapping": {
            "CODE": "#/components/schemas/LocalInstrumentTypeCode",
            "PROPRIETARY": "#/components/schemas/ProprietaryValue"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/LocalInstrumentTypeCode"
          },
          {
            "$ref": "#/components/schemas/ProprietaryValue"
          }
        ],
        "type": "object"
      },
      "ExternalServiceLevel1Code": {
        "description": "* `BKTR` (BookTransaction): Payment through internal book transfer.\n* `G001` (TrackedCustomerCreditTransfer): Tracked Customer Credit Transfer.\n* `G002` (TrackedStopAndRecall): Tracked Stop and Recall\n* `G003` (TrackedOutboundCorporateTransfer): Tracked Outbound Corporate Transfer.\n* `G004` (TrackedFinancialInstitutionTransfer): Tracked Financial Institution Transfer.\n* `NPCA` (NordicPaymentsCouncilAreaTransfer): Payments must be executed following the NPC Area Payment scheme.\n* `NUGP` (NonurgentPriorityPayment): Payment must be executed as a non-urgent transaction with priority settlement.\n* `NURG` (NonurgentPayment): Payment must be executed as a non-urgent transaction, which is typically identified as an ACH or low value transaction.\n* `PRPT` (EBAPriorityService): Transaction must be processed according to the EBA Priority Service.\n* `SDVA` (SameDayValue): Payment must be executed with same day value to the creditor.\n* `SEPA` (SingleEuroPaymentsArea): Payment must be executed following the Single Euro Payments Area scheme.\n* `SVDE` (DomesticChequeClearingAndSettlement): Payment execution following the cheque agreement and traveller cheque agreement of the German Banking Industry Committee (Die Deutsche Kreditwirtschaft - DK) and Deutsche Bundesbank – Scheck Verrechnung Deutschland.\n* `URGP` (UrgentPayment): Payment must be executed as an urgent transaction cleared through a real-time gross settlement system, which is typically identified as a wire or high value transaction.\n* `URNS` (UrgentPaymentNetSettlement): Payment must be executed as an urgent transaction cleared through a real-time net settlement system, which is typically identified as a wire or high value transaction.\n* `INST` (InstantCreditTransferOrInstantDirectDebit): Used for payment initiation to identify that a Payment or Direct Debit initiation must be executed as an instant or real-time payment instrument.\n* `SRTP` (ServiceRequestToPay): Request to Pay (RTP) transaction refers to an RTP scheme (such as for example the SEPA Request to Pay (SRTP) scheme).\n* `SVAT` (ScheckVerarbeitungAustria): Scheck Verarbeitung Austria (Cheque Processing).\n* `G006` (TrackedCaseManagement): Specifies the service conditions applicable to a tracked exceptions and investigations case.\n* `G007` (TrackedInboundCustomerCreditTransfer): Specifies the service level for a tracked inbound customer credit transfer.\n* `G005` (TrackedInstantCustomerCreditTransfer): Tracked Instant Customer Credit Transfer.\n* `G009` (TrackedLowValueCrossBorderCustomerCreditTransfer): Specifies the service level for a tracked low-value cross-border customer credit transfer.\n* `WFSM` (WaitForSettlement): Transaction is to be treated as an advice and only applied to the account of the creditor or next agent after settlement of the cover has been confirmed.\n* `EOLO` (EuroOneLegOut): Payment is executed following a Euro One-Leg Out Scheme.\n* `SPLI` (SplitPayment): A split payment is a payment that is split into several payments of lower value, namely with the purpose to comply with maximum amount thresholds applicable to some domestic Payment Market Infrastructures or to reduce counterparty liquidity risk.\n",
        "enum": [
          "BKTR",
          "G001",
          "G002",
          "G003",
          "G004",
          "NPCA",
          "NUGP",
          "NURG",
          "PRPT",
          "SDVA",
          "SEPA",
          "SVDE",
          "URGP",
          "URNS",
          "INST",
          "SRTP",
          "SVAT",
          "G006",
          "G007",
          "G005",
          "G009",
          "WFSM",
          "EOLO",
          "SPLI"
        ],
        "type": "string"
      },
      "ServiceLevelCode": {
        "properties": {
          "schema": {
            "description": "Identifies the value as being a pre-defined code. Always `CODE`.",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/ExternalServiceLevel1Code"
          }
        },
        "required": [
          "schema",
          "value"
        ],
        "type": "object"
      },
      "ServiceLevel": {
        "discriminator": {
          "mapping": {
            "CODE": "#/components/schemas/ServiceLevelCode",
            "PROPRIETARY": "#/components/schemas/ProprietaryValue"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/ServiceLevelCode"
          },
          {
            "$ref": "#/components/schemas/ProprietaryValue"
          }
        ],
        "type": "object"
      },
      "PaymentTypeInformation": {
        "properties": {
          "categoryPurpose": {
            "$ref": "#/components/schemas/CategoryPurpose"
          },
          "localInstrument": {
            "$ref": "#/components/schemas/LocalInstrumentType"
          },
          "serviceLevel": {
            "items": {
              "$ref": "#/components/schemas/ServiceLevel"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "PurposeTypeCode": {
        "properties": {
          "schema": {
            "description": "Identifies the value as being a pre-defined code. Always `CODE`.",
            "type": "string"
          },
          "value": {
            "description": "* `ACCT` : AccountManagement\n* `ADCS` : AdvisoryDonationCopyrightServices\n* `ADMG` : AdministrativeManagement\n* `ADVA` : AdvancePayment\n* `AEMP` : ActiveEmploymentPolicy\n* `AGRT` : AgriculturalTransfer\n* `AIRB` : Air\n* `ALLW` : Allowance\n* `ALMY` : AlimonyPayment\n* `AMEX` : Amex\n* `ANNI` : Annuity\n* `ANTS` : AnesthesiaServices\n* `AREN` : AccountsReceivablesEntry\n* `AUCO` : AuthenticatedCollections\n* `B112` : TrailerFeePayment\n* `BBSC` : BabyBonusScheme\n* `BCDM` : BearerChequeDomestic\n* `BCFG` : BearerChequeForeign\n* `BECH` : ChildBenefit\n* `BENE` : UnemploymentDisabilityBenefit\n* `BEXP` : BusinessExpenses\n* `BFWD` : BondForward\n* `BKDF` : BankLoanDelayedDrawFunding\n* `BKFE` : BankLoanFees\n* `BKFM` : BankLoanFundingMemo\n* `BKIP` : BankLoanAccruedInterestPayment\n* `BKPP` : BankLoanPrincipalPaydown\n* `BLDM` : BuildingMaintenance\n* `BNET` : BondForwardNetting\n* `BOCE` : BackOfficeConversionEntry\n* `BOND` : Bonds\n* `BONU` : BonusPayment.\n* `BR12` : TrailerFeeRebate\n* `BUSB` : Bus\n* `CABD` : CorporateActions-Bonds\n* `CAEQ` : CorporateActions-Equities\n* `CAFI` : CustodianManagementFeeInhouse\n* `CASH` : CashManagementTransfer\n* `CBCR` : CreditCard\n* `CBFF` : CapitalBuilding\n* `CBFR` : CapitalBuildingRetirement\n* `CBLK` : CardBulkClearing\n* `CBTV` : CableTVBill\n* `CCHD` : CashCompensationHelplessnessDisability\n* `CCIR` : CrossCurrencyIRS\n* `CCPC` : CCPClearedInitialMargin\n* `CCPM` : CCPClearedVariationMargin\n* `CCRD` : CreditCardPayment\n* `CCSM` : CCPClearedInitialMarginSegregatedCash\n* `CDBL` : CreditCardBill\n* `CDCB` : CardPaymentWithCashBack\n* `CDCD` : CashDisbursementCashSettlement\n* `CDCS` : CashDisbursementWithSurcharging\n* `CDDP` : CardDeferredPayment\n* `CDEP` : CreditDefaultEventPayment\n* `CDOC` : OriginalCredit\n* `CDQC` : QuasiCash\n* `CFDI` : CapitalFallingDueInhouse\n* `CFEE` : CancellationFee\n* `CGDD` : CardGeneratedDirectDebit\n* `CHAR` : CharityPayment\n* `CLPR` : CarLoanPrincipalRepayment\n* `CMDT` : CommodityTransfer\n* `COLL` : CollectionPayment\n* `COMC` : CommercialPayment\n* `COMM` : Commission\n* `COMP` : CompensationPayment\n* `COMT` : ConsumerThirdPartyConsolidatedPayment\n* `CORT` : TradeSettlementPayment\n* `COST` : Costs\n* `CPKC` : CarparkCharges\n* `CPYR` : Copyright\n* `CRDS` : CreditDefaultSwap\n* `CRPR` : CrossProduct\n* `CRSP` : CreditSupport\n* `CRTL` : CreditLine\n* `CSDB` : CashDisbursementCashManagement\n* `CSLP` : CompanySocialLoanPaymentToBank\n* `CVCF` : ConvalescentCareFacility\n* `DBCR` : DebitCard\n* `DBTC` : DebitCollectionPayment\n* `DCRD` : DebitCardPayment\n* `DEPT` : Deposit\n* `DERI` : Derivatives\n* `DICL` : Diners\n* `DIVD` : Dividend\n* `DMEQ` : DurableMedicaleEquipment\n* `DNTS` : DentalServices\n* `DSMT` : PrintedOrderDisbursement\n* `DVPM` : DeliverAgainstPayment\n* `ECPG` : GuaranteedEPayment\n* `ECPR` : EPaymentReturn\n* `ECPU` : NonGuaranteedEPayment\n* `EDUC` : Education\n* `EFTC` : LowValueCredit\n* `EFTD` : LowValueDebit\n* `ELEC` : ElectricityBill\n* `ENRG` : Energies\n* `EPAY` : Epayment\n* `EQPT` : EquityOption\n* `EQTS` : Equities\n* `EQUS` : EquitySwap\n* `ESTX` : EstateTax\n* `ETUP` : EPurseTopUp\n* `EXPT` : ExoticOption\n* `EXTD` : ExchangeTradedDerivatives\n* `FACT` : FactorUpdateRelatedPayment\n* `FAND` : FinancialAidInCaseOfNaturalDisaster\n* `FCOL` : FeeCollection\n* `FCPM` : LatePaymentOfFeesAndCharges\n* `FEES` : PaymentOfFees\n* `FERB` : Ferry\n* `FIXI` : FixedIncome\n* `FLCR` : FleetCard\n* `FNET` : FuturesNettingPayment\n* `FORW` : ForwardForeignExchange\n* `FREX` : ForeignExchange\n* `FUTR` : Futures\n* `FWBC` : ForwardBrokerOwnedCashCollateral\n* `FWCC` : ForwardClientOwnedCashCollateral\n* `FWLV` : ForeignWorkerLevy\n* `FWSB` : ForwardBrokerOwnedCashCollateralSegregated\n* `FWSC` : ForwardClientOwnedSegregatedCashCollateral\n* `FXNT` : ForeignExchangeRelatedNetting\n* `GAFA` : GovernmentFamilyAllowance\n* `GAHO` : GovernmentHousingAllowance\n* `GAMB` : GamblingOrWageringPayment\n* `GASB` : GasBill\n* `GDDS` : PurchaseSaleOfGoods\n* `GDSV` : PurchaseSaleOfGoodsAndServices\n* `GFRP` : GuaranteeFundRightsPayment\n* `GIFT` : Gift\n* `GOVI` : GovernmentInsurance\n* `GOVT` : GovernmentPayment\n* `GSCB` : PurchaseSaleOfGoodsAndServicesWithCashBack\n* `GSTX` : GoodsServicesTax\n* `GVEA` : AustrianGovernmentEmployeesCategoryA\n* `GVEB` : AustrianGovernmentEmployeesCategoryB\n* `GVEC` : AustrianGovernmentEmployeesCategoryC\n* `GVED` : AustrianGovernmentEmployeesCategoryD\n* `GWLT` : GovermentWarLegislationTransfer\n* `HEDG` : Hedging\n* `HLRP` : PropertyLoanRepayment\n* `HLST` : PropertyLoanSettlement\n* `HLTC` : HomeHealthCare\n* `HLTI` : HealthInsurance\n* `HREC` : HousingRelatedContribution\n* `HSPC` : HospitalCare\n* `HSTX` : HousingTax\n* `ICCP` : IrrevocableCreditCardPayment\n* `ICRF` : IntermediateCareFacility\n* `IDCP` : IrrevocableDebitCardPayment\n* `IHRP` : InstalmentHirePurchaseAgreement\n* `INPC` : InsurancePremiumCar\n* `INPR` : InsurancePremiumRefund\n* `INSC` : PaymentOfInsuranceClaim\n* `INSM` : Installment\n* `INSU` : InsurancePremium\n* `INTC` : IntraCompanyPayment\n* `INTE` : Interest\n* `INTP` : IntraPartyPayment\n* `INTX` : IncomeTax\n* `INVS` : InvestmentAndSecurities\n* `IPAY` : InstantPayments\n* `IPCA` : InstantPaymentsCancellation\n* `IPDO` : InstantPaymentsForDonations\n* `IPEA` : InstantPaymentsInECommerceWithoutAddressData\n* `IPEC` : InstantPaymentsInECommerceWithAddressData\n* `IPEW` : InstantPaymentsInECommerce\n* `IPPS` : InstantPaymentsAtPOS\n* `IPRT` : InstantPaymentsReturn\n* `IPU2` : InstantPaymentsUnattendedVendingMachineWith2FA\n* `IPUW` : InstantPaymentsUnattendedVendingMachineWithout2FA\n* `IVPT` : InvoicePayment\n* `LBIN` : LendingBuyInNetting\n* `LBRI` : LaborInsurance\n* `LCOL` : LendingCashCollateralFreeMovement\n* `LFEE` : LendingFees\n* `LICF` : LicenseFee\n* `LIFI` : LifeInsurance\n* `LIMA` : LiquidityManagement\n* `LMEQ` : LendingEquityMarkedToMarketCashCollateral\n* `LMFI` : LendingFixedIncomeMarkedToMarketCashCollateral\n* `LMRK` : LendingUnspecifiedTypeOfMarkedToMarketCashCollateral\n* `LOAN` : Loan\n* `LOAR` : LoanRepayment\n* `LOTT` : LotteryPayment\n* `LREB` : LendingRebatePayments\n* `LREV` : LendingRevenuePayments\n* `LSFL` : LendingClaimPayment\n* `LTCF` : LongTermCareFacility\n* `MAFC` : MedicalAidFundContribution\n* `MARF` : MedicalAidRefund\n* `MARG` : DailyMarginOnListedDerivatives\n* `MBSB` : MBSBrokerOwnedCashCollateral\n* `MBSC` : MBSClientOwnedCashCollateral\n* `MCDM` : MultiCurrenyChequeDomestic\n* `MCFG` : MultiCurrenyChequeForeign\n* `MDCS` : MedicalServices\n* `MGCC` : FuturesInitialMargin\n* `MGSC` : FuturesInitialMarginClientOwnedSegregatedCashCollateral\n* `MOMA` : MoneyMarket\n* `MP2B` : MobileP2BPayment\n* `MP2P` : MobileP2PPayment\n* `MSVC` : MultipleServiceTypes\n* `MTUP` : MobileTopUp\n* `NETT` : Netting\n* `NITX` : NetIncomeTax\n* `NOWS` : NotOtherwiseSpecified\n* `NWCH` : NetworkCharge\n* `NWCM` : NetworkCommunication\n* `OCCC` : ClientOwnedOCCPledgedCollateral\n* `OCDM` : OrderChequeDomestic\n* `OCFG` : OrderChequeForeign\n* `OFEE` : OpeningFee\n* `OPBC` : OTCOptionBrokerOwnedCashCollateral\n* `OPCC` : OTCOptionClientOwnedCashCollateral\n* `OPSB` : OTCOptionBrokerOwnedSegregatedCashCollateral\n* `OPSC` : OTCOptionClientOwnedCashSegregatedCashCollateral\n* `OPTN` : FXOption\n* `OTCD` : OTCDerivatives\n* `OTHR` : Other\n* `OTLC` : OtherTelecomRelatedBill\n* `PADD` : PreauthorizedDebit\n* `PAYR` : Payroll\n* `PCOM` : PropertyCompletionPayment\n* `PDEP` : PropertyDeposit\n* `PEFC` : PensionFundContribution\n* `PENO` : PaymentBasedOnEnforcementOrder\n* `PENS` : PensionPayment\n* `PHON` : TelephoneBill\n* `PLDS` : PropertyLoanDisbursement\n* `PLRF` : PropertyLoanRefinancing\n* `POPE` : PointOfPurchaseEntry\n* `PPTI` : PropertyInsurance\n* `PRCP` : PricePayment\n* `PRME` : PreciousMetal\n* `PTSP` : PaymentTerms\n* `PTXP` : PropertyTax\n* `RAPI` : RapidPaymentInstruction\n* `RCKE` : RepresentedCheckEntry\n* `RCPT` : ReceiptPayment\n* `RDTX` : RoadTax\n* `REBT` : Rebate\n* `REFU` : Refund\n* `RELG` : RentalLeaseGeneral\n* `RENT` : Rent\n* `REOD` : AccountOverdraftRepayment\n* `REPO` : RepurchaseAgreement\n* `RHBS` : RehabilitationSupport\n* `RIMB` : ReimbursementOfAPreviousErroneousTransaction\n* `RINP` : RecurringInstallmentPayment\n* `RLWY` : Railway\n* `ROYA` : Royalties\n* `RPBC` : BilateralRepoBrokerOwnedCollateral\n* `RPCC` : RepoClientOwnedCollateral\n* `RPNT` : BilateralRepoInternetNetting\n* `RPSB` : BilateralRepoBrokerOwnedSegregatedCashCollateral\n* `RPSC` : BilateralRepoClientOwnedSegregatedCashCollateral\n* `RRBN` : RoundRobin\n* `RRCT` : ReimbursementReceivedCreditTransfer\n* `RRTP` : RelatedRequestToPay\n* `RVPM` : ReceiveAgainstPayment\n* `RVPO` : ReverseRepurchaseAgreement\n* `SALA` : SalaryPayment\n* `SASW` : ATM\n* `SAVG` : Savings\n* `SBSC` : SecuritiesBuySellSellBuyBack\n* `SCIE` : SingleCurrencyIRSExotic\n* `SCIR` : SingleCurrencyIRS\n* `SCRP` : SecuritiesCrossProducts\n* `SCVE` : PurchaseSaleOfServices\n* `SECU` : Securities\n* `SEPI` : SecuritiesPurchaseInhouse\n* `SERV` : ServiceCharges\n* `SHBC` : BrokerOwnedCollateralShortSale\n* `SHCC` : ClientOwnedCollateralShortSale\n* `SHSL` : ShortSell\n* `SLEB` : SecuritiesLendingAndBorrowing\n* `SLOA` : SecuredLoan\n* `SLPI` : PaymentSlipInstruction\n* `SPLT` : SplitPayments\n* `SPSP` : SalaryPensionSumPayment\n* `SSBE` : SocialSecurityBenefit\n* `STDY` : Study\n* `SUBS` : Subscription\n* `SUPP` : SupplierPayment\n* `SWBC` : SwapBrokerOwnedCashCollateral\n* `SWCC` : SwapClientOwnedCashCollateral\n* `SWFP` : SwapContractFinalPayment\n* `SWPP` : SwapContractPartialPayment\n* `SWPT` : Swaption\n* `SWRS` : SwapContractResetPayment\n* `SWSB` : SwapsBrokerOwnedSegregatedCashCollateral\n* `SWSC` : SwapsClientOwnedSegregatedCashCollateral\n* `SWUF` : SwapContractUpfrontPayment\n* `TAXR` : TaxRefund\n* `TAXS` : TaxPayment\n* `TBAN` : TBAPairOffNetting\n* `TBAS` : ToBeAnnounced\n* `TBBC` : TBABrokerOwnedCashCollateral\n* `TBCC` : TBAClientOwnedCashCollateral\n* `TBIL` : TelecommunicationsBill\n* `TCSC` : TownCouncilServiceCharges\n* `TELI` : TelephoneInitiatedTransaction\n* `TLRF` : NonUSMutualFundTrailerFeePayment\n* `TLRR` : NonUSMutualFundTrailerFeeRebatePayment\n* `TMPG` : TMPGClaimPayment\n* `TPRI` : TriPartyRepoInterest\n* `TPRP` : TriPartyRepoNetting\n* `TRAD` : Commercial\n* `TRCP` : TreasuryCrossProduct\n* `TREA` : TreasuryPayment\n* `TRFD` : TrustFund\n* `TRNC` : TruncatedPaymentSlip\n* `TRPT` : RoadPricing\n* `TRVC` : TravellerCheque\n* `UBIL` : Utilities\n* `UNIT` : UnitTrustPurchase\n* `VATX` : ValueAddedTaxPayment\n* `VIEW` : VisionCare\n* `WEBI` : InternetInitiatedTransaction\n* `WHLD` : WithHolding\n* `WTER` : WaterBill\n",
            "enum": [
              "BKDF",
              "BKFE",
              "BKFM",
              "BKIP",
              "BKPP",
              "CBLK",
              "CDCB",
              "CDCD",
              "CDCS",
              "CDDP",
              "CDOC",
              "CDQC",
              "ETUP",
              "FCOL",
              "MTUP",
              "ACCT",
              "CASH",
              "COLL",
              "CSDB",
              "DEPT",
              "INTC",
              "INTP",
              "LIMA",
              "NETT",
              "BFWD",
              "CCIR",
              "CCPC",
              "CCPM",
              "CCSM",
              "CRDS",
              "CRPR",
              "CRSP",
              "CRTL",
              "EQPT",
              "EQUS",
              "EXPT",
              "EXTD",
              "FIXI",
              "FWBC",
              "FWCC",
              "FWSB",
              "FWSC",
              "MARG",
              "MBSB",
              "MBSC",
              "MGCC",
              "MGSC",
              "OCCC",
              "OPBC",
              "OPCC",
              "OPSB",
              "OPSC",
              "OPTN",
              "OTCD",
              "REPO",
              "RPBC",
              "RPCC",
              "RPSB",
              "RPSC",
              "RVPO",
              "SBSC",
              "SCIE",
              "SCIR",
              "SCRP",
              "SHBC",
              "SHCC",
              "SHSL",
              "SLEB",
              "SLOA",
              "SWBC",
              "SWCC",
              "SWPT",
              "SWSB",
              "SWSC",
              "TBAS",
              "TBBC",
              "TBCC",
              "TRCP",
              "AGRT",
              "AREN",
              "BEXP",
              "BOCE",
              "COMC",
              "CPYR",
              "GDDS",
              "GDSV",
              "GSCB",
              "LICF",
              "MP2B",
              "POPE",
              "ROYA",
              "SCVE",
              "SERV",
              "SUBS",
              "SUPP",
              "TRAD",
              "CHAR",
              "COMT",
              "MP2P",
              "ECPG",
              "ECPR",
              "ECPU",
              "EPAY",
              "CLPR",
              "COMP",
              "DBTC",
              "GOVI",
              "HLRP",
              "HLST",
              "INPC",
              "INPR",
              "INSC",
              "INSU",
              "INTE",
              "LBRI",
              "LIFI",
              "LOAN",
              "LOAR",
              "PENO",
              "PPTI",
              "RELG",
              "RINP",
              "TRFD",
              "FORW",
              "FXNT",
              "ADMG",
              "ADVA",
              "BCDM",
              "BCFG",
              "BLDM",
              "BNET",
              "CBFF",
              "CBFR",
              "CCRD",
              "CDBL",
              "CFEE",
              "CGDD",
              "CORT",
              "COST",
              "CPKC",
              "DCRD",
              "DSMT",
              "DVPM",
              "EDUC",
              "FACT",
              "FAND",
              "FCPM",
              "FEES",
              "GIFT",
              "GOVT",
              "ICCP",
              "IDCP",
              "IHRP",
              "INSM",
              "IVPT",
              "MCDM",
              "MCFG",
              "MSVC",
              "NOWS",
              "OCDM",
              "OCFG",
              "OFEE",
              "OTHR",
              "PADD",
              "PTSP",
              "RCKE",
              "RCPT",
              "REBT",
              "REFU",
              "RENT",
              "REOD",
              "RIMB",
              "RPNT",
              "RRBN",
              "RRCT",
              "RRTP",
              "RVPM",
              "SLPI",
              "SPLT",
              "STDY",
              "TBAN",
              "TBIL",
              "TCSC",
              "TELI",
              "TMPG",
              "TPRI",
              "TPRP",
              "TRNC",
              "TRVC",
              "WEBI",
              "IPAY",
              "IPCA",
              "IPDO",
              "IPEA",
              "IPEC",
              "IPEW",
              "IPPS",
              "IPRT",
              "IPU2",
              "IPUW",
              "ANNI",
              "CAFI",
              "CFDI",
              "CMDT",
              "DERI",
              "DIVD",
              "FREX",
              "HEDG",
              "INVS",
              "PRME",
              "SAVG",
              "SECU",
              "SEPI",
              "TREA",
              "UNIT",
              "FNET",
              "FUTR",
              "ANTS",
              "CVCF",
              "DMEQ",
              "DNTS",
              "HLTC",
              "HLTI",
              "HSPC",
              "ICRF",
              "LTCF",
              "MAFC",
              "MARF",
              "MDCS",
              "VIEW",
              "CDEP",
              "SWFP",
              "SWPP",
              "SWRS",
              "SWUF",
              "ADCS",
              "AEMP",
              "ALLW",
              "ALMY",
              "BBSC",
              "BECH",
              "BENE",
              "BONU",
              "CCHD",
              "COMM",
              "CSLP",
              "GFRP",
              "GVEA",
              "GVEB",
              "GVEC",
              "GVED",
              "GWLT",
              "HREC",
              "PAYR",
              "PEFC",
              "PENS",
              "PRCP",
              "RHBS",
              "SALA",
              "SPSP",
              "SSBE",
              "LBIN",
              "LCOL",
              "LFEE",
              "LMEQ",
              "LMFI",
              "LMRK",
              "LREB",
              "LREV",
              "LSFL",
              "ESTX",
              "FWLV",
              "GSTX",
              "HSTX",
              "INTX",
              "NITX",
              "PTXP",
              "RDTX",
              "TAXS",
              "VATX",
              "WHLD",
              "TAXR",
              "B112",
              "BR12",
              "TLRF",
              "TLRR",
              "AIRB",
              "BUSB",
              "FERB",
              "RLWY",
              "TRPT",
              "CBTV",
              "ELEC",
              "ENRG",
              "GASB",
              "NWCH",
              "NWCM",
              "OTLC",
              "PHON",
              "UBIL",
              "WTER",
              "BOND",
              "CABD",
              "CAEQ",
              "CBCR",
              "DBCR",
              "DICL",
              "EQTS",
              "FLCR",
              "EFTC",
              "EFTD",
              "MOMA",
              "RAPI",
              "GAMB",
              "LOTT",
              "GAFA",
              "GAHO",
              "AMEX",
              "SASW",
              "AUCO",
              "PCOM",
              "PDEP",
              "PLDS",
              "PLRF"
            ],
            "type": "string"
          }
        },
        "required": [
          "value",
          "schema"
        ],
        "type": "object"
      },
      "PurposeType": {
        "description": "Specifies the underlying reason for the payment transaction",
        "discriminator": {
          "mapping": {
            "CODE": "#/components/schemas/PurposeTypeCode",
            "PROPRIETARY": "#/components/schemas/ProprietaryValue"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/PurposeTypeCode"
          },
          {
            "$ref": "#/components/schemas/ProprietaryValue"
          }
        ],
        "type": "object"
      },
      "RegulatoryAuthority": {
        "properties": {
          "country": {
            "$ref": "#/components/schemas/CountryCode"
          },
          "name": {
            "description": "The name of the entity requiring the regulatory reporting information",
            "maxLength": 140,
            "type": "string"
          }
        },
        "type": "object"
      },
      "RegulatoryReportingDetail": {
        "properties": {
          "additionalInformation": {
            "description": "Additional details that cater for specific domestic regulatory requirements",
            "items": {
              "maxLength": 35,
              "type": "string"
            },
            "type": "array"
          },
          "amount": {
            "$ref": "#/components/schemas/Amount"
          },
          "code": {
            "description": "Specifies the nature, purpose, and reason for the transaction to be reported for regulatory\nand statutory requirements in a coded form.\n",
            "maxLength": 10,
            "type": "string"
          },
          "country": {
            "$ref": "#/components/schemas/CountryCode"
          },
          "date": {
            "format": "date",
            "type": "string"
          },
          "type": {
            "description": "Specifies the type of the information supplied in the regulatory reporting detail",
            "maxLength": 35,
            "type": "string"
          }
        },
        "type": "object"
      },
      "RegulatoryReporting": {
        "properties": {
          "applicability": {
            "description": "Identifies whether the regulatory reporting information applies to the debit side, to the credit\nside or to both debit and credit sides of the transaction.\n",
            "enum": [
              "CREDIT",
              "DEBIT",
              "BOTH"
            ],
            "type": "string"
          },
          "authority": {
            "$ref": "#/components/schemas/RegulatoryAuthority"
          },
          "details": {
            "items": {
              "$ref": "#/components/schemas/RegulatoryReportingDetail"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "CreditorReferenceType": {
        "discriminator": {
          "mapping": {
            "CODE": "#/components/schemas/CreditorReferenceTypeCode",
            "PROPRIETARY": "#/components/schemas/CreditorReferenceTypeProprietary"
          },
          "propertyName": "schema"
        },
        "properties": {
          "issuer": {
            "description": "Entity that assigns the credit reference type",
            "maxLength": 35,
            "type": "string"
          },
          "schema": {
            "description": "Identifies the value as being either proprietary (`PROPRIETARY`) or as being a pre-defined code (`CODE`).\n",
            "enum": [
              "CODE",
              "PROPRIETARY"
            ],
            "type": "string"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "CreditorReferenceTypeCode": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CreditorReferenceType"
          },
          {
            "description": "Specifies the type of creditor reference.",
            "properties": {
              "value": {
                "description": "* `RADM` (RemittanceAdviceMessage): Document is a remittance advice sent separately from the current transaction.\n* `RPIN` (RelatedPaymentInstruction): Document is a linked payment instruction to which the current payment instruction is related, for example, in a cover scenario.\n* `FXDR` (ForeignExchangeDealReference): Document is a pre-agreed or pre- arranged foreign exchange transaction to which the payment transaction refers.\n* `DISP` (DispatchAdvice): Document is a dispatch advice.\n* `PUOR` (PurchaseOrder): Document is a purchase order.\n* `SCOR` (StructuredCommunicationReference): Document is a structured communication reference provided by the creditor to identify the referred transaction.\n",
                "enum": [
                  "RADM",
                  "RPIN",
                  "FXDR",
                  "DISP",
                  "PUOR",
                  "SCOR"
                ],
                "type": "string"
              }
            },
            "required": [
              "value"
            ],
            "type": "object"
          }
        ],
        "type": "object"
      },
      "CreditorReferenceTypeProprietary": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CreditorReferenceType"
          },
          {
            "properties": {
              "value": {
                "$ref": "#/components/schemas/ProprietaryValueLiteral"
              }
            },
            "required": [
              "value"
            ],
            "type": "object"
          }
        ],
        "type": "object"
      },
      "CreditorReference": {
        "properties": {
          "reference": {
            "description": "Unique reference, as assigned by the creditor, to unambiguously refer to the payment transaction.",
            "maxLength": 35,
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/CreditorReferenceType"
          }
        },
        "type": "object"
      },
      "ReferredDocumentAmount": {
        "properties": {
          "duePayableAmount": {
            "$ref": "#/components/schemas/Amount",
            "description": "Amount specified is the exact amount due and payable to the creditor."
          },
          "remittedAmount": {
            "$ref": "#/components/schemas/Amount",
            "description": "Amount of money remitted for the referred document."
          }
        },
        "type": "object"
      },
      "ReferredDocumentType": {
        "discriminator": {
          "mapping": {
            "CODE": "#/components/schemas/ReferredDocumentTypeCode",
            "PROPRIETARY": "#/components/schemas/ReferredDocumentTypeProprietary"
          },
          "propertyName": "schema"
        },
        "properties": {
          "issuer": {
            "description": "Identification of the issuer of the reference document _type_.",
            "maxLength": 35,
            "type": "string"
          },
          "schema": {
            "description": "Identifies the value as being either proprietary (`PROPRIETARY`) or as being a pre-defined code (`CODE`).\n",
            "enum": [
              "CODE",
              "PROPRIETARY"
            ],
            "type": "string"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "ReferredDocumentTypeCode": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ReferredDocumentType"
          },
          {
            "description": "Specifies the type of referred document",
            "properties": {
              "value": {
                "description": "* `AROI` : AccountReceivableOpenItem\n* `BOLD` : BillOfLading\n* `CINV` : CommercialInvoice\n* `CMCN` : CommercialContract\n* `CNFA` : CreditNoteRelatedToFinancialAdjustment\n* `CREN` : CreditNote\n* `DEBN` : DebitNote\n* `DISP` : DispatchAdvice\n* `DNFA` : DebitNoteRelatedToFinancialAdjustment\n* `HIRI` : HireInvoice\n* `MSIN` : MeteredServiceInvoice\n* `PUOR` : PurchaseOrder\n* `SBIN` : SelfBilledInvoice\n* `SOAC` : StatementOfAccount\n* `TSUT` : TradeServicesUtilityTransaction\n* `VCHR` : Voucher\n",
                "enum": [
                  "AROI",
                  "BOLD",
                  "CINV",
                  "CMCN",
                  "CNFA",
                  "CREN",
                  "DEBN",
                  "DISP",
                  "DNFA",
                  "HIRI",
                  "MSIN",
                  "PUOR",
                  "SBIN",
                  "SOAC",
                  "TSUT",
                  "VCHR"
                ],
                "type": "string"
              }
            },
            "required": [
              "value"
            ],
            "type": "object"
          }
        ],
        "type": "object"
      },
      "ReferredDocumentTypeProprietary": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ReferredDocumentType"
          },
          {
            "properties": {
              "value": {
                "$ref": "#/components/schemas/ProprietaryValueLiteral"
              }
            },
            "required": [
              "value"
            ],
            "type": "object"
          }
        ],
        "type": "object"
      },
      "ReferredDocument": {
        "properties": {
          "documentIdentifier": {
            "description": "Unique and unambiguous identification of the referred document.",
            "maxLength": 35,
            "type": "string"
          },
          "relatedDate": {
            "description": "The date associated with the referred document.",
            "format": "date",
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/ReferredDocumentType"
          }
        },
        "type": "object"
      },
      "TaxParty": {
        "properties": {
          "registrationIdentification": {
            "description": "Unique identification, as assigned by an organisation, to unambiguously identify a party",
            "maxLength": 35,
            "minLength": 1,
            "type": "string"
          },
          "taxIdentification": {
            "description": "Tax identification number",
            "maxLength": 35,
            "minLength": 1,
            "type": "string"
          },
          "taxType": {
            "description": "Type of tax payer.",
            "maxLength": 35,
            "minLength": 1,
            "type": "string"
          }
        },
        "type": "object"
      },
      "TaxAuthorisation": {
        "properties": {
          "name": {
            "description": "Name of the tax payer or tax payer's authorised representative",
            "maxLength": 140,
            "minLength": 1,
            "type": "string"
          },
          "title": {
            "description": "Title or position of the tax payer or tax payer's authorised representative",
            "maxLength": 35,
            "minLength": 1,
            "type": "string"
          }
        },
        "type": "object"
      },
      "AuthorisedTaxParty": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TaxParty"
          },
          {
            "properties": {
              "authorisation": {
                "$ref": "#/components/schemas/TaxAuthorisation"
              }
            },
            "type": "object"
          }
        ]
      },
      "TaxRemittance": {
        "properties": {
          "creditor": {
            "$ref": "#/components/schemas/TaxParty"
          },
          "date": {
            "description": "Date by which tax is due",
            "format": "date",
            "type": "string"
          },
          "debtor": {
            "$ref": "#/components/schemas/AuthorisedTaxParty"
          },
          "referenceNumber": {
            "description": "Tax reference information that is specific to a taxing agency.",
            "maxLength": 140,
            "minLength": 1,
            "type": "string"
          },
          "sequenceNumber": {
            "description": "Sequential number of the tax report.",
            "format": "int64",
            "type": "integer"
          },
          "totalTaxAmount": {
            "$ref": "#/components/schemas/Amount"
          },
          "totalTaxableBaseAmount": {
            "$ref": "#/components/schemas/Amount"
          },
          "ultimateDebtor": {
            "$ref": "#/components/schemas/AuthorisedTaxParty"
          }
        },
        "type": "object"
      },
      "StructuredRemittanceInformation": {
        "properties": {
          "additionalRemittanceInformation": {
            "items": {
              "maxLength": 140,
              "type": "string"
            },
            "maxItems": 3,
            "type": "array"
          },
          "creditorReference": {
            "$ref": "#/components/schemas/CreditorReference"
          },
          "invoicer": {
            "$ref": "#/components/schemas/Party"
          },
          "originatorReference": {
            "description": "An explanation of the transaction, this field may be used to capture the information which may then be displayed on the payment originator's bank statement (ie. the debtor for a credit transfer or the creditor for a direct debit). This field is not supported by all Electrum partner implementations, and will be ignored if provided in an unsupported use-case.",
            "maxLength": 35,
            "type": "string"
          },
          "referredDocumentAmount": {
            "$ref": "#/components/schemas/ReferredDocumentAmount"
          },
          "referredDocuments": {
            "items": {
              "$ref": "#/components/schemas/ReferredDocument"
            },
            "type": "array"
          },
          "taxRemittance": {
            "$ref": "#/components/schemas/TaxRemittance"
          }
        },
        "type": "object"
      },
      "RemittanceInformation": {
        "properties": {
          "structured": {
            "items": {
              "$ref": "#/components/schemas/StructuredRemittanceInformation"
            },
            "type": "array"
          },
          "unstructured": {
            "items": {
              "maxLength": 140,
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "TaxInformation": {
        "properties": {
          "totalAmount": {
            "$ref": "#/components/schemas/Amount"
          }
        },
        "required": [
          "totalAmount"
        ],
        "type": "object"
      },
      "CreditTransfer": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseTransactionMessage"
          },
          {
            "description": "A model containing the necessary information to request a transfer funds between a payer and a payee\n",
            "properties": {
              "amounts": {
                "$ref": "#/components/schemas/TransactionAmounts"
              },
              "creditor": {
                "$ref": "#/components/schemas/Party",
                "description": "Party to which an amount of money is due.\n"
              },
              "creditorAccount": {
                "$ref": "#/components/schemas/PaymentAccount",
                "description": "Unambiguous identification of the account of the creditor to which a credit entry will be posted as a\nresult of the payment transaction.\n"
              },
              "creditorAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "Financial institution servicing an account for the creditor.\n"
              },
              "creditorAgentAccount": {
                "$ref": "#/components/schemas/PaymentAccount",
                "description": "Unambiguous identification of the account of the creditor agent at its servicing agent to which a credit\nentry will be made as a result of the payment transaction.\n"
              },
              "debtor": {
                "$ref": "#/components/schemas/Party",
                "description": "Party that owes an amount of money to the (ultimate) creditor.\n"
              },
              "debtorAccount": {
                "$ref": "#/components/schemas/PaymentAccount",
                "description": "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction.\n"
              },
              "debtorAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "Financial institution servicing an account for the debtor.\n"
              },
              "debtorAgentAccount": {
                "$ref": "#/components/schemas/PaymentAccount",
                "description": "Unambiguous identification of the account of the debtor agent at its servicing agent in the payment chain.\n"
              },
              "initiatingParty": {
                "$ref": "#/components/schemas/Party",
                "description": "Party that initiates the payment.\n"
              },
              "instructedAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "Agent that is instructed by the previous party in the chain to carry out the (set of) instruction(s).\n"
              },
              "instructingAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "Agent that instructs the next party in the chain to carry out the (set of) instruction(s)\n"
              },
              "instructionForCreditorAgent": {
                "description": "Further information related to the processing of the payment instruction, provided by the\ninitiating party, and intended for the creditor agent.\n",
                "items": {
                  "$ref": "#/components/schemas/CreditorAgentInstruction"
                },
                "minItems": 0,
                "type": "array"
              },
              "intermediaryAgents": {
                "description": "Agents between the debtor's agent and the creditor's agent.\nUsage: If more than one intermediary agent is present, then IntermediaryAgent1 identifies the agent\nbetween the DebtorAgent and the IntermediaryAgent2\n",
                "items": {
                  "$ref": "#/components/schemas/InstitutionIdentification"
                },
                "maxItems": 3,
                "type": "array"
              },
              "paymentScheme": {
                "$ref": "#/components/schemas/CreditTransferPaymentScheme"
              },
              "paymentTypeInformation": {
                "$ref": "#/components/schemas/PaymentTypeInformation",
                "description": "Set of elements used to further specify the type of transaction.\n"
              },
              "previousInstructingAgents": {
                "description": "Agent(s) between the debtor's agent and the instructing agent.\n",
                "items": {
                  "$ref": "#/components/schemas/InstitutionIdentification"
                },
                "maxItems": 3,
                "type": "array"
              },
              "purpose": {
                "$ref": "#/components/schemas/PurposeType"
              },
              "regulatoryReporting": {
                "items": {
                  "$ref": "#/components/schemas/RegulatoryReporting"
                },
                "maxItems": 10,
                "type": "array"
              },
              "remittanceInformation": {
                "$ref": "#/components/schemas/RemittanceInformation"
              },
              "schema": {
                "enum": [
                  "CreditTransfer"
                ],
                "type": "string"
              },
              "settlementDate": {
                "description": "Date on which the amount of money ceases to be available to the agent that owes it and\nwhen the amount of money becomes available to the agent to which it is due.\n",
                "format": "date",
                "type": "string"
              },
              "tax": {
                "$ref": "#/components/schemas/TaxInformation"
              }
            },
            "required": [
              "paymentScheme",
              "amounts",
              "creditor",
              "creditorAccount",
              "creditorAgent",
              "debtor",
              "debtorAgent",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "CreditTransferInitiationStatusRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseMessage"
          },
          {
            "properties": {
              "includeIndividualCreditsStatuses": {
                "description": "A flag to indicate if the status of each individual credit transfer, as per Electrum's view, should\nbe reflected in the response\n",
                "type": "boolean"
              },
              "originalMessageIdentifiers": {
                "$ref": "#/components/schemas/MessageIdentifiers",
                "description": "Details that identified the original message in this transaction flow to which this status request relates to\n"
              },
              "paymentInformationId": {
                "description": "Universally unique identifier to provide an end-to-end reference to the bulk initiation.\nThis identifier remains the same for all messages related to the bulk transaction.\nNote: this is distinct from the UETR's of the individual transactions.\n",
                "format": "UUID",
                "type": "string"
              },
              "schema": {
                "enum": [
                  "CreditTransferInitiationStatusRequest"
                ],
                "type": "string"
              }
            },
            "required": [
              "originalMessageIdentifiers",
              "paymentInformationId",
              "schema"
            ],
            "type": "object"
          }
        ],
        "description": "Provides details to identify a previously submitted bulk credit transfer initiation.\n"
      },
      "CreditTransferStatusRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseMessage"
          },
          {
            "properties": {
              "originalMessageIdentifiers": {
                "$ref": "#/components/schemas/MessageIdentifiers"
              },
              "originalTransactionIdentifiers": {
                "$ref": "#/components/schemas/TransactionIdentifiers"
              },
              "schema": {
                "enum": [
                  "CreditTransferStatusRequest"
                ],
                "type": "string"
              }
            },
            "required": [
              "originalMessageIdentifiers",
              "originalTransactionIdentifiers",
              "schema"
            ],
            "type": "object"
          }
        ],
        "description": "Provides details to identify a previously submitted credit transfer transaction.\n"
      },
      "ReturnReasonTypeCode": {
        "properties": {
          "schema": {
            "description": "Identifies the value as being a pre-defined code. Always `CODE`.",
            "type": "string"
          },
          "value": {
            "description": "* `AC01`: IncorrectAccountNumber\n* `AC03`: InvalidCreditorAccountNumber\n* `AC04`: ClosedAccountNumber\n* `AC06`: BlockedAccount\n* `AC13`: InvalidDebtorAccountType\n* `AC14`: InvalidAgent\n* `AC15`: AccountDetailsChanged\n* `AC16`: AccountInSequestration\n* `AC17`: AccountInLiquidation\n* `AG01`: TransactionForbidden\n* `AG02`: InvalidBankOperationCode\n* `AM01`: ZeroAmount\n* `AM02`: NotAllowedAmount\n* `AM03`: NotAllowedCurrency\n* `AM04`: InsufficientFunds\n* `AM05`: Duplication\n* `AM06`: TooLowAmount\n* `AM07`: BlockedAmount\n* `AM09`: WrongAmount\n* `AM10`: InvalidControlSum\n* `ARDT`: AlreadyReturnedTransaction\n* `BE01`: InconsistenWithEndCustomer\n* `BE04`: MissingCreditorAddress\n* `BE05`: UnrecognisedInitiatingParty\n* `BE06`: UnknownEndCustomer\n* `BE07`: MissingDebtorAddress\n* `BE08`: BankError\n* `CN01`: AuthorisationCancelled\n* `CNOR`: CreditorBankIsNotRegistered\n* `CNPC`: CashNotPickedUp\n* `CURR`: IncorrectCurrency\n* `CUST`: RequestedByCustomer\n* `DNOR`: DebtorBankIsNotRegistered\n* `DS28`: ReturnForTechnicalReason\n* `DT01`: InvalidDate\n* `DT02`: ChequeExpired\n* `ED01`: CorrespondentBankNotPossible\n* `ED03`: BalanceInfoRequest\n* `ED05`: SettlementFailed\n* `EMVL`: EMVLiabilityShift\n* `ERIN`: ERIOptionNotSupported\n* `FF05`: InvalidLocalInstrumentCode\n* `FOCR`: FollowingCancellationRequest\n* `FR01`: Fraud\n* `FRTR`: FinalResponseMandateCancelled\n* `MD01`: NoMandate\n* `MD02`: MissingMandatoryInformationInMandate\n* `MD06`: RefundRequestByEndCustomer\n* `MD07`: EndCustomerDeceased\n* `MS02`: NotSpecifiedReasonCustomerGenerated\n* `MS03`: NotSpecifiedReasonAgentGenerated\n* `NARR`: Narrative\n* `NOAS`: NoAnswerFromCustomer\n* `NOCM`: NotCompliant\n* `NOOR`: NoOriginalTransactionReceived\n* `PINL`: PINLiabilityShift\n* `RC01`: BankIdentifierIncorrect\n* `RC07`: InvalidCreditorBICIdentifier\n* `RF01`: NotUniqueTransactionReference\n* `RR01`: MissingDebtorAccountOrIdentification\n* `RR02`: MissingDebtorNameOrAddress\n* `RR03`: MissingCreditorNameOrAddress\n* `RR04`: RegulatoryReason\n* `RUTA`: ReturnUponUnableToApply\n* `SL01`: SpecificServiceOfferedByDebtorAgent\n* `SL02`: SpecificServiceOfferedByCreditorAgent\n* `SL11`: CreditorNotOnWhitelistOfDebtor\n* `SL12`: CreditorOnBlacklistOfDebtor\n* `SL13`: MaximumNumberOfDirectDebitTransactionsExceeded\n* `SL14`: MaximumDirectDebitTransactionAmountExceeded\n* `SP01`: PaymentStopped\n* `SP02`: PreviouslyStopped\n* `SVNR`: ServiceNotRendered\n* `TM01`: CutOffTime\n* `TRAC`: RemovedFromTracking\n* `UPAY`: UnduePayment\n* `AGNT`: IncorrectAgent\n* `FF06`: InvalidCategoryPurposeCode\n* `RC08`: InvalidClearingSystemMemberIdentifier\n* `BE11`: InvalidCreditorCountry\n* `BE17`: InvalidCreditorIdentificationCode\n* `AC02`: InvalidDebtorAccountNumber\n* `RR11`: InvalidDebtorAgentServiceIdentification\n* `BE10`: InvalidDebtorCountry\n* `BE16`: InvalidDebtorIdentificationCode\n* `RC11`: InvalidIntermediaryAgent\n* `RR12`: InvalidPartyIdentification\n* `FF03`: InvalidPaymentTypeInformation\n* `FF07`: InvalidPurpose\n* `FF04`: InvalidServiceLevelCode\n* `RR09`: InvalidStructuredCreditorReference\n* `RR05`: RegulatoryInformationInvalid\n* `RR07`: RemittanceInformationInvalid\n* `RR08`: RemittanceInformationTruncated\n* `RR06`: TaxInformationInvalid\n* `AG07`: UnsuccesfulDirectDebit\n* `G004`: CreditPendingFunds\n* `MD05`: CollectionNotDue\n* `AC07`: ClosedCreditorAccountNumber\n",
            "enum": [
              "AC01",
              "AC03",
              "AC04",
              "AC06",
              "AC13",
              "AC14",
              "AC15",
              "AC16",
              "AC17",
              "AG01",
              "AG02",
              "AM01",
              "AM02",
              "AM03",
              "AM04",
              "AM05",
              "AM06",
              "AM07",
              "AM09",
              "AM10",
              "ARDT",
              "BE01",
              "BE04",
              "BE05",
              "BE06",
              "BE07",
              "BE08",
              "CN01",
              "CNOR",
              "CNPC",
              "CURR",
              "CUST",
              "DNOR",
              "DS28",
              "DT01",
              "DT02",
              "ED01",
              "ED03",
              "ED05",
              "EMVL",
              "ERIN",
              "FF05",
              "FOCR",
              "FR01",
              "FRTR",
              "MD01",
              "MD02",
              "MD06",
              "MD07",
              "MS02",
              "MS03",
              "NARR",
              "NOAS",
              "NOCM",
              "NOOR",
              "PINL",
              "RC01",
              "RC07",
              "RF01",
              "RR01",
              "RR02",
              "RR03",
              "RR04",
              "RUTA",
              "SL01",
              "SL02",
              "SL11",
              "SL12",
              "SL13",
              "SL14",
              "SP01",
              "SP02",
              "SVNR",
              "TM01",
              "TRAC",
              "UPAY",
              "AGNT",
              "FF06",
              "RC08",
              "BE11",
              "BE17",
              "AC02",
              "RR11",
              "BE10",
              "BE16",
              "RC11",
              "RR12",
              "FF03",
              "FF07",
              "FF04",
              "RR09",
              "RR05",
              "RR07",
              "RR08",
              "RR06",
              "AG07",
              "G004",
              "MD05",
              "AC07"
            ],
            "type": "string"
          }
        },
        "required": [
          "schema",
          "value"
        ],
        "type": "object"
      },
      "ReturnReasonType": {
        "discriminator": {
          "mapping": {
            "CODE": "#/components/schemas/ReturnReasonTypeCode",
            "PROPRIETARY": "#/components/schemas/ProprietaryValue"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/ReturnReasonTypeCode"
          },
          {
            "$ref": "#/components/schemas/ProprietaryValue"
          }
        ],
        "type": "object"
      },
      "DisputeDetails": {
        "description": "Provides details about whether and how a debit may be disputed by the debtor. This model encapsulates\ndispute eligibility metadata which can be passed through pacs.003 payloads to downstream systems.\n",
        "properties": {
          "disputable": {
            "description": "Indicates whether the debit may be disputed by the debtor.\n",
            "type": "boolean"
          },
          "disputableReasons": {
            "description": "Reason codes indicating why the debit may or may not be disputed by the debtor.\n",
            "items": {
              "$ref": "#/components/schemas/ReturnReasonType"
            },
            "type": "array"
          },
          "disputePeriodDays": {
            "description": "The number of days from the action date of the collection during which the debtor is allowed to\ndispute the transaction. A value of 0 indicates that the transaction cannot be disputed.\n",
            "minimum": 0,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "MandateInformation": {
        "description": "Provides a reference to the direct debit mandate signed between the creditor and the debtor.\n\nNote: This model is not relevant to the `ZA_EFT` scheme. Electrum will not process these\nfields for EFT payments (e.g. tracking days are not honoured for EFT).\n",
        "properties": {
          "mandateIdentification": {
            "description": "Unique identification to unambiguously identify the mandate.\nThis links the direct debit collection to the original mandate.\n\nFor DebiCheck, this field contains the scheme-assigned Mandate Reference Number\nwhich is the authoritative identifier for linking collections to mandates.\n",
            "maxLength": 35,
            "type": "string"
          },
          "trackingDays": {
            "description": "Specifies the number of days the direct debit instruction must be tracked.\nThe debtor has this period to dispute the collection.\n",
            "maximum": 99,
            "minimum": 0,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "ZaMandateCollectionSchemeData": {
        "properties": {
          "creditorAbbreviatedShortName": {
            "description": "The Creditor Abbreviated Short Name (ABSN). This is a 3 to 10 character description of the Ultimate Creditor's name, business, or product that will appear on the debtor's bank statement.\nThis value MUST perfectly match the ABSN stored on the active Mandate Register at the Debtor Bank (i.e. must match the short name provided for the ultimateCreditor during mandate initiation). \nMismatches will result in scheme rejections.\n",
            "maxLength": 10,
            "minLength": 1,
            "type": "string"
          },
          "creditorContractReference": {
            "description": "The unique contract reference number issued by the Ultimate Creditor to the Payer/Debtor when the contract was concluded.\nThis value MUST perfectly match the Contract Reference stored on the active Mandate Register at the Debtor Bank. (i.e must match the identifier provided for `mandate.mandateRequestIdentification` during mandate initiation).\nMismatches will result in scheme rejections.\n",
            "maxLength": 14,
            "minLength": 1,
            "type": "string"
          },
          "userReference": {
            "description": "Under the DebiCheck scheme, the user reference expected to appear on debtor statements comprises the following:\n1. `creditorAbbreviatedShortName` - right-padded with spaces to exactly 10 characters (Characters 1–10)\n2. `creditorContractReference` - right-padded with spaces to exactly 14 characters (Characters 11–24)\n3. `requestedCollectionDate` (also known as cycle date) - formatted as `YYMMDD` (Characters 25–30)\n4. The remaining 110 characters are available for bill presentment. This text will also be captured as unstructured `remittanceInformation` in the `DirectDebit`.\nOnly the first 30 characters are required to appear on debtor statements. Allowed characters are limited to printable characters.\n\nThis field will be provided for all inbound requests to the partner. \nDo NOT populate this field for outbound requests. Instead, provide any bill presentment text (up to 110 characters) in the `DirectDebit` model under `remittanceInformation.unstructured`. \nThe engine will automatically concatenate the Creditor Short Name, Contract Reference, the `DirectDebit` `requestedCollectionDate`, and your unstructured remittance text to construct the final 140-character string required by the scheme.\n",
            "maxLength": 140,
            "pattern": "^[\\u0020-\\u007A]*$",
            "type": "string"
          }
        },
        "required": [
          "creditorAbbreviatedShortName",
          "creditorContractReference"
        ],
        "type": "object"
      },
      "ZaAcSchemeData": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ZaMandateCollectionSchemeData"
          }
        ],
        "description": "Scheme-specific data for Authenticated Collections (DebiCheck) direct debits. Unlike EFT, DebiCheck only\nsupports debit transactions (collections), so shortened account numbers used for EFT file generation are\nnot applicable here.\n",
        "type": "object"
      },
      "ZaAcDirectDebitPaymentScheme": {
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          },
          "schemeData": {
            "$ref": "#/components/schemas/ZaAcSchemeData"
          }
        },
        "required": [
          "schema",
          "schemeData"
        ],
        "type": "object"
      },
      "ZaEftDirectDebitPaymentScheme": {
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          },
          "schemeData": {
            "$ref": "#/components/schemas/ZaEftSchemeData"
          }
        },
        "required": [
          "schema",
          "schemeData"
        ],
        "type": "object"
      },
      "ZaRmsSchemeData": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ZaMandateCollectionSchemeData"
          }
        ],
        "description": "Scheme-specific data for Registered Mandate Service (DebiCheck) direct debits. Unlike EFT, DebiCheck only\nsupports debit transactions (collections), so shortened account numbers used for EFT file generation are\nnot applicable here.\n",
        "type": "object"
      },
      "ZaRmsDirectDebitPaymentScheme": {
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          },
          "schemeData": {
            "$ref": "#/components/schemas/ZaRmsSchemeData"
          }
        },
        "required": [
          "schema",
          "schemeData"
        ],
        "type": "object"
      },
      "DirectDebitPaymentScheme": {
        "description": "Designates which scheme a direct debit is associated with and describes scheme-specific information for the\ndirect debit.\n",
        "discriminator": {
          "mapping": {
            "ZA_AC": "#/components/schemas/ZaAcDirectDebitPaymentScheme",
            "ZA_EFT": "#/components/schemas/ZaEftDirectDebitPaymentScheme",
            "ZA_RMS": "#/components/schemas/ZaRmsDirectDebitPaymentScheme"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/ZaEftDirectDebitPaymentScheme"
          },
          {
            "$ref": "#/components/schemas/ZaAcDirectDebitPaymentScheme"
          },
          {
            "$ref": "#/components/schemas/ZaRmsDirectDebitPaymentScheme"
          }
        ],
        "type": "object"
      },
      "SequenceTypeCode": {
        "description": "Identifies the direct debit sequence:\n* `FRST` : First collection of a series of direct debit instructions.\n* `RCUR` : Direct debit instruction where the debtor's authorisation is used for regular direct debit transactions initiated by the creditor.\n* `FNAL` : Final collection of a series of direct debit instructions.\n* `OOFF` : Direct debit instruction where the debtor's authorisation is used to initiate one single direct debit transaction.\n* `RPRE` : Collection used to represent previously reversed or returned direct debit transactions.\n",
        "enum": [
          "FRST",
          "RCUR",
          "FNAL",
          "OOFF",
          "RPRE"
        ],
        "type": "string"
      },
      "DirectDebit": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseTransactionMessage"
          },
          {
            "description": "A model containing the necessary information to request a direct debit from a debtor account for a creditor.\n",
            "properties": {
              "amounts": {
                "$ref": "#/components/schemas/TransactionAmounts"
              },
              "creditor": {
                "$ref": "#/components/schemas/Party",
                "description": "Party to which an amount of money is due.\n"
              },
              "creditorAccount": {
                "$ref": "#/components/schemas/PaymentAccount",
                "description": "Unambiguous identification of the account of the creditor to which a credit entry will be posted as a\nresult of the payment transaction.\n"
              },
              "creditorAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "Financial institution servicing an account for the creditor.\n"
              },
              "creditorAgentAccount": {
                "$ref": "#/components/schemas/PaymentAccount",
                "description": "Unambiguous identification of the account of the creditor agent at its servicing agent to which a credit\nentry will be made as a result of the payment transaction.\n"
              },
              "debtor": {
                "$ref": "#/components/schemas/Party",
                "description": "Party that owes an amount of money to the (ultimate) creditor.\n"
              },
              "debtorAccount": {
                "$ref": "#/components/schemas/PaymentAccount",
                "description": "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result\nof the transaction.\n"
              },
              "debtorAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "Financial institution servicing an account for the debtor.\n"
              },
              "debtorAgentAccount": {
                "$ref": "#/components/schemas/PaymentAccount",
                "description": "Unambiguous identification of the account of the debtor agent at its servicing agent in the payment chain.\n"
              },
              "disputeDetails": {
                "$ref": "#/components/schemas/DisputeDetails",
                "description": "Provides details about whether and how the debit may be disputed by the debtor.\n"
              },
              "emergencyCollection": {
                "description": "Indicates that this direct debit was submitted via an emergency collection service.\nThe action date must equal the current processing date.\n",
                "type": "boolean"
              },
              "initiatingParty": {
                "$ref": "#/components/schemas/Party",
                "description": "Party that initiates the payment.\n"
              },
              "instructedAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "Agent that is instructed by the previous party in the chain to carry out the (set of) instruction(s).\n"
              },
              "instructingAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "Agent that instructs the next party in the chain to carry out the (set of) instruction(s).\n"
              },
              "intermediaryAgents": {
                "description": "Agents between the debtor's agent and the creditor's agent. If more than one intermediary agent is\npresent, then IntermediaryAgent1 identifies the agent between the DebtorAgent and the\nIntermediaryAgent2.\n",
                "items": {
                  "$ref": "#/components/schemas/InstitutionIdentification"
                },
                "maxItems": 3,
                "type": "array"
              },
              "mandateInformation": {
                "$ref": "#/components/schemas/MandateInformation",
                "description": "Provides details of the direct debit mandate signed between the creditor and the debtor.\n"
              },
              "paymentScheme": {
                "$ref": "#/components/schemas/DirectDebitPaymentScheme"
              },
              "paymentTypeInformation": {
                "$ref": "#/components/schemas/PaymentTypeInformation",
                "description": "Set of elements used to further specify the type of transaction.\n"
              },
              "purpose": {
                "$ref": "#/components/schemas/PurposeType"
              },
              "remittanceInformation": {
                "$ref": "#/components/schemas/RemittanceInformation"
              },
              "requestedCollectionDate": {
                "description": "Date and time at which the creditor requests that the amount of money is to be collected from the\ndebtor.\n",
                "format": "date",
                "type": "string"
              },
              "schema": {
                "enum": [
                  "DirectDebit"
                ],
                "type": "string"
              },
              "sequenceType": {
                "$ref": "#/components/schemas/SequenceTypeCode",
                "description": "Identifies the direct debit sequence, e.g. first, recurrent, final or one-off.\n"
              },
              "settlementDate": {
                "description": "Date on which the amount of money ceases to be available to the agent that owes it and\nwhen the amount of money becomes available to the agent to which it is due.\n",
                "format": "date",
                "type": "string"
              }
            },
            "required": [
              "paymentScheme",
              "amounts",
              "creditor",
              "creditorAgent",
              "debtor",
              "debtorAccount",
              "debtorAgent",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "DuplicateCheckStatus": {
        "description": "The outcome of a duplicate check.\n* `DUPLICATE`: one or more duplicates of the provided transaction were found.\n* `NOT_DUPLICATE`: no duplicate of the provided transaction was found.\n* `SKIPPED`: the duplicate check was not performed.\n",
        "enum": [
          "DUPLICATE",
          "NOT_DUPLICATE",
          "SKIPPED"
        ],
        "type": "string"
      },
      "DuplicateCheckResult": {
        "description": "The outcome of the duplicate check. `duplicateIdentifiers` is only present, and only ever populated, when `status` is `DUPLICATE`.\n",
        "properties": {
          "duplicateIdentifiers": {
            "description": "The identifiers of the transactions that the current transaction is an operational duplicate of. Only\npresent when `status` is `DUPLICATE`.\n",
            "items": {
              "type": "string"
            },
            "minItems": 1,
            "type": "array"
          },
          "status": {
            "$ref": "#/components/schemas/DuplicateCheckStatus"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "DuplicateCheckOutcome": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseMessage"
          },
          {
            "description": "A model to indicate whether or not a transaction is an operational duplicate of a transaction that has already been processed. In the case that the transaction is found to be a duplicate, this model provides the identifiers of the duplicate transactions.\n",
            "properties": {
              "messageIdentifiers": {
                "$ref": "#/components/schemas/MessageIdentifiers",
                "description": "Echoes the request's message identifiers.\n"
              },
              "result": {
                "$ref": "#/components/schemas/DuplicateCheckResult"
              },
              "schema": {
                "enum": [
                  "DuplicateCheckOutcome"
                ],
                "type": "string"
              }
            },
            "required": [
              "result",
              "schema",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "PaymentMessage": {
        "description": "The complete, unmodified payment instruction object that is being submitted for fraud evaluation.\n",
        "discriminator": {
          "mapping": {
            "CreditTransfer": "#/components/schemas/CreditTransfer",
            "DirectDebit": "#/components/schemas/DirectDebit"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/CreditTransfer"
          },
          {
            "$ref": "#/components/schemas/DirectDebit"
          }
        ]
      },
      "DuplicateCheckRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseMessage"
          },
          {
            "description": "A request containing the payment message and its identifiers, submitted to check whether the transaction is an operational duplicate of a transaction already processed.\n",
            "properties": {
              "messageIdentifiers": {
                "$ref": "#/components/schemas/MessageIdentifiers",
                "description": "Identifiers for this duplicate-check request message itself.\n"
              },
              "operationName": {
                "description": "The operationId of received transaction (e.g. outboundCreditTransfer, outboundDirectDebit), identifying the transaction's type and direction.\n",
                "type": "string"
              },
              "paymentMessage": {
                "$ref": "#/components/schemas/PaymentMessage",
                "description": "The complete, unmodified payment message being checked for duplication.\n"
              },
              "schema": {
                "enum": [
                  "DuplicateCheckRequest"
                ],
                "type": "string"
              }
            },
            "required": [
              "operationName",
              "paymentMessage",
              "messageIdentifiers",
              "schema",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorDetail": {
        "description": "A model carrying information detailing the reason for an error that occurred.\n",
        "properties": {
          "detail": {
            "description": "An optional string containing details relevant to the error, for example\nan explanation of which field(s) in a message body failed validation and why.\n",
            "type": "string"
          },
          "message": {
            "description": "A human friendly description of the error that occurred.",
            "type": "string"
          },
          "schema": {
            "enum": [
              "ErrorDetail"
            ],
            "type": "string"
          }
        },
        "required": [
          "schema",
          "message"
        ],
        "type": "object"
      },
      "Instruction": {
        "properties": {
          "code": {
            "description": "* `PHOA`: Please advise/contact next agent by phone\n* `TELA`: Please advise/contact next agent by the most efficient means of telecommunication.\n",
            "enum": [
              "PHOA",
              "TELA"
            ],
            "type": "string"
          },
          "information": {
            "description": "Further information complementing the coded instruction or instruction to the next agent that\nis bilaterally agreed or specific to a user community.\n",
            "maxLength": 140,
            "minLength": 1,
            "type": "string"
          }
        },
        "type": "object"
      },
      "CbprPlusFiToFiCreditTransferPaymentScheme": {
        "properties": {
          "schema": {
            "type": "string"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "FiToFiCreditTransferPaymentScheme": {
        "description": "Designates which scheme an FI to FI credit transfer is associated with and describes scheme-specific information\nfor it.\n",
        "discriminator": {
          "mapping": {
            "CBPR_PLUS": "#/components/schemas/CbprPlusFiToFiCreditTransferPaymentScheme"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/CbprPlusFiToFiCreditTransferPaymentScheme"
          }
        ],
        "type": "object"
      },
      "UnstructuredRemittanceInformation": {
        "description": "Information supplied to enable the matching of an entry with the items that the transfer is\nintended to settle, such as commercial invoices in an accounts' receivable system\n",
        "properties": {
          "unstructured": {
            "items": {
              "maxLength": 140,
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "FiToFiCreditTransfer": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseTransactionMessage"
          },
          {
            "description": "An FiToFiCreditTransfer is sent by a debtor financial institution to a creditor financial institution,\ndirectly or through other agents and/or a payment clearing and settlement system. It is used to move funds\nfrom a debtor account to a creditor, where both debtor and creditor are financial institutions.\n",
            "properties": {
              "creditor": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "The financial institution that receives an amount of money from the financial institutional debtor\n"
              },
              "creditorAccount": {
                "$ref": "#/components/schemas/PaymentAccount",
                "description": "Unambiguous identification of the account of the creditor to which a credit entry will be posted as a\nresult of the payment transaction.\n"
              },
              "creditorAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "Financial institution servicing an account for the creditor.\n"
              },
              "creditorAgentAccount": {
                "$ref": "#/components/schemas/PaymentAccount",
                "description": "Unambiguous identification of the account of the creditor agent at its servicing agent to which a credit\nentry will be made as a result of the payment transaction\n"
              },
              "debtor": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "The financial institution that owes an amount of money to the (ultimate) financial institutional creditor\n"
              },
              "debtorAccount": {
                "$ref": "#/components/schemas/PaymentAccount",
                "description": "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction.\n"
              },
              "debtorAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "Financial institution servicing an account for the debtor.\n"
              },
              "debtorAgentAccount": {
                "$ref": "#/components/schemas/PaymentAccount",
                "description": "Unambiguous identification of the account of the debtor agent at its servicing agent in the payment chain\n"
              },
              "instructedAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "Agent that is instructed by the previous party in the chain to carry out the (set of) instruction(s).\n"
              },
              "instructingAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "Agent that instructs the next party in the chain to carry out the (set of) instruction(s)\n"
              },
              "instructionForCreditorAgent": {
                "description": "Further information related to the processing of the payment instruction, provided by the\ninitiating party, and intended for the creditor agent.\n",
                "items": {
                  "$ref": "#/components/schemas/CreditorAgentInstruction"
                },
                "minItems": 0,
                "type": "array"
              },
              "instructionForNextAgent": {
                "description": "Further information related to the processing of the payment instruction that may need to be acted upon\nby the next agent, which is not the creditor agent.\n",
                "items": {
                  "$ref": "#/components/schemas/Instruction"
                },
                "minItems": 0,
                "type": "array"
              },
              "interbankSettlementAmount": {
                "$ref": "#/components/schemas/Amount"
              },
              "intermediaryAgents": {
                "description": "Agents between the debtor's agent and the creditor's agent.\nUsage: If more than one intermediary agent is present, then IntermediaryAgent1 identifies the agent\nbetween the DebtorAgent and the IntermediaryAgent2\n",
                "items": {
                  "$ref": "#/components/schemas/InstitutionIdentification"
                },
                "maxItems": 3,
                "type": "array"
              },
              "paymentScheme": {
                "$ref": "#/components/schemas/FiToFiCreditTransferPaymentScheme"
              },
              "paymentTypeInformation": {
                "$ref": "#/components/schemas/PaymentTypeInformation",
                "description": "Set of elements used to further specify the type of transaction.\n"
              },
              "purpose": {
                "$ref": "#/components/schemas/PurposeType"
              },
              "remittanceInformation": {
                "$ref": "#/components/schemas/UnstructuredRemittanceInformation"
              },
              "schema": {
                "enum": [
                  "FiToFiCreditTransfer"
                ],
                "type": "string"
              },
              "settlementDate": {
                "description": "Date on which the amount of money ceases to be available to the agent that owes it and\nwhen the amount of money becomes available to the agent to which it is due.\n",
                "format": "date",
                "type": "string"
              }
            },
            "required": [
              "paymentScheme",
              "interbankSettlementAmount",
              "debtor",
              "creditor",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "InstitutionChoice": {
        "properties": {
          "institution": {
            "$ref": "#/components/schemas/InstitutionIdentification"
          },
          "schema": {
            "enum": [
              "INSTITUTION"
            ],
            "type": "string"
          }
        },
        "required": [
          "schema",
          "institution"
        ],
        "type": "object"
      },
      "PartyChoice": {
        "properties": {
          "party": {
            "$ref": "#/components/schemas/Party"
          },
          "schema": {
            "enum": [
              "PARTY"
            ],
            "type": "string"
          }
        },
        "required": [
          "schema",
          "party"
        ],
        "type": "object"
      },
      "PartyInstitutionChoice": {
        "discriminator": {
          "mapping": {
            "INSTITUTION": "#/components/schemas/InstitutionChoice",
            "PARTY": "#/components/schemas/PartyChoice"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/PartyChoice"
          },
          {
            "$ref": "#/components/schemas/InstitutionChoice"
          }
        ]
      },
      "CaseAssignment": {
        "properties": {
          "assignee": {
            "$ref": "#/components/schemas/PartyInstitutionChoice"
          },
          "assigner": {
            "$ref": "#/components/schemas/PartyInstitutionChoice"
          },
          "creationDateTime": {
            "description": "The date and time at which the message was created, in senders local timezone or UTC.\nThe date *must* be formatted as defined by `date-time` in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n",
            "format": "date-time",
            "type": "string"
          },
          "identification": {
            "description": "Uniquely identifies a case assignment\n",
            "maxLength": 35,
            "type": "string"
          }
        },
        "required": [
          "assigner",
          "assignee",
          "identification",
          "creationDateTime"
        ],
        "type": "object"
      },
      "Case6": {
        "properties": {
          "creator": {
            "$ref": "#/components/schemas/PartyInstitutionChoice"
          },
          "identification": {
            "maxLength": 35,
            "type": "string"
          },
          "reopenCaseIndication": {
            "description": "Indicates whether or not the case was previously closed and is now re-opened",
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "ZaMandateFiToFiPaymentCancellationPaymentSchemeData": {
        "properties": {
          "cancellationType": {
            "description": "Identifies the specific business process applicable to the cancellation request.\n* `RECALL`: A request to revoke a payment instruction that has **not yet settled** or is currently in\n   **tracking**. If successful, the instruction is cancelled without financial movement (no settlement occurs).\n  If the partner makes use of Electrum's collections capabilities, this type is only expected for outbound use.\n* `SYSTEM_ERROR_CORRECTION_REQUEST`: Represents the case where a bank has experienced a technical issue that\n  resulted in settled debit collections being processed incorrectly (e.g., a batch of debits was duplicated),\n  and the industry bank is requesting that the partner bank correct the error.\n\n  A successful correction means the partner bank initiates a financial Payment Return to recover the funds\n  *from* the industry bank in order to refund the debtor.\n\n  This case is notably different from standard recalls and disputes in that:\n  (1) This strictly requires prior industry/PASA authorisation to invoke,\n  (2) it may be rejected by the partner bank if the correction cannot be applied (e.g., original transaction not found, or the transaction was already reversed via a customer dispute),\n  (3) partial reversals are not permitted, and\n  (4) the bank from industry is limited to exactly 2 (two) retry attempts for the same transaction if an earlier request was rejected.\n",
            "enum": [
              "RECALL",
              "SYSTEM_ERROR_CORRECTION_REQUEST"
            ],
            "type": "string"
          }
        },
        "required": [
          "cancellationType"
        ],
        "type": "object"
      },
      "ZaAcFiToFiPaymentCancellationPaymentSchemeData": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ZaMandateFiToFiPaymentCancellationPaymentSchemeData"
          }
        ],
        "type": "object"
      },
      "ZaAcFiToFiPaymentCancellationPaymentScheme": {
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          },
          "schemeData": {
            "$ref": "#/components/schemas/ZaAcFiToFiPaymentCancellationPaymentSchemeData"
          }
        },
        "required": [
          "schema",
          "schemeData"
        ],
        "type": "object"
      },
      "ZaEftFiToFiPaymentCancellationPaymentSchemeData": {
        "properties": {
          "cancellationType": {
            "description": "Identifies the type of EFT payment cancellation.\n* `SYSTEM_ERROR_CORRECTION_REQUEST`: Only expected for inbound use and represents the case where a bank from\n  industry has experienced a technical issue that resulted in payments to or from the partner bank being\n  reflected incorrectly (e.g. credits or debits were duplicated) and the industry bank is requesting that\n  the partner bank **attempt** to correct the error. A successful correction means that the partner bank will\n  initiate a financial Payment Return.\n\n  This case is notably different from unpaids, standard recalls and disputes in that:\n  (1) it strictly requires prior industry/PASA authorisation to invoke\n  (2) the system error correction request is expected to be best effort and may be rejected\n  by the partner bank if the request cannot be honoured (e.g. due to insufficient funds or a closed account)\n  (3) the bank from industry may retry system error correction requests for the same transaction on\n  different days if an earlier request was rejected.\n",
            "enum": [
              "SYSTEM_ERROR_CORRECTION_REQUEST"
            ],
            "type": "string"
          }
        },
        "required": [
          "cancellationType"
        ],
        "type": "object"
      },
      "ZaEftFiToFiPaymentCancellationPaymentScheme": {
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          },
          "schemeData": {
            "$ref": "#/components/schemas/ZaEftFiToFiPaymentCancellationPaymentSchemeData"
          }
        },
        "required": [
          "schema",
          "schemeData"
        ],
        "type": "object"
      },
      "ZaRmsFiToFiPaymentCancellationPaymentSchemeData": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ZaMandateFiToFiPaymentCancellationPaymentSchemeData"
          }
        ],
        "type": "object"
      },
      "ZaRmsFiToFiPaymentCancellationPaymentScheme": {
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          },
          "schemeData": {
            "$ref": "#/components/schemas/ZaRmsFiToFiPaymentCancellationPaymentSchemeData"
          }
        },
        "required": [
          "schema",
          "schemeData"
        ],
        "type": "object"
      },
      "FiToFiPaymentCancellationPaymentScheme": {
        "description": "Designates which scheme a payment cancellation is associated with and describes scheme-specific information for the\ncancellation.\n",
        "discriminator": {
          "mapping": {
            "ZA_AC": "#/components/schemas/ZaAcFiToFiPaymentCancellationPaymentScheme",
            "ZA_EFT": "#/components/schemas/ZaEftFiToFiPaymentCancellationPaymentScheme",
            "ZA_RMS": "#/components/schemas/ZaRmsFiToFiPaymentCancellationPaymentScheme"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/ZaEftFiToFiPaymentCancellationPaymentScheme"
          },
          {
            "$ref": "#/components/schemas/ZaAcFiToFiPaymentCancellationPaymentScheme"
          },
          {
            "$ref": "#/components/schemas/ZaRmsFiToFiPaymentCancellationPaymentScheme"
          }
        ],
        "type": "object"
      },
      "PaymentMethod": {
        "description": "* `CreditTransfer` - Transfer of an amount of money in the books of the account servicer.\n* `DirectDebit` - Collection of an amount of money from the debtor's account by the creditor, the amount and date of collection may vary.\n",
        "enum": [
          "CreditTransfer",
          "DirectDebit"
        ],
        "type": "string"
      },
      "BaseOriginalTransactionData": {
        "properties": {
          "amounts": {
            "$ref": "#/components/schemas/TransactionAmounts"
          },
          "creditorAccount": {
            "$ref": "#/components/schemas/PaymentAccount"
          },
          "creditorAgent": {
            "$ref": "#/components/schemas/InstitutionIdentification"
          },
          "creditorAgentAccount": {
            "$ref": "#/components/schemas/PaymentAccount"
          },
          "debtorAccount": {
            "$ref": "#/components/schemas/PaymentAccount"
          },
          "debtorAgent": {
            "$ref": "#/components/schemas/InstitutionIdentification"
          },
          "debtorAgentAccount": {
            "$ref": "#/components/schemas/PaymentAccount"
          },
          "paymentMethod": {
            "$ref": "#/components/schemas/PaymentMethod",
            "description": "Specifies the means of payment for the original transaction.\n"
          },
          "paymentTypeInformation": {
            "$ref": "#/components/schemas/PaymentTypeInformation"
          },
          "purpose": {
            "$ref": "#/components/schemas/PurposeType"
          },
          "remittanceInformation": {
            "$ref": "#/components/schemas/RemittanceInformation"
          },
          "settlementDate": {
            "description": "Date on which the amount of money ceases to be available to the agent that owes it and when the amount of\nmoney becomes available to the agent to which it is due.\n",
            "format": "date",
            "type": "string"
          },
          "supplementaryData": {
            "$ref": "#/components/schemas/SupplementaryData"
          }
        },
        "type": "object"
      },
      "OriginalTransactionReference": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseOriginalTransactionData"
          },
          {
            "properties": {
              "creditor": {
                "$ref": "#/components/schemas/PartyInstitutionChoice"
              },
              "debtor": {
                "$ref": "#/components/schemas/PartyInstitutionChoice"
              },
              "mandateInformation": {
                "$ref": "#/components/schemas/MandateInformation"
              }
            },
            "type": "object"
          }
        ],
        "description": "Contains key elements related to the original transaction that is being referred to.\n"
      },
      "CancellationReasonCode": {
        "properties": {
          "schema": {
            "description": "Identifies the value as being a pre-defined code. Always `CODE`.",
            "type": "string"
          },
          "value": {
            "description": "* `AC02` InvalidDebtorAccountNumber - Debtor account number invalid or missing.\n* `AC03` InvalidCreditorAccountNumber - Wrong account number in Credit Transfer.\n* `AGNT` IncorrectAgent - Agent in the payment workflow is incorrect.\n* `AM09` WrongAmount - Amount is not the amount agreed or expected.\n* `BE16` InvalidDebtorIdentificationCode - Debtor or Ultimate Debtor identification code missing or invalid.\n* `COVR` CoverCancelledOrReturned - Cover payments has either been returned or cancelled.\n* `CURR` IncorrectCurrency - Currency of the payment is incorrect.\n* `CUST` RequestedByCustomer - Cancellation requested by the Debtor.\n* `CUTA` CancelUponUnableToApply - Cancellation requested because an investigation request has been received and no remediation is possible.\n* `DS24` TimeOut - Cancellation requested because the original payment order expired due to time-out.\n* `DT01` InvalidDate - Invalid date (for example, wrong or missing settlement date).\n* `DUPL` DuplicatePayment - Payment is a duplicate of another payment.\n* `FRAD` FraudulentOrigin - Cancellation requested following a transaction that was originated fraudulently. The use of the FraudulentOrigin code should be governed by jurisdictions.\n* `FRNA` ForwardToNextAgent - To complement a rejection response, suggesting the request for cancelation should be forwarded to the next agent in the payment transaction chain.\n* `FRTR` FinalResponse - Direct Debit Tracking recalled as Mandate Cancelled\n* `INDM` IndemnityRequired - To express the wish to establish a bilateral indemnity agreement.\n* `MODT` ModifiedTransaction - The underlying transaction in relation to an RTP was modified.\n* `PAID` TransactionAlreadyPaid - The underlying transaction in relation to an RTP was already paid (via other means).\n* `SVNR` ServiceNotRendered - The payment is cancelled since a cash amount rendered was not correct or goods or a service was not rendered to the customer, e.g. in an e-commerce situation.\n* `SYAD` RequestToSettlementSystemAdministrator - Cancellation requested by System Member to Settlement System Administrator to indicate that the cancellation request must not be forwarded further in the chain.\n* `TECH` TechnicalProblem - Cancellation requested following technical problems resulting in an erroneous transaction.\n* `UPAY` UnduePayment - Payment is not justified.\n* `ENUE` EndUserError - Cancellation or request for return requested by the Debtor specifically due to one or more errors by debtor in the original Credit Transfer. Usage: This code can be used for any error in the original Credit Transfer made by the Debtor. Can also be used if multiple errors were made in the original Credit Transfer.\n* `UAPA` UnauthorizedPayment - \"The Debtor is requesting a return of the payment because the payment was not properly authorized. Usage: This code can be used in the case where a Credit Transfer was made without proper authorization from the Debtor. This could be due to compromised end user credentials.\"\n* `NARR` Narrative - Reason is provided as narrative information in the additional reason information.\n* `INCR` InvalidCancellationRequest - Process a cancellation request with incorrect reference to original batch.\n* `BIAS` BatchInstructionAlreadySettled - Process a cancellation request but batch already settled.\n* `DRTP` DuplicationRequestToPay - Duplication of a request-to-pay message.\n* `WNTB` WarrantyBreach - Breach of warranty provided in connection with a request for payment.\n* `MD06` RefundRequestByEndCustomer - Return of funds requested by end customer.\n* `PPRC` PayeeParticipantRTPCancellation - Request to Pay cancellation initiated because the Payee is not in good standing.\n* `ECAG` ErrorCreditorAgent - Payee (Creditor) cancels the Request To Pay (RTP) request due to error or adjustment agreement with Payer/Debtor.\n* `NFNA` NeverForwardToNextAgent - To complement a cancellation request, instructing the market infrastructure that the request for cancelation should not be forwarded to the next agent in the payment transaction chain.\n",
            "enum": [
              "AC02",
              "AC03",
              "AGNT",
              "AM09",
              "BE16",
              "COVR",
              "CURR",
              "CUST",
              "CUTA",
              "DS24",
              "DT01",
              "DUPL",
              "FRAD",
              "FRNA",
              "FRTR",
              "INDM",
              "MODT",
              "PAID",
              "SVNR",
              "SYAD",
              "TECH",
              "UPAY",
              "ENUE",
              "UAPA",
              "NARR",
              "INCR",
              "BIAS",
              "DRTP",
              "WNTB",
              "MD06",
              "PPRC",
              "ECAG",
              "NFNA"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "CancellationReason": {
        "description": "Specifies the reason for a payment cancellation",
        "discriminator": {
          "mapping": {
            "CODE": "#/components/schemas/CancellationReasonCode",
            "PROPRIETARY": "#/components/schemas/ProprietaryValue"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/CancellationReasonCode"
          },
          {
            "$ref": "#/components/schemas/ProprietaryValue"
          }
        ],
        "type": "object"
      },
      "CancellationReasonInfo": {
        "properties": {
          "additionalInformation": {
            "description": "Additional information about the reason.\n",
            "items": {
              "maxLength": 105,
              "type": "string"
            },
            "type": "array"
          },
          "originator": {
            "$ref": "#/components/schemas/Party"
          },
          "reason": {
            "$ref": "#/components/schemas/CancellationReason"
          }
        },
        "type": "object"
      },
      "UnderlyingTransaction": {
        "allOf": [
          {
            "$ref": "#/components/schemas/OriginalTransactionReference"
          },
          {
            "properties": {
              "cancellationId": {
                "maxLength": 35,
                "type": "string"
              },
              "cancellationReasonInfo": {
                "description": "Reason information for the cancellation",
                "items": {
                  "$ref": "#/components/schemas/CancellationReasonInfo"
                },
                "type": "array"
              }
            },
            "type": "object"
          }
        ]
      },
      "FiToFiPaymentCancellationRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseMessage"
          },
          {
            "description": "Sent by a financial institution to request the cancellation of an instruction previously sent.\n",
            "properties": {
              "assignment": {
                "$ref": "#/components/schemas/CaseAssignment"
              },
              "case": {
                "$ref": "#/components/schemas/Case6"
              },
              "originalTransactionIdentifiers": {
                "$ref": "#/components/schemas/TransactionIdentifiers",
                "description": "Identifies the original transaction to cancel"
              },
              "paymentScheme": {
                "$ref": "#/components/schemas/FiToFiPaymentCancellationPaymentScheme"
              },
              "schema": {
                "enum": [
                  "FiToFiPaymentCancellationRequest"
                ],
                "type": "string"
              },
              "underlyingTransaction": {
                "$ref": "#/components/schemas/UnderlyingTransaction"
              }
            },
            "required": [
              "originalTransactionIdentifiers",
              "paymentScheme",
              "underlyingTransaction",
              "assignment",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "BaseResponseMessage": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseMessage"
          },
          {
            "description": "An extension of `BaseMessage` which includes additional information pertinent to an asynchronous response\nmessage. In particular, original message identifiers.\n",
            "properties": {
              "originalMessageIdentifiers": {
                "$ref": "#/components/schemas/MessageIdentifiers"
              }
            },
            "required": [
              "originalMessageIdentifiers"
            ],
            "type": "object"
          }
        ]
      },
      "BaseTransactionResponseMessage": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseResponseMessage"
          },
          {
            "description": "An extension of `BaseTransactionMessage` which includes additional information pertinent to an asynchronous\nresponse message. In particular, original message identifiers.\n",
            "properties": {
              "transactionIdentifiers": {
                "$ref": "#/components/schemas/TransactionIdentifiers"
              }
            },
            "required": [
              "transactionIdentifiers"
            ],
            "type": "object"
          }
        ]
      },
      "FraudReportDetail": {
        "description": "The response to a fraud assessment request, containing the score and other details of the performed assessment.\n",
        "properties": {
          "details": {
            "description": "A list of strings acting as reasons or details associated with the risk score\n",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "score": {
            "description": "Indicates the measure of fraud associated with the submitted payment instruction after fraud evaluation.\n",
            "type": "string"
          }
        },
        "type": "object"
      },
      "RiskAssessmentStatus": {
        "description": "The outcome of the performed risk assessment on a submitted payment message.\n",
        "properties": {
          "outcome": {
            "description": "Indicates the outcome of the fraud assessment of the submitted payment instruction.\n- `PASSED`: The provided data passed the fraud assessment.\n- `FAILED`: The provided data failed the fraud assessment.\n- `PENDING`: The fraud assessment is still processing.\n",
            "enum": [
              "PASSED",
              "FAILED",
              "PENDING"
            ],
            "type": "string"
          }
        },
        "required": [
          "outcome"
        ],
        "type": "object"
      },
      "FraudAssessmentReport": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseTransactionResponseMessage"
          },
          {
            "description": "This model provides the outcome information of the fraud assessment.\n",
            "properties": {
              "report": {
                "$ref": "#/components/schemas/FraudReportDetail"
              },
              "schema": {
                "enum": [
                  "FraudAssessmentReport"
                ],
                "type": "string"
              },
              "status": {
                "$ref": "#/components/schemas/RiskAssessmentStatus"
              }
            },
            "required": [
              "status",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "FraudAssessmentRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseTransactionMessage"
          },
          {
            "description": "A FraudAssessmentRequest is sent with an enclosed payment instruction that is assessed for relevant risk.\n",
            "properties": {
              "paymentMessage": {
                "$ref": "#/components/schemas/PaymentMessage"
              },
              "schema": {
                "enum": [
                  "FraudAssessmentRequest"
                ],
                "type": "string"
              }
            },
            "required": [
              "paymentMessage",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "DeterminationRequest": {
        "description": "A request providing information for the lookup of a proxy or account in the context of the ZA RPP Payment Scheme:\n1. If the identifier schema is either MOBILE or CUSTOM, proxy resolution will be performed. In this case, the\n   `identifier.namespace` field is required.\n2. If the identifier schema is GENERIC, account resolution will be performed. In this case, the\n  `accountAgent.bicfi` field is required.\n",
        "discriminator": {
          "mapping": {
            "ZA_RPP": "#/components/schemas/ZaRppDeterminationRequest"
          },
          "propertyName": "schema"
        },
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "ZaRppIdentifier": {
        "discriminator": {
          "mapping": {
            "CUSTOM": "#/components/schemas/CustomIdentifier",
            "GENERIC": "#/components/schemas/GenericAccountIdentifier",
            "MOBILE": "#/components/schemas/MobileNumberIdentifier"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/MobileNumberIdentifier"
          },
          {
            "$ref": "#/components/schemas/CustomIdentifier"
          },
          {
            "$ref": "#/components/schemas/GenericAccountIdentifier"
          }
        ]
      },
      "ZaRppRequestor": {
        "discriminator": {
          "mapping": {
            "INSTITUTION_IDENTIFICATION": "#/components/schemas/InstitutionIdentificationWithSchemaAndDomain",
            "PARTY": "#/components/schemas/PartyWithSchema"
          },
          "propertyName": "schema"
        },
        "properties": {
          "schema": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "InstitutionIdentificationWithSchemaAndDomain": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ZaRppRequestor"
          },
          {
            "$ref": "#/components/schemas/InstitutionIdentification"
          },
          {
            "properties": {
              "domain": {
                "description": "A BankservAfrica-specific field requirement that associates this institution with a specific \"domain\"\n- which is essentially a type of namespace. This is the equivalent of the Electrum 'namespace' found on\nNon-Banking Identifiers, such as a MobileIdentifier\n",
                "maxLength": 35,
                "type": "string"
              }
            },
            "type": "object"
          }
        ]
      },
      "PartyWithSchema": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ZaRppRequestor"
          },
          {
            "$ref": "#/components/schemas/Party"
          }
        ]
      },
      "ZaRppDeterminationRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/DeterminationRequest"
          },
          {
            "properties": {
              "accountAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification"
              },
              "identifier": {
                "$ref": "#/components/schemas/ZaRppIdentifier"
              },
              "instructedAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification"
              },
              "instructingAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification"
              },
              "requestor": {
                "$ref": "#/components/schemas/ZaRppRequestor"
              },
              "uetr": {
                "description": "Universally unique identifier to provide an end-to-end reference.\nThis identifier remains the same for all messages related to the same transaction.\n",
                "format": "UUID",
                "type": "string"
              },
              "verificationIdentification": {
                "description": "Unique identifier for this specific verification request.\n",
                "maxLength": 35,
                "minLength": 1,
                "type": "string"
              }
            },
            "required": [
              "identifier",
              "uetr",
              "verificationIdentification"
            ],
            "type": "object"
          }
        ]
      },
      "IdentifierDeterminationRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseMessage"
          },
          {
            "properties": {
              "request": {
                "$ref": "#/components/schemas/DeterminationRequest"
              },
              "schema": {
                "enum": [
                  "IdentifierDeterminationRequest"
                ],
                "type": "string"
              }
            },
            "required": [
              "request",
              "schema"
            ],
            "type": "object"
          }
        ],
        "type": "object"
      },
      "IdentifierDeterminationReport": {
        "discriminator": {
          "mapping": {
            "ZA_RPP": "#/components/schemas/ZaRppIdentifierDeterminationReport"
          },
          "propertyName": "schema"
        },
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "ZaRppAccountInformation": {
        "properties": {
          "creationDate": {
            "description": "The date when the account referenced by this proxy identifier was created.\n",
            "format": "date-time",
            "type": "string"
          },
          "proxy": {
            "$ref": "#/components/schemas/NonBankingIdentifier"
          },
          "traditionalAccountType": {
            "$ref": "#/components/schemas/AccountType"
          },
          "traditionalIdentifier": {
            "$ref": "#/components/schemas/BankingIdentifier"
          }
        },
        "required": [
          "creationDate"
        ],
        "type": "object"
      },
      "ZaRppIdentificationReport": {
        "description": "A report providing information from the lookup of a proxy in the context of the ZA RPP Payment Scheme.\n\nThis report returns information required to proceed with the clearing of funds through the use of the `proxy`\n(identifier) provided in the identifier determination request. Specifically, this report will provide the outcome\nof the lookup of said identifier, indication whether it is valid or not, as well as provide the name (\"known as\nname\") of the creditor, and the legal name of the creditor (both of these are mandatory in the ZA RPP Payment\nScheme, despite not being mandatory in this API), namely:\n  - `accountOwner.knownAsName`\n  - `accountOwner.legalName`\n",
        "properties": {
          "accountAgent": {
            "$ref": "#/components/schemas/InstitutionIdentification"
          },
          "accountInformation": {
            "$ref": "#/components/schemas/ZaRppAccountInformation"
          },
          "accountOwner": {
            "$ref": "#/components/schemas/Party"
          },
          "outcome": {
            "enum": [
              "SUCCESSFUL",
              "FAILED"
            ],
            "type": "string"
          },
          "reasonCode": {
            "description": "* `AB06` :\tTransaction stopped due to timeout at the Instructed Agent.\n* `AB07` :\tAgent of message is not online. Generic usage if it cannot be determined who exactly is not online.\n* `AB10` :\tAn error occured at the instructed agent\n* `AC06` :\tAccount specified is blocked, prohibiting posting of transactions against it\n* `AG01` :\tTransaction forbidden on this type of account\n* `AG03` :\tTransaction type not supported/authorized on this account.\n* `AG10` :\tAgent of message is suspended from the Real Time Payment system. Generic usage if it cannot be determined who exactly is suspended.\n* `AGNT` :\tAgent in the payment workflow is incorrect\n* `AM02` :\tSpecific transaction/message amount is greater than allowed maximum (e.g. payee proxy participant service limit exceeded\n* `CH21` :\tMandatory element is missing .\n* `DT02` :\tInvalid creation date and time in Group Header (eg, historic date) .\n* `DU03` :\tTransaction is not unique.\n* `DUPL` :\tRequest is a duplicate of another request\n* `FF02` :\tSyntax error reason is provided as narrative information in the additional reason information.\n* `FF08` :\tEnd to End Id missing or invalid .\n* `NAUT` :\tPermission to be processed is not granted\n* `NOOR` :\tOriginal SCT never received\n* `PD01` :\tDomain not found or invalid\n* `PD02` :\tSuspended\tDomain provided is suspended pending investigation\n* `BE23` :\tPhone number or email address, or any other proxy, used as the account proxy is unknown or invalid.\n* `PX03` :\tProxy not found in central repository\n* `PX04` :\tFormat of proxy invalid\n* `RC05` :\tBIC identifier is invalid or missing.\n* `RC08` :\tClearingSystemMemberidentifier is invalid or missing. Generic usage if cannot specify between debit or credit account .\n* `RR10` :\tCharacter set supplied not valid for the country and payment type.\n* `RR12` :\tInvalid or missing identification required within a particular country or payment type.\n* `RF01` :\tTransaction reference is not unique within the message.\n* `AC16` :\tAccount in Sequestration\n* `AC17` :\tAccount in Liquidation\n* `AC04` :\tAccount Closed\n* `AC01` :\tFormat of the account number specified is not correct\n* `MD07` :\tAccount Holder Deceased\n* `NOCM` :\tCustomer account is not compliant with regulatory requirements, for example FICA (in South Africa) or any other regulatory requirements which render an account inactive for certain processing.\n* `BE01` :\tIdentification of end customer is not consistent with associated account number. (formerly CreditorConsistency).\n",
            "maxLength": 4,
            "minLength": 1,
            "type": "string"
          },
          "reasonDescription": {
            "description": "A description of the reason that the identification request failed.\nNOTE: Values longer than 35 characters may be truncated due to ZA RPP scheme restrictions.\n",
            "type": "string"
          },
          "transactionLimit": {
            "$ref": "#/components/schemas/Amount"
          }
        },
        "required": [
          "outcome"
        ],
        "type": "object"
      },
      "ZaRppIdentifierDeterminationReport": {
        "allOf": [
          {
            "$ref": "#/components/schemas/IdentifierDeterminationReport"
          },
          {
            "properties": {
              "instructedAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification"
              },
              "instructingAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification"
              },
              "instructionForCreatorAgent": {
                "description": "Further information related to the proxy resolution response, provided by the\nOperator, and intended for the creator agent.\n",
                "items": {
                  "$ref": "#/components/schemas/CreditorAgentInstruction"
                },
                "minItems": 0,
                "type": "array"
              },
              "originalRequestor": {
                "$ref": "#/components/schemas/ZaRppRequestor"
              },
              "originalUetr": {
                "description": "The universally unique identifier provided in the original request as an end-to-end reference.\nThis identifier remains the same for all messages related to the same transaction.\n",
                "format": "UUID",
                "type": "string"
              },
              "originalVerificationIdentification": {
                "description": "The `request.verificationIdentification` as provided in the original request.\n",
                "maxLength": 35,
                "minLength": 1,
                "type": "string"
              },
              "reportInformation": {
                "$ref": "#/components/schemas/ZaRppIdentificationReport"
              }
            },
            "required": [
              "schema",
              "originalUetr",
              "originalVerificationIdentification",
              "reportInformation"
            ],
            "type": "object"
          }
        ]
      },
      "IdentifierDeterminationResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseResponseMessage"
          },
          {
            "properties": {
              "report": {
                "$ref": "#/components/schemas/IdentifierDeterminationReport"
              },
              "schema": {
                "enum": [
                  "IdentifierDeterminationResponse"
                ],
                "type": "string"
              }
            },
            "required": [
              "report",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "SchemeDeregistration": {
        "discriminator": {
          "mapping": {
            "ZA_RPP": "#/components/schemas/ZaRppProxyIdentifierSchemeDeregistration"
          },
          "propertyName": "schema"
        },
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "ZaRppProxyIdentifierSchemeDeregistration": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SchemeDeregistration"
          },
          {
            "properties": {
              "participant": {
                "$ref": "#/components/schemas/InstitutionIdentification"
              },
              "registeredAccountId": {
                "$ref": "#/components/schemas/AccountIdentifier"
              }
            },
            "required": [
              "registeredAccountId"
            ],
            "type": "object"
          }
        ]
      },
      "IdentifierSchemeDeregistrationRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseMessage"
          },
          {
            "description": "Holds details of an account identifier and other information required to deregister the identifier.\nexternally with a scheme.\n",
            "properties": {
              "schema": {
                "enum": [
                  "IdentifierSchemeDeregistrationRequest"
                ],
                "type": "string"
              },
              "schemeDeregistration": {
                "$ref": "#/components/schemas/SchemeDeregistration"
              },
              "uetr": {
                "description": "Universally unique identifier to provide an end-to-end reference.\nThis identifier remains the same for all messages related to the same transaction.\n",
                "format": "UUID",
                "type": "string"
              }
            },
            "required": [
              "schemeDeregistration",
              "uetr",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "SchemeDeregistrationOutcome": {
        "discriminator": {
          "mapping": {
            "ZA_RPP": "#/components/schemas/ZaRppProxyIdentifierSchemeDeregistrationOutcome"
          },
          "propertyName": "schema"
        },
        "properties": {
          "deregistrationStatus": {
            "enum": [
              "ACCEPTED",
              "REJECTED"
            ],
            "type": "string"
          },
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          }
        },
        "required": [
          "schema",
          "deregistrationStatus"
        ],
        "type": "object"
      },
      "ZaRppProxyIdentifierSchemeDeregistrationOutcome": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SchemeDeregistrationOutcome"
          },
          {
            "properties": {
              "agent": {
                "$ref": "#/components/schemas/InstitutionIdentification"
              },
              "proxy": {
                "$ref": "#/components/schemas/NonBankingIdentifier"
              },
              "reasonCode": {
                "description": "* `AB06` : Timeout\n* `AB07` : OfflineAgent\n* `AB10` : ErrorInstructedAgent\n* `AG03` : TransactionNotSupported\n* `AG10` : AgentSuspended\n* `AM18` : InvalidNumberOfTransactions\n* `CH21` : RequiredCompulsoryElementMissing\n* `DT02` : InvalidCreationDate\n* `DUPL` : DuplicateRequest\n* `FF02` : SyntaxError\n* `NAUT` : NotAuthorised\n* `PD01` : ProxyDomainInvalid\n* `PX02` : InvalidProxy\n* `PX03` : ProxyNotFound\n* `PX04` : ProxyFormatInvalid\n* `PX05` : Restricted Proxy\n* `PX06` : Default proxy already exists\n* `RC02` : InvalidBankIdentifier\n* `RC08` : InvalidClearingSystemMemberIdentifier\n* `RR10` : InvalidCharacterSet\n* `RR12` : InvalidPartyID\n",
                "enum": [
                  "AB06",
                  "AB07",
                  "AB10",
                  "AG03",
                  "AG10",
                  "AM18",
                  "CH21",
                  "DT02",
                  "DUPL",
                  "FF02",
                  "NAUT",
                  "PD01",
                  "PX02",
                  "PX03",
                  "PX04",
                  "PX05",
                  "PX06",
                  "RC02",
                  "RC08",
                  "RR10",
                  "RR12"
                ],
                "type": "string"
              }
            },
            "required": [
              "agent",
              "proxy"
            ],
            "type": "object"
          }
        ]
      },
      "IdentifierSchemeDeregistrationResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseResponseMessage"
          },
          {
            "description": "Holds details of the outcome of the deregistration of an identifier externally with a scheme.",
            "properties": {
              "schema": {
                "enum": [
                  "IdentifierSchemeDeregistrationResponse"
                ],
                "type": "string"
              },
              "schemeRegistrationOutcome": {
                "$ref": "#/components/schemas/SchemeDeregistrationOutcome"
              },
              "uetr": {
                "description": "Universally unique identifier to provide an end-to-end reference.\nThis identifier remains the same for all messages related to the same transaction.\n",
                "format": "UUID",
                "type": "string"
              }
            },
            "required": [
              "schemeRegistrationOutcome",
              "uetr",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "SchemeRegistration": {
        "discriminator": {
          "mapping": {
            "ZA_RPP": "#/components/schemas/ZaRppProxyIdentifierSchemeRegistration"
          },
          "propertyName": "schema"
        },
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "ZaRppProxyIdentifierSchemeRegistration": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SchemeRegistration"
          },
          {
            "properties": {
              "identifier": {
                "$ref": "#/components/schemas/NonBankingIdentifier"
              },
              "participant": {
                "$ref": "#/components/schemas/InstitutionIdentification"
              }
            },
            "type": "object"
          }
        ]
      },
      "IdentifierSchemeRegistrationRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseMessage"
          },
          {
            "description": "Holds details of an account identifier and other information required to register the identifier externally with a scheme.",
            "properties": {
              "schema": {
                "enum": [
                  "IdentifierSchemeRegistrationRequest"
                ],
                "type": "string"
              },
              "schemeRegistration": {
                "$ref": "#/components/schemas/SchemeRegistration"
              },
              "uetr": {
                "description": "Universally unique identifier to provide an end-to-end reference.\nThis identifier remains the same for all messages related to the same transaction.\n",
                "format": "UUID",
                "type": "string"
              }
            },
            "required": [
              "schemeRegistration",
              "uetr",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "SchemeRegistrationOutcome": {
        "discriminator": {
          "mapping": {
            "ZA_RPP": "#/components/schemas/ZaRppProxyIdentifierSchemeRegistrationOutcome"
          },
          "propertyName": "schema"
        },
        "properties": {
          "registrationStatus": {
            "enum": [
              "ACCEPTED",
              "REJECTED"
            ],
            "type": "string"
          },
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          }
        },
        "required": [
          "schema",
          "registrationStatus"
        ],
        "type": "object"
      },
      "ZaRppProxyIdentifierSchemeRegistrationOutcome": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SchemeRegistrationOutcome"
          },
          {
            "properties": {
              "agent": {
                "$ref": "#/components/schemas/InstitutionIdentification"
              },
              "proxy": {
                "$ref": "#/components/schemas/NonBankingIdentifier"
              },
              "reasonCode": {
                "description": "* `AB06` : Timeout\n* `AB07` : OfflineAgent\n* `AB10` : ErrorInstructedAgent\n* `AG03` : TransactionNotSupported\n* `AG10` : AgentSuspended\n* `AM18` : InvalidNumberOfTransactions\n* `CH21` : RequiredCompulsoryElementMissing\n* `DT02` : InvalidCreationDate\n* `DUPL` : DuplicateRequest\n* `FF02` : SyntaxError\n* `NAUT` : NotAuthorised\n* `PD01` : ProxyDomainInvalid\n* `PX02` : InvalidProxy\n* `PX03` : ProxyNotFound\n* `PX04` : ProxyFormatInvalid\n* `PX05` : Restricted Proxy\n* `PX06` : Default proxy already exists\n* `RC02` : InvalidBankIdentifier\n* `RC08` : InvalidClearingSystemMemberIdentifier\n* `RR10` : InvalidCharacterSet\n* `RR12` : InvalidPartyID\n",
                "enum": [
                  "AB06",
                  "AB07",
                  "AB10",
                  "AG03",
                  "AG10",
                  "AM18",
                  "CH21",
                  "DT02",
                  "DUPL",
                  "FF02",
                  "NAUT",
                  "PD01",
                  "PX02",
                  "PX03",
                  "PX04",
                  "PX05",
                  "PX06",
                  "RC02",
                  "RC08",
                  "RR10",
                  "RR12"
                ],
                "type": "string"
              }
            },
            "required": [
              "agent",
              "proxy"
            ],
            "type": "object"
          }
        ]
      },
      "IdentifierSchemeRegistrationResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseResponseMessage"
          },
          {
            "description": "Holds details of the outcome of the registration of an identifier externally with a scheme.",
            "properties": {
              "schema": {
                "enum": [
                  "IdentifierSchemeRegistrationResponse"
                ],
                "type": "string"
              },
              "schemeRegistrationOutcome": {
                "$ref": "#/components/schemas/SchemeRegistrationOutcome"
              },
              "uetr": {
                "description": "Universally unique identifier to provide an end-to-end reference.\nThis identifier remains the same for all messages related to the same transaction.\n",
                "format": "UUID",
                "type": "string"
              }
            },
            "required": [
              "schemeRegistrationOutcome",
              "uetr",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "OriginalTransactionData": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseOriginalTransactionData"
          },
          {
            "properties": {
              "creditor": {
                "$ref": "#/components/schemas/Party"
              },
              "debtor": {
                "$ref": "#/components/schemas/Party"
              },
              "initiatingParty": {
                "$ref": "#/components/schemas/Party"
              }
            },
            "type": "object"
          }
        ],
        "description": "Contains key elements related to the original transaction that is being referred to.\n"
      },
      "TcibPaymentReturnPaymentScheme": {
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "ZaMandatePaymentReturnPaymentSchemeData": {
        "properties": {
          "returnType": {
            "description": "Identifies the type of Authenticated Collections / Registered Mandate Service payment return (pacs.004).\n\n* `DISPUTE`: Occurs when a Payer (debtor) successfully disputes a processed Authenticated Collections \n  or Registered Mandates debit instruction at their bank. \n  Under direct debit clearing rules, a dispute action allows the debtor to reverse a processed collection \n  instruction. Valid dispute reasons include cases where the collection amount was incorrect \n  (`ReturnReasonTypeCode` `AM02` - 'not allowed amount') or the collection date was incorrect \n  (`ReturnReasonTypeCode` `DT01` - 'invalid date').\n  The Debtor Bank initiates this payment return to reverse the funds from the Creditor.\n\n* `SYSTEM_ERROR_CORRECTION_REQUEST`: Represents a payment return that is generated as the successful\n  financial resolution of a System Error Correction (Bank Error) process. In this scenario, the\n  Creditor Bank (after obtaining mandatory industry/PASA authorisation) previously submitted a cancellation\n  request due to a technical issue, such as an erroneously duplicated debit batch.\n  This payment return is the subsequent financial reversal initiated by the Debtor Bank to recover the\n  erroneously collected funds from the Creditor in order to refund the debtor.\n",
            "enum": [
              "DISPUTE",
              "SYSTEM_ERROR_CORRECTION_REQUEST"
            ],
            "type": "string"
          },
          "userReference": {
            "description": "A reference for the payment return that will appear on statements. This is mapped to the `RmtInf/Ustrd`\nfield. Allowed characters are limited to printable ASCII (space through 'z').\n",
            "maxLength": 30,
            "pattern": "^[\\u0020-\\u007A]*$",
            "type": "string"
          }
        },
        "required": [
          "returnType"
        ],
        "type": "object"
      },
      "ZaAcPaymentReturnPaymentSchemeData": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ZaMandatePaymentReturnPaymentSchemeData"
          }
        ],
        "description": "Scheme-specific data for Authenticated Collections (DebiCheck) payment returns.\n",
        "type": "object"
      },
      "ZaAcPaymentReturnPaymentScheme": {
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          },
          "schemeData": {
            "$ref": "#/components/schemas/ZaAcPaymentReturnPaymentSchemeData"
          }
        },
        "required": [
          "schema",
          "schemeData"
        ],
        "type": "object"
      },
      "ZaEftPaymentReturnPaymentSchemeData": {
        "properties": {
          "originalUserReference": {
            "description": "The original user reference associated with the returned payment. This value mirrors the\n`userReference` that was supplied on the initial EFT transaction.\n",
            "type": "string"
          },
          "returnType": {
            "description": "Identifies the type of EFT payment return.\n* `UNPAID`: Occurs when a payment cannot be completed successfully by the homing bank such as due to\n  insufficient funds or account closure. Note that it is impossible for Electrum to reject unpaids received\n  from industry, so a negative payment return response from the partner will always result in a\n  reconciliation exception for inbound unpaids.\n* `DISPUTE`: Occurs when there is a disagreement between the creditor and debtor regarding a payment and,\n  after investigation with the assistance of their respective banks, the creditor's bank (in the case of a\n  credit) or the debtor's bank (in the case of a debit) decides that the payment should be returned. As for\n  unpaids, it is impossible for Electrum to reject disputes received from industry, so a negative payment\n  return response results in a reconciliation exception for inbound disputes.\n* `SYSTEM_ERROR_CORRECTION_REQUEST`: Only expected for inbound use and represents the case where a bank from\n  industry has experienced a technical issue that resulted in payments to or from the partner bank being\n  reflected incorrectly (e.g. credits or debits were duplicated) and the industry bank is requesting that\n  the partner bank **attempt** to correct the error. This case is notably different from unpaids and\n  disputes in that (1) the system error correction request is expected to be best effort and may be rejected\n  by the partner bank if the request cannot be honoured (e.g. due to insufficient funds) and (2) the bank\n  from industry may retry system error correction requests for the same transaction on different days if an\n  earlier request was rejected. **Important:** use of this value is **deprecated**, as inbound SEC requests\n  should now be received as FiToFiPaymentCancellation messages instead.\n* `HOME_BACK`: Occurs when a payment cannot be completed successfully at the operator such as a lack of\n  information required to route to the correct homing bank. Note that it is impossible for Electrum to reject\n  homebacks received from industry, so a negative payment return response from the partner will always result\n  in a reconciliation exception for inbound homebacks.\n* `SYSTEM_ERROR_CORRECTION_RESPONSE`: Indicates that this return is in response to a (successful) inbound \n  system error correction request received earlier (as a FiToFiPaymentCancellationRequest). Electrum will\n  mark the SEC request as successful and process the return to industry.\n",
            "enum": [
              "UNPAID",
              "DISPUTE",
              "SYSTEM_ERROR_CORRECTION_REQUEST",
              "HOME_BACK",
              "SYSTEM_ERROR_CORRECTION_RESPONSE"
            ],
            "type": "string"
          },
          "shortenedCreditorAccountNumber": {
            "$ref": "#/components/schemas/ShortenedAccountNumber"
          },
          "shortenedDebtorAccountNumber": {
            "$ref": "#/components/schemas/ShortenedAccountNumber"
          },
          "userCode": {
            "description": "A code allocated by PayInc. Sometimes also referred to as `BankCode`. May equal Installation code for in-house operation.\n",
            "maxLength": 4,
            "type": "string"
          }
        },
        "required": [
          "returnType"
        ],
        "type": "object"
      },
      "ZaEftPaymentReturnPaymentScheme": {
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          },
          "schemeData": {
            "$ref": "#/components/schemas/ZaEftPaymentReturnPaymentSchemeData"
          }
        },
        "required": [
          "schema",
          "schemeData"
        ],
        "type": "object"
      },
      "ZaRmsPaymentReturnPaymentSchemeData": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ZaMandatePaymentReturnPaymentSchemeData"
          }
        ],
        "description": "Scheme-specific data for Registered Mandate Service (DebiCheck) payment returns.\n",
        "type": "object"
      },
      "ZaRmsPaymentReturnPaymentScheme": {
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          },
          "schemeData": {
            "$ref": "#/components/schemas/ZaRmsPaymentReturnPaymentSchemeData"
          }
        },
        "required": [
          "schema",
          "schemeData"
        ],
        "type": "object"
      },
      "PaymentReturnPaymentScheme": {
        "description": "Designates which scheme a payment return is associated with and describes scheme-specific information for the\nreturn.\n",
        "discriminator": {
          "mapping": {
            "TCIB": "#/components/schemas/TcibPaymentReturnPaymentScheme",
            "ZA_AC": "#/components/schemas/ZaAcPaymentReturnPaymentScheme",
            "ZA_EFT": "#/components/schemas/ZaEftPaymentReturnPaymentScheme",
            "ZA_RMS": "#/components/schemas/ZaRmsPaymentReturnPaymentScheme"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/ZaEftPaymentReturnPaymentScheme"
          },
          {
            "$ref": "#/components/schemas/ZaAcPaymentReturnPaymentScheme"
          },
          {
            "$ref": "#/components/schemas/ZaRmsPaymentReturnPaymentScheme"
          },
          {
            "$ref": "#/components/schemas/TcibPaymentReturnPaymentScheme"
          }
        ],
        "type": "object"
      },
      "ReturnReasonInfo": {
        "description": "Provides detailed information on the return reason.\n",
        "properties": {
          "additionalInformation": {
            "description": "A human friendly description of the return reason including any further details if applicable.\n",
            "type": "string"
          },
          "reason": {
            "$ref": "#/components/schemas/ReturnReasonType"
          }
        },
        "required": [
          "reason"
        ],
        "type": "object"
      },
      "PaymentReturn": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseTransactionMessage"
          },
          {
            "description": "A model containing the necessary information to request a return of funds after settlement of credit\ntransfer instructions or direct debit instructions.\n\nNOTE: Neither `creditorAccount` nor `debtorAccount` are required fields, but `creditorAccount` is expected\nto be present for returns of direct debits, and similarly `debtorAccount` is expected to be present for\nreturns of credit transfers.\n\nNOTE: `transactionIdentifiers` on this message identifies the original transaction being returned, so\n`transactionIdentifiers.instructionIdentification`, `transactionIdentifiers.transactionIdentification` and\n`transactionIdentifiers.endToEndIdentification` all refer to the original instruction and not to the\nreturn. The return itself is identified by `returnIdentification`.\n",
            "properties": {
              "creditor": {
                "$ref": "#/components/schemas/Party",
                "description": "Party to which an amount of money is due.\n"
              },
              "creditorAccount": {
                "$ref": "#/components/schemas/PaymentAccount",
                "description": "Unambiguous identification of the account of the creditor to which a credit entry will be posted as a\nresult of the payment transaction.\n"
              },
              "creditorAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "Financial institution servicing an account for the creditor.\n"
              },
              "creditorAgentAccount": {
                "$ref": "#/components/schemas/PaymentAccount",
                "description": "Unambiguous identification of the account of the creditor agent at its servicing agent to which a credit\nentry will be made as a result of the payment transaction.\n"
              },
              "debtor": {
                "$ref": "#/components/schemas/Party",
                "description": "Party that owes an amount of money to the (ultimate) creditor.\n"
              },
              "debtorAccount": {
                "$ref": "#/components/schemas/PaymentAccount",
                "description": "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result\nof the transaction.\n"
              },
              "debtorAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "Financial institution servicing an account for the debtor.\n"
              },
              "debtorAgentAccount": {
                "$ref": "#/components/schemas/PaymentAccount",
                "description": "Unambiguous identification of the account of the debtor agent at its servicing agent in the payment chain.\n"
              },
              "initiatingParty": {
                "$ref": "#/components/schemas/Party",
                "description": "Party that initiates the instruction.\n"
              },
              "instructedAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "The instructed agent is the party receiving the return message and not the party that received the\noriginal instruction that is being returned.\n"
              },
              "instructingAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "The instructing agent is the party sending the return message and not the party that sent the original\ninstruction that is being returned.\n"
              },
              "mandateInformation": {
                "$ref": "#/components/schemas/MandateInformation",
                "description": "Provides details of the direct debit mandate signed between the creditor and the debtor.\n"
              },
              "originalMessageIdentifiers": {
                "$ref": "#/components/schemas/MessageIdentifiers",
                "description": "Identifiers for the original payment instruction (such as a `CreditTransfer` or `DirectDebit` message)\nassociated with this return.\n"
              },
              "originalTransactionData": {
                "$ref": "#/components/schemas/OriginalTransactionData"
              },
              "paymentScheme": {
                "$ref": "#/components/schemas/PaymentReturnPaymentScheme"
              },
              "paymentTypeInformation": {
                "$ref": "#/components/schemas/PaymentTypeInformation",
                "description": "Set of elements used to further specify the type of transaction.\n"
              },
              "reasonInfo": {
                "description": "A list of `ReturnReasonInfo` values providing detailed reason information for the return.\n",
                "items": {
                  "$ref": "#/components/schemas/ReturnReasonInfo"
                },
                "minItems": 1,
                "type": "array"
              },
              "returnIdentification": {
                "description": "Unique identification, as assigned by an instructing party for an instructed party, to unambiguously\nidentify the returned transaction.\n\nNote: the instructing party is the party sending the return, and not the party that sent the original\ninstruction being returned. This identification is therefore distinct from the identifiers in\n`transactionIdentifiers`, which all identify the original transaction rather than the return.\n\nThis field is optional in both directions. On an inbound return it carries the identifier assigned by\nthe sending party. On an outbound return it may be omitted, in which case Electrum assigns a value\nthat meets the scheme's requirements.\n\nSchemes may constrain the format. In the `ZA_AC` and `ZA_RMS` scheme the value takes the form\n`RTN/<4 alphanumeric characters>/<YYYY-MM-DD>/<9 digits>`, for example `RTN/ABCD/2026-09-23/000000001`,\nand must form a contiguous daily sequence, so a value supplied here has to satisfy both.\n",
                "maxLength": 35,
                "type": "string"
              },
              "returnedAmounts": {
                "$ref": "#/components/schemas/TransactionAmounts",
                "description": "Represents the amount of money to be moved between the instructing agent and the instructed agent in the\nreturned instruction.\n"
              },
              "schema": {
                "enum": [
                  "PaymentReturn"
                ],
                "type": "string"
              },
              "settlementDate": {
                "description": "Date on which the amount of money ceases to be available to the agent that owes it and\nwhen the amount of money becomes available to the agent to which it is due.\n",
                "format": "date",
                "type": "string"
              }
            },
            "required": [
              "paymentScheme",
              "returnedAmounts",
              "creditor",
              "creditorAgent",
              "debtor",
              "debtorAgent",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "BasePaymentStatusReport": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseTransactionResponseMessage"
          },
          {
            "properties": {
              "instructedAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "The instructed agent is the party receiving the status message and not the party that received the\noriginal instruction that is being reported on.\n"
              },
              "instructingAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "The instructing agent is the party sending the status message and not the party that sent the original\ninstruction that is being reported on.\n"
              },
              "status": {
                "$ref": "#/components/schemas/Status"
              }
            },
            "required": [
              "status"
            ],
            "type": "object"
          }
        ]
      },
      "CbprPlusPaymentStatusReportPaymentScheme": {
        "properties": {
          "schema": {
            "type": "string"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "TcibPaymentStatusReportPaymentScheme": {
        "properties": {
          "schema": {
            "type": "string"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "ZaAcPaymentStatusReportPaymentScheme": {
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "ZaEftPaymentStatusReportPaymentScheme": {
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "ZaRmsPaymentStatusReportPaymentScheme": {
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "ZaRppPaymentStatusReportPaymentScheme": {
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "ZaRtcPaymentStatusReportPaymentSchemeData": {
        "properties": {
          "authorisationId": {
            "description": "A unique number assigned by the beneficiary bank to identify the transaction if it is approved.\nMust remain unaltered by the originator.\n",
            "maxLength": 6,
            "pattern": "^[\\dA-z ]*$",
            "type": "string"
          },
          "beneficiaryEchoData": {
            "description": "Echo data reserved for beneficiary use. Must remain unaltered by the originator.",
            "maxLength": 20,
            "pattern": "^[\\dA-z ]*$",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ZaRtcPaymentStatusReportPaymentScheme": {
        "properties": {
          "originalSchemeData": {
            "$ref": "#/components/schemas/ZaRtcCreditTransferPaymentSchemeData"
          },
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          },
          "schemeData": {
            "$ref": "#/components/schemas/ZaRtcPaymentStatusReportPaymentSchemeData"
          }
        },
        "required": [
          "schema",
          "originalSchemeData",
          "schemeData"
        ],
        "type": "object"
      },
      "PaymentStatusReportPaymentScheme": {
        "description": "Designates which scheme a payment status report is associated with and describes scheme-specific information\nfor the payment status report.\n",
        "discriminator": {
          "mapping": {
            "CBPR_PLUS": "#/components/schemas/CbprPlusPaymentStatusReportPaymentScheme",
            "TCIB": "#/components/schemas/TcibPaymentStatusReportPaymentScheme",
            "ZA_AC": "#/components/schemas/ZaAcPaymentStatusReportPaymentScheme",
            "ZA_EFT": "#/components/schemas/ZaEftPaymentStatusReportPaymentScheme",
            "ZA_RMS": "#/components/schemas/ZaRmsPaymentStatusReportPaymentScheme",
            "ZA_RPP": "#/components/schemas/ZaRppPaymentStatusReportPaymentScheme",
            "ZA_RTC": "#/components/schemas/ZaRtcPaymentStatusReportPaymentScheme"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/ZaRtcPaymentStatusReportPaymentScheme"
          },
          {
            "$ref": "#/components/schemas/ZaRppPaymentStatusReportPaymentScheme"
          },
          {
            "$ref": "#/components/schemas/ZaEftPaymentStatusReportPaymentScheme"
          },
          {
            "$ref": "#/components/schemas/CbprPlusPaymentStatusReportPaymentScheme"
          },
          {
            "$ref": "#/components/schemas/ZaAcPaymentStatusReportPaymentScheme"
          },
          {
            "$ref": "#/components/schemas/ZaRmsPaymentStatusReportPaymentScheme"
          },
          {
            "$ref": "#/components/schemas/TcibPaymentStatusReportPaymentScheme"
          }
        ],
        "type": "object"
      },
      "PaymentStatusReport": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BasePaymentStatusReport"
          },
          {
            "properties": {
              "mandateInformation": {
                "$ref": "#/components/schemas/MandateInformation"
              },
              "originalTransactionData": {
                "$ref": "#/components/schemas/OriginalTransactionData"
              },
              "paymentScheme": {
                "$ref": "#/components/schemas/PaymentStatusReportPaymentScheme"
              },
              "schema": {
                "enum": [
                  "PaymentStatusReport"
                ],
                "type": "string"
              }
            },
            "required": [
              "paymentScheme",
              "schema"
            ],
            "type": "object"
          }
        ],
        "description": "This message is used to report information about the positive or negative status of a FI to FI customer payment\ninstruction, or to report on a pending FI to FI customer instruction.\n\nThe fields `instructingAgent`, `instructedAgent` and `originalTransactionData` are not mandatory, but will\nalways be populated in payment status reports sent by Electrum.\n"
      },
      "TransactionDirection": {
        "description": "Indicates the direction of the original payment, from the perspective of Electrum and the Partner.\n",
        "enum": [
          "INBOUND",
          "OUTBOUND",
          "ON_US"
        ],
        "type": "string"
      },
      "PostingRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseTransactionMessage"
          },
          {
            "description": "A model containing the necessary information to perform a posting to the banking ledger after a payment has completed successfully.",
            "properties": {
              "aggregatedTransactionCount": {
                "description": "A count of how many payments are aggregated into this posting",
                "type": "integer"
              },
              "amount": {
                "$ref": "#/components/schemas/Amount"
              },
              "creditor": {
                "$ref": "#/components/schemas/Party",
                "description": "Party to which an amount of money is due.\n"
              },
              "creditorAccount": {
                "$ref": "#/components/schemas/PaymentAccount",
                "description": "Unambiguous identification of the account of the creditor to which a credit entry will be made."
              },
              "creditorAccountReference": {
                "description": "An explanation of the transaction, e.g. to be printed on the creditor account holder's statement.",
                "type": "string"
              },
              "creditorAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "Financial institution servicing an account for the creditor."
              },
              "creditorAgentAccount": {
                "$ref": "#/components/schemas/PaymentAccount",
                "description": "Unambiguous identification of the account of the creditor agent at its servicing agent to which a credit entry will be made as a result of the payment transaction."
              },
              "debtor": {
                "$ref": "#/components/schemas/Party",
                "description": "Party that owes an amount of money to the (ultimate) creditor.\n"
              },
              "debtorAccount": {
                "$ref": "#/components/schemas/PaymentAccount",
                "description": "Unambiguous identification of the account of the debtor to which a debit entry will be made."
              },
              "debtorAccountReference": {
                "description": "An explanation of the transaction, e.g. to be printed on the debtor account holder's statement.",
                "type": "string"
              },
              "debtorAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "Financial institution servicing an account for the debtor."
              },
              "debtorAgentAccount": {
                "$ref": "#/components/schemas/PaymentAccount",
                "description": "Unambiguous identification of the account of the debtor agent at its servicing agent in the payment chain."
              },
              "direction": {
                "$ref": "#/components/schemas/TransactionDirection"
              },
              "effectiveDateTime": {
                "description": "The effective action date-time of the posting.",
                "format": "date-time",
                "type": "string"
              },
              "initiatingParty": {
                "$ref": "#/components/schemas/Party",
                "description": "Party that initiates the payment.\n"
              },
              "initiationSource": {
                "description": "Free text field used to inform the core banking system of which system is initiating the posting.",
                "type": "string"
              },
              "paymentMethod": {
                "$ref": "#/components/schemas/PaymentMethod",
                "description": "Specifies the means of payment for the original transaction.\n"
              },
              "paymentScheme": {
                "$ref": "#/components/schemas/PaymentSchemeName",
                "description": "The payment scheme of the payment being posted."
              },
              "paymentTypeInformation": {
                "$ref": "#/components/schemas/PaymentTypeInformation",
                "description": "Further details of the type of payment."
              },
              "paymentUetr": {
                "description": "UUID which links the posting to a payment instruction.",
                "format": "UUID",
                "type": "string"
              },
              "purpose": {
                "$ref": "#/components/schemas/PurposeType",
                "description": "Underlying reason for the payment transaction."
              },
              "schema": {
                "enum": [
                  "PostingRequest"
                ],
                "type": "string"
              },
              "supplementaryData": {
                "$ref": "#/components/schemas/SupplementaryData",
                "description": "Additional supplementary data."
              }
            },
            "required": [
              "paymentUetr",
              "effectiveDateTime",
              "amount",
              "aggregatedTransactionCount",
              "paymentScheme",
              "paymentMethod",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "Receipt": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseTransactionResponseMessage"
          },
          {
            "description": "A model containing the outcome a request that was previously received. It conveys information about the processing of the original message.\n",
            "properties": {
              "schema": {
                "enum": [
                  "Receipt"
                ],
                "type": "string"
              },
              "status": {
                "$ref": "#/components/schemas/Status"
              }
            },
            "required": [
              "status",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "RefundCheckoutOutcome": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseTransactionMessage"
          },
          {
            "description": "A model to indicate whether or not a requested refund checkout was successful. In the case that the checkout\nwas successful, this model provides the required transaction data for building the message via which the refund\nwill be cleared.\n",
            "properties": {
              "isSuccessful": {
                "description": "An indication of whether the refund checkout was successful. True if the payment was eligible to be\nrefunded, otherwise false.\n",
                "type": "boolean"
              },
              "originalPaymentTransactionDetail": {
                "$ref": "#/components/schemas/OriginalTransactionData",
                "description": "The transaction details of the payment to be refunded. Must be present in the case of a successful outcome.\n"
              },
              "reasonInfo": {
                "description": "A list of `StatusReasonInfo` values. In the case of an unsuccessful outcome, provides the details of why the\npayment was not eligible to be refunded. At least one of the reasons is expected to be a\n`StatusReasonTypeCode`.\n",
                "items": {
                  "$ref": "#/components/schemas/StatusReasonInfo"
                },
                "minItems": 1,
                "type": "array"
              },
              "schema": {
                "enum": [
                  "RefundCheckoutOutcome"
                ],
                "type": "string"
              }
            },
            "required": [
              "isSuccessful",
              "schema",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "RefundCheckoutRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseTransactionMessage"
          },
          {
            "description": "A model containing the necessary information to check if a payment is eligible to be refunded.\n",
            "properties": {
              "amount": {
                "$ref": "#/components/schemas/Amount",
                "description": "The amount to be refunded. Must be less than or equal to the RTP 'paid' amount. If this is omitted then the\nentire paid amount will be refunded.\n"
              },
              "originalTransactionIdentifiers": {
                "$ref": "#/components/schemas/TransactionIdentifiers",
                "description": "The transaction identifiers of the payment to be refunded.\n"
              },
              "schema": {
                "enum": [
                  "RefundCheckoutRequest"
                ],
                "type": "string"
              }
            },
            "required": [
              "originalTransactionIdentifiers",
              "schema",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "RefundFinalisationRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseTransactionMessage"
          },
          {
            "description": "A model containing the necessary information to finalise a refund by either marking it as complete or rolling\nit back.\n",
            "properties": {
              "originalTransactionIdentifiers": {
                "$ref": "#/components/schemas/TransactionIdentifiers",
                "description": "The transaction identifiers of the payment whose refund is being finalised.\n"
              },
              "refundResult": {
                "enum": [
                  "SUCCESS",
                  "FAILURE"
                ],
                "type": "string"
              },
              "schema": {
                "enum": [
                  "RefundFinalisationRequest"
                ],
                "type": "string"
              }
            },
            "required": [
              "originalTransactionIdentifiers",
              "refundResult",
              "schema",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "ZaRppRefundInitiationPaymentScheme": {
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          },
          "schemeData": {
            "$ref": "#/components/schemas/ZaRppSchemeData"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "RefundInitiationPaymentScheme": {
        "description": "Designates which scheme a refund initiation is associated with and describes scheme-specific information for the\nrefund to be processed. Currently only `ZA_RPP` supported.\n",
        "discriminator": {
          "mapping": {
            "ZA_RPP": "#/components/schemas/ZaRppRefundInitiationPaymentScheme"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/ZaRppRefundInitiationPaymentScheme"
          }
        ],
        "type": "object"
      },
      "RefundInitiationRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseTransactionMessage"
          },
          {
            "description": "Requests that a prior Receipt-of-funds transaction (i.e. some inbound payment) is refunded, if possible according to specified scheme rules. Refer to scheme User Guides for validation conditions.\n",
            "properties": {
              "amounts": {
                "$ref": "#/components/schemas/TransactionAmounts"
              },
              "debtorAccount": {
                "$ref": "#/components/schemas/PaymentAccount"
              },
              "originalTransactionIdentifiers": {
                "$ref": "#/components/schemas/TransactionIdentifiers",
                "description": "The transaction identifier values for the original Receipt-of-funds transaction which has been requested to be refunded.\nNote the `uetr` value must match the original `Receipt-of-funds transaction.uetr`, as certain refund properties are validated against the original Receipt-of-funds transaction's values.\n"
              },
              "paymentScheme": {
                "$ref": "#/components/schemas/RefundInitiationPaymentScheme"
              },
              "refundReference": {
                "description": "An explanation of the transaction, as assigned by the refund initiator, to unambiguously refer to this refund payment.\nThis value will be used as the transaction reference if the clearing scheme supports it.\n",
                "type": "string"
              },
              "schema": {
                "enum": [
                  "RefundInitiationRequest"
                ],
                "type": "string"
              }
            },
            "required": [
              "paymentScheme",
              "originalTransactionIdentifiers",
              "schema",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "RequestToPayConditions": {
        "description": "Describes the various aspects of a request to pay which must be\naccepted or to what extent they may be altered.\n",
        "properties": {
          "maxAmount": {
            "$ref": "#/components/schemas/Amount",
            "description": "The maximum payment amount that is acceptable to the payee. This does not supersede the scheme limit.\n"
          },
          "minAmount": {
            "$ref": "#/components/schemas/Amount",
            "description": "The minimum payment amount that is acceptable to the payee. This does not supersede the scheme limit.\n"
          }
        },
        "required": [
          "minAmount",
          "maxAmount"
        ],
        "type": "object"
      },
      "RequestToPay": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseTransactionMessage"
          },
          {
            "description": "A model containing the necessary information to request a payer to initiate a transfer of funds to a payee\n",
            "properties": {
              "amounts": {
                "$ref": "#/components/schemas/TransactionAmounts"
              },
              "creditor": {
                "$ref": "#/components/schemas/Party",
                "description": "Party to which an amount of money is due.\n"
              },
              "creditorAccount": {
                "$ref": "#/components/schemas/PaymentAccount",
                "description": "Unambiguous identification of the account of the creditor to which a credit entry will be posted as a\nresult of the payment transaction.\n"
              },
              "creditorAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "Financial institution servicing an account for the creditor.\n"
              },
              "debtor": {
                "$ref": "#/components/schemas/Party",
                "description": "Party that owes an amount of money to the creditor.\n"
              },
              "debtorAccount": {
                "$ref": "#/components/schemas/PaymentAccount",
                "description": "Unambiguous identification of the account of the debtor to which a debit entry will be made as a result of the transaction.\n"
              },
              "debtorAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "Financial institution servicing an account for the debtor.\n"
              },
              "expiryDateTime": {
                "description": "Date and time at which the request to pay expires. Some schemes\nmay still permit a payment after the request to pay expires. Upon\nexpiry, the following schemes will reject an associated payment: ZA_RPP.\nThe date *must* be formatted as defined by `date-time` in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n",
                "format": "date-time",
                "type": "string"
              },
              "instructedAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "Agent that is instructed by the previous party in the chain to carry out the (set of) instruction(s).\n"
              },
              "instructingAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "Agent that instructs the next party in the chain to carry out the (set of) instruction(s)\n"
              },
              "instructionForDebtorAgent": {
                "description": "Further information related to the processing of the payment instruction, provided by the\ninitiating party, and intended for the debtor agent.\n",
                "items": {
                  "$ref": "#/components/schemas/CreditorAgentInstruction"
                },
                "minItems": 0,
                "type": "array"
              },
              "intermediaryAgents": {
                "description": "Agents between the debtor's agent and the creditor's agent.\nUsage: If more than one intermediary agent is present, then IntermediaryAgent1 identifies the agent\nbetween the DebtorAgent and the IntermediaryAgent2\n",
                "items": {
                  "$ref": "#/components/schemas/InstitutionIdentification"
                },
                "maxItems": 3,
                "type": "array"
              },
              "paymentScheme": {
                "$ref": "#/components/schemas/CreditTransferPaymentScheme"
              },
              "paymentTypeInformation": {
                "$ref": "#/components/schemas/PaymentTypeInformation",
                "description": "Set of elements used to further specify the type of transaction.\n"
              },
              "previousInstructingAgents": {
                "description": "Agent(s) between the debtor's agent and the instructing agent.\n",
                "items": {
                  "$ref": "#/components/schemas/InstitutionIdentification"
                },
                "maxItems": 3,
                "type": "array"
              },
              "purpose": {
                "$ref": "#/components/schemas/PurposeType"
              },
              "remittanceInformation": {
                "$ref": "#/components/schemas/RemittanceInformation"
              },
              "requestToPayConditions": {
                "$ref": "#/components/schemas/RequestToPayConditions"
              },
              "schema": {
                "enum": [
                  "RequestToPay"
                ],
                "type": "string"
              },
              "tax": {
                "$ref": "#/components/schemas/TaxInformation"
              },
              "ultimateCreditor": {
                "$ref": "#/components/schemas/Party",
                "description": "Ultimate party to which an amount of money is due.\n"
              },
              "ultimateDebtor": {
                "$ref": "#/components/schemas/Party",
                "description": "Ultimate party that owes an amount of money to the (ultimate) creditor.\n"
              }
            },
            "required": [
              "paymentScheme",
              "expiryDateTime",
              "requestToPayConditions",
              "creditor",
              "creditorAccount",
              "creditorAgent",
              "debtorAccount",
              "paymentTypeInformation",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "OriginalRequestToPayData": {
        "description": "Contains key elements related to the original request to pay that is being referred to.\n",
        "properties": {
          "amounts": {
            "$ref": "#/components/schemas/TransactionAmounts"
          },
          "creditor": {
            "$ref": "#/components/schemas/Party"
          },
          "creditorAccount": {
            "$ref": "#/components/schemas/PaymentAccount"
          },
          "creditorAgent": {
            "$ref": "#/components/schemas/InstitutionIdentification"
          },
          "debtor": {
            "$ref": "#/components/schemas/Party"
          },
          "debtorAccount": {
            "$ref": "#/components/schemas/PaymentAccount"
          },
          "debtorAgent": {
            "$ref": "#/components/schemas/InstitutionIdentification"
          },
          "expiryDateTime": {
            "description": "Date and time at which the request to pay expires. Some schemes\nmay still permit a payment after the request to pay expires. Upon\nexpiry, the following schemes will reject an associated payment: ZA_RPP.\nThe date *must* be formatted as defined by `date-time` in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)\n",
            "format": "date-time",
            "type": "string"
          },
          "paymentTypeInformation": {
            "$ref": "#/components/schemas/PaymentTypeInformation"
          },
          "remittanceInformation": {
            "$ref": "#/components/schemas/RemittanceInformation"
          },
          "requestToPayConditions": {
            "$ref": "#/components/schemas/RequestToPayConditions"
          }
        },
        "type": "object"
      },
      "RequestToPayCancellation": {
        "description": "Requests that a prior request to pay is cancelled if possible (e.g. it's not yet been actioned, rejected or expired).\n",
        "properties": {
          "instructedAgent": {
            "$ref": "#/components/schemas/InstitutionIdentification",
            "description": "The instructed agent is the party receiving the cancellation message.\n"
          },
          "instructingAgent": {
            "$ref": "#/components/schemas/InstitutionIdentification",
            "description": "The instructing agent is the party sending the cancellation message.\n"
          },
          "messageIdentifiers": {
            "$ref": "#/components/schemas/MessageIdentifiers"
          },
          "originalMessageIdentifiers": {
            "$ref": "#/components/schemas/MessageIdentifiers"
          },
          "originalRequestToPayData": {
            "$ref": "#/components/schemas/OriginalRequestToPayData"
          },
          "originalTransactionIdentifiers": {
            "$ref": "#/components/schemas/TransactionIdentifiers"
          },
          "reasonCode": {
            "description": "The reason the request to pay is being cancelled.\n- `AC03`: InvalidCreditorAccountNumber - Wrong account number in Credit Transfer.\n- `AGNT`: IncorrectAgent- Agent in the payment workflow is incorrect.\n- `AM09`: WrongAmount- Amount is not the amount agreed or expected.\n- `BE16`: InvalidDebtorIdentificationCode- Debtor or Ultimate Debtor identification code missing or invalid.\n- `COVR`: CoverCancelledOrReturned- Cover payments has either been returned or cancelled.\n- `CURR`: IncorrectCurrency- Currency of the payment is incorrect.\n- `CUST`: RequestedByCustomer- Cancellation requested by the Creditor.\n- `CUTA`: CancelUponUnableToApply- Cancellation requested because an investigation request has been received and no remediation is possible.\n- `DS24`: TimeOut- Cancellation requested because the original payment order expired due to time-out.\n- `DT01`: InvalidDate- Invalid date (for example, wrong or missing settlement date).\n- `DUPL`: DuplicatePayment- Payment is a duplicate of another payment.\n- `FRAD`: FraudulentOrigin- Cancellation requested following a transaction that was originated fraudulently. The use of the FraudulentOrigin code should be governed by jurisdictions.\n- `FRNA`: ForwardToNextAgent- To complement a rejection response, suggesting the request for cancelation should be forwarded to the next agent in the payment transaction chain.\n- `FRTR`: FinalResponse- Direct Debit Tracking recalled as Mandate Cancelled\n- `INDM`: IndemnityRequired- To express the wish to establish a bilateral indemnity agreement.\n- `MODT`: ModifiedTransaction- The underlying transaction in relation to an RTP was modified.\n- `PAID`: TransactionAlreadyPaid- The underlying transaction in relation to an RTP was already paid (via other means).\n- `SVNR`: ServiceNotRendered- The payment is cancelled since a cash amount rendered was not correct or goods or a service was not rendered to the customer, e.g. in an e-commerce situation.\n- `SYAD`: RequestToSettlementSystemAdministrator- Cancellation requested by System Member to Settlement System Administrator to indicate that the cancellation request must not be forwarded further in the chain.\n- `TECH`: TechnicalProblem- Cancellation requested following technical problems resulting in an erroneous transaction.\n- `UPAY`: UnduePayment- Payment is not justified.\n- `ENUE`: EndUserError- Cancellation or request for return requested by the Debtor specifically due to one or more errors by debtor in the original Credit Transfer. Usage: This code can be used for any error in the original Credit Transfer made by the Debtor. Can also be used if multiple errors were made in the original Credit Transfer.\n- `UAPA`: UnauthorizedPayment- \"The Debtor is requesting a return of the payment because the payment was not properly authorized. Usage: This code can be used in the case where a Credit Transfer was made without proper authorization from the Debtor. This could be due to compromised end user credentials.\"\n- `NARR`: Narrative- Reason is provided as narrative information in the additional reason information.\n- `AC02`: InvalidDebtorAccountNumber- Debtor account number invalid or missing.\n- `BIAS`: BatchInstructionAlreadySettled- Process a cancellation request but batch already settled.\n- `INCR`: InvalidCancellationRequest- Process a cancellation request with incorrect reference to original batch.\n- `DRTP`: DuplicationRequestToPay- Duplication of a request-to-pay message.\n",
            "enum": [
              "AC03",
              "AGNT",
              "AM09",
              "BE16",
              "COVR",
              "CURR",
              "CUST",
              "CUTA",
              "DS24",
              "DT01",
              "DUPL",
              "FRAD",
              "FRNA",
              "FRTR",
              "INDM",
              "MODT",
              "PAID",
              "SVNR",
              "SYAD",
              "TECH",
              "UPAY",
              "ENUE",
              "UAPA",
              "NARR",
              "AC02",
              "BIAS",
              "INCR",
              "DRTP"
            ],
            "type": "string"
          },
          "reasonDescription": {
            "description": "A description of the reason the request to pay is being cancelled.",
            "type": "string"
          },
          "schema": {
            "enum": [
              "RequestToPayCancellation"
            ],
            "type": "string"
          }
        },
        "required": [
          "reasonCode",
          "schema",
          "messageIdentifiers",
          "originalMessageIdentifiers",
          "originalTransactionIdentifiers"
        ],
        "type": "object"
      },
      "RequestToPayCancellationStatusReasonTypeCode": {
        "properties": {
          "schema": {
            "description": "Identifies the value as being a pre-defined code. Always `CODE`.",
            "type": "string"
          },
          "value": {
            "description": "* `AC04`: ClosedAccountNumber - Account number specified has been closed on the receiver’s books.\n* `ADAC`: AwaitingDebitAuthorityFromCustomer - Reported when the cancellation request cannot be processed because customer has not yet provided the debit authority on its account.\n* `AGNT`: AgentDecision - Reported when the cancellation cannot be accepted because of an agent refuses to cancel.\n* `AM04`: InsufficientFunds - Amount of funds available to cover specified message amount is insufficient.\n* `ARDT`: AlreadyReturned - Cancellation not accepted as the transaction has already been returned.\n* `ARPL`: AwaitinReply - Reported when the cancellation request cannot be processed because no reply has been  received yet from the receiver of the request message.\n* `CUST`: CustomerDecision - Reported when the cancellation cannot be accepted because of a customer decision (Creditor).\n* `LEGL`: LegalDecision - Reported when the cancellation cannot be accepted because of regulatory rules.\n* `NARR`: Narrative - Reason is provided as narrative information in the additional reason information.\n* `NOAS`: NoAnswerFromCustomer - No response from beneficiary (to the cancellation request).\n* `NOOR`: NoOriginalTransactionReceived - Original transaction (subject to cancellation) never received.\n* `PTNA`: PassedToTheNextAgent - Reported when the cancellation request cannot be accepted because the payment instruction has been passed to the next agent.\n* `RQDA`: RequestingDebitAuthority - Reported when authority is required by the Creditor to return the payment.\n* `WSEQ`: WrongSequence - Reported when the cancellation request cannot be processed because the sequence referred to in the request is not valid.\n* `IDMN`: CancellationIndemnityRequired - Complementing a Pending or Reject Status. Payment cancellation request cannot be accepted until an indemnity agreement is established.\n* `ACLR`: AlreadyCancelledRTP - Request-to-pay has already been cancelled.\n* `AEXR`: AlreadyExpiredRTP - Request-to-pay Expiry Date and Time has already passed.\n* `ARFR`: AlreadyRefusedRTP - Request-to-pay has already been refused by the Debtor.\n* `ARJR`: AlreadyRejectedRTP - Request-to-pay has already been rejected.\n* `PATE`: PaymentAlreadyTransmittedExecution - Payment related to the request-to-pay has already been transmitted for execution.\n* `RR04`: RegulatoryReason - Regulatory Reason.\n* `RCAR`: RfCAlreadyRejected - Request for cancellation of the request-to-pay has already been rejected.\n* `RCNR`: RfCNeverReceived - Request for cancellation of the request-to-pay has never been received.\n* `RCPR`: RfCReceivedAndProcessed - Request for cancellation of the request-to-pay has already been received and processed.\n* `URTP`: UnknownRTP - Request-to-pay is unknown.\n",
            "enum": [
              "AC04",
              "ADAC",
              "AGNT",
              "AM04",
              "ARDT",
              "ARPL",
              "CUST",
              "LEGL",
              "NARR",
              "NOAS",
              "NOOR",
              "PTNA",
              "RQDA",
              "WSEQ",
              "IDMN",
              "ACLR",
              "AEXR",
              "ARFR",
              "ARJR",
              "PATE",
              "RR04",
              "RCAR",
              "RCNR",
              "RCPR",
              "URTP"
            ],
            "type": "string"
          }
        },
        "required": [
          "schema",
          "value"
        ],
        "type": "object"
      },
      "RequestToPayCancellationStatusReasonType": {
        "discriminator": {
          "mapping": {
            "CODE": "#/components/schemas/RequestToPayCancellationStatusReasonTypeCode",
            "PROPRIETARY": "#/components/schemas/ProprietaryValue"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/RequestToPayCancellationStatusReasonTypeCode"
          },
          {
            "$ref": "#/components/schemas/ProprietaryValue"
          }
        ],
        "type": "object"
      },
      "RequestToPayCancellationStatusReasonInfo": {
        "description": "Provides detailed information on a cancellation status reason.\n",
        "properties": {
          "additionalInformation": {
            "description": "A human friendly description of the status reason including any further details if applicable.\n",
            "type": "string"
          },
          "reason": {
            "$ref": "#/components/schemas/RequestToPayCancellationStatusReasonType"
          }
        },
        "required": [
          "reason"
        ],
        "type": "object"
      },
      "RequestToPayCancellationStatus": {
        "properties": {
          "reasonInfo": {
            "description": "A list of `RequestToPayCancellationStatusReasonInfo` values providing detailed reason information for the status.\n",
            "items": {
              "$ref": "#/components/schemas/RequestToPayCancellationStatusReasonInfo"
            },
            "minItems": 1,
            "type": "array"
          },
          "status": {
            "description": "* `CANCELLED`: Cancelled - The cancellation was successfully processed and the request for payment has been cancelled.\n* `REJECTED`: Rejected - The cancellation was rejected. Refer to the `reasonInfo` for further information.\n",
            "enum": [
              "CANCELLED",
              "REJECTED"
            ],
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "RequestToPayCancellationResponse": {
        "description": "Provides the outcome of a prior request to pay cancellation.\n",
        "properties": {
          "instructedAgent": {
            "$ref": "#/components/schemas/InstitutionIdentification",
            "description": "The instructed agent is the party receiving the cancellation response message and not the party that received the\noriginal cancellation instruction that is being reported on.\n"
          },
          "instructingAgent": {
            "$ref": "#/components/schemas/InstitutionIdentification",
            "description": "The instructing agent is the party sending the cancellation response message and not the party that sent the original\ncancellation instruction that is being reported on.\n"
          },
          "messageIdentifiers": {
            "$ref": "#/components/schemas/MessageIdentifiers"
          },
          "originalMessageIdentifiers": {
            "$ref": "#/components/schemas/MessageIdentifiers"
          },
          "originalRequestToPayData": {
            "$ref": "#/components/schemas/OriginalRequestToPayData"
          },
          "originalTransactionIdentifiers": {
            "$ref": "#/components/schemas/TransactionIdentifiers"
          },
          "schema": {
            "enum": [
              "RequestToPayCancellationResponse"
            ],
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/RequestToPayCancellationStatus"
          }
        },
        "required": [
          "status",
          "schema",
          "messageIdentifiers",
          "originalMessageIdentifiers",
          "originalTransactionIdentifiers"
        ],
        "type": "object"
      },
      "RequestToPayStatusReasonTypeCode": {
        "properties": {
          "schema": {
            "description": "Identifies the value as being a pre-defined code. Always `CODE`.",
            "type": "string"
          },
          "value": {
            "description": "* `AB01`: AbortedClearingTimeout - Clearing process aborted due to timeout.\n* `AB02`: AbortedClearingFatalError - Clearing process aborted due to a fatal error.   \n* `AB05`: TimeoutCreditorAgent - Transaction stopped due to timeout at the Creditor Agent.\n* `AB06`: TimeoutInstructedAgent - Transaction stopped due to timeout at the Instructed Agent.\n* `AB07`: OfflineAgent - Agent of message is not online. Generic usage if it cannot be determined who exactly is not online.\n* `AB08`: OfflineCreditorAgent - Creditor Agent is not online.\n* `AB09`: ErrorCreditorAgent - Transaction stopped due to error at the Creditor Agent.\n* `AB10`: ErrorInstructedAgent - Transaction stopped due to error at the Instructed Agent.\n* `AB11`: TimeoutDebtorAgent - Transaction stopped due to timeout at the Debtor Agent.\n* `AC04`: ClosedAccountNumber - Account number specified has been closed on the bank of account's books.\n* `AC05`: ClosedDebtorAccountNumber - Debtor account number closed\n* `AC06`: BlockedAccount - Account specified is blocked, prohibiting posting of transactions against it.\n* `AC07`: ClosedCreditorAccountNumber - Creditor account number closed\n* `AC08`: InvalidBranchCode - Branch code is invalid or missing\n* `AG10`: AgentSuspended - Agent of message is suspended from the Real Time Payment system. Generic usage if it cannot be determined who exactly is suspended.\n* `AG11`: CreditorAgentSuspended - Creditor Agent of message is suspended from the Real Time Payment system.\n* `AGNT`: IncorrectAgent - Agent in the payment workflow is incorrect\n* `AM01`: ZeroAmount - Specified message amount is equal to zero\n* `AM02`: NotAllowedAmount - Specific transaction/message amount is greater than allowed maximum\n* `AM03`: NotAllowedCurrency - Specified message amount is an non processable currency outside of existing agreement\n* `AM05`: Duplication - Duplication\n* `AM06`: TooLowAmount - Specified transaction amount is less than agreed minimum.\n* `AM11`: InvalidTransactionCurrency - Transaction currency is invalid or missing\n* `AM12`: InvalidAmount - Amount is invalid or missing\n* `AM13`: AmountExceedsClearingSystemLimit - Transaction amount exceeds limits set by clearing system\n* `AM15`: AmountBelowClearingSystemMinimum - Transaction amount below minimum set by clearing system\n* `AM18`: InvalidNumberOfTransactions - Number of transactions is invalid or missing. Generic usage if cannot specify between group and payment information levels.\n* `BE01`: InconsistenWithEndCustomer - Identification of end customer is not consistent with associated account number. (formerly CreditorConsistency).\n* `BE05`: UnrecognisedInitiatingParty - Party who initiated the message is not recognised by the end customer\n* `BE06`: UnknownEndCustomer - End customer specified is not known at associated Sort/National Bank Code or does no longer exist in the books\n* `BE07`: MissingDebtorAddress - Specification of debtor's address, which is required for payment, is missing/not correct.\n* `BE08`: MissingDebtorName - Debtor name is missing\n* `BE10`: InvalidDebtorCountry - Debtor country code is missing or invalid\n* `BE11`: InvalidCreditorCountry - Creditor country code is missing or invalid\n* `BE12`: InvalidCountryOfResidence - Country code of residence is missing or Invalid. Generic usage if cannot specifically identify debtor or creditor\n* `BE13`: InvalidDebtorCountryOfResidence - Country code of debtor's residence is missing or Invalid\n* `BE14`: InvalidCreditorCountryOfResidence - Country code of creditor's residence is missing or Invalid\n* `BE16`: InvalidDebtorIdentificationCode - Debtor or Ultimate Debtor identification code missing or invalid\n* `BE17`: InvalidCreditorIdentificationCode - Creditor or Ultimate Creditor identification code missing or invalid\n* `BE18`: InvalidContactDetails - Contact details missing or invalid\n* `BE19`: InvalidChargeBearerCode - Charge bearer code for transaction type is invalid\n* `BE20`: InvalidNameLength - Name length exceeds local rules for payment type.\n* `BE22`: MissingCreditorName - Creditor name is missing\n* `BE23`: AccountProxyInvalid - Phone number or email address, or any other proxy, used as the account proxy is unknown or invalid.\n* `CH03`: RequestedExecutionDateOrRequestedCollectionDateTooFarInFuture - Value in Requested Execution Date or Requested Collection Date is too far in the future\n* `CH04`: RequestedExecutionDateOrRequestedCollectionDateTooFarInPast - Value in Requested Execution Date or Requested Collection Date is too far in the past\n* `CH21`: RequiredCompulsoryElementMissing - Mandatory element is missing\n* `CNOR`: CreditorBankIsNotRegistered - Creditor bank is not registered under this BIC in the CSM\n* `CURR`: IncorrectCurrency - Currency of the payment is incorrect\n* `CUST`: RequestedByCustomer - Cancellation requested by the Creditor\n* `DS01`: ElectronicSignaturesCorrect - The electronic signature(s) is/are correct\n* `DS02`: OrderCancelled - An authorized user has cancelled the order\n* `DS04`: OrderRejected - The order was rejected by the bank side (for reasons concerning content)\n* `DS0G`: NotAllowedPayment - Signer is not allowed to sign this operation type.\n* `DS0H`: NotAllowedAccount - Signer is not allowed to sign for this account.\n* `DS24`: WaitingTimeExpired - Waiting time expired due to incomplete order\n* `DS27`: UserNotYetActivated - The user is not yet activated (technically)\n* `DT01`: InvalidDate - Invalid date (eg, wrong or missing settlement date)\n* `DT02`: InvalidCreationDate - Invalid creation date and time in Group Header (eg, historic date)\n* `DT03`: InvalidNonProcessingDate - Invalid non bank processing date (eg, weekend or local public holiday)\n* `DU01`: DuplicateMessageID - Message Identification is not unique.\n* `DU02`: DuplicatePaymentInformationID - Payment Information Block is not unique.\n* `DU03`: DuplicateTransaction - Transaction is not unique.\n* `DU04`: DuplicateEndToEndID - End To End ID is not unique.\n* `DU05`: DuplicateInstructionID - Instruction ID is not unique.\n* `DUPL`: DuplicatePayment - Payment is a duplicate of another payment\n* `FF02`: SyntaxError - Syntax error reason is provided as narrative information in the additional reason information.\n* `FF03`: InvalidPaymentTypeInformation - Payment Type Information is missing or invalid. Generic usage if cannot specify Service Level or Local Instrument code\n* `FF05`: InvalidLocalInstrumentCode - Local Instrument code is missing or invalid\n* `FF08`: InvalidEndToEndId - End to End Id missing or invalid\n* `FF10`: BankSystemProcessingError - File or transaction cannot be processed due to technical issues at the bank side\n* `FF11`: ClearingRequestAborted - Clearing request rejected due it being subject to an abort operation.\n* `MD07`: EndCustomerDeceased - End customer is deceased.\n* `MS02`: NotSpecifiedReasonCustomerGenerated - Reason has not been specified by end customer\n* `MS03`: NotSpecifiedReasonAgentGenerated - Reason has not been specified by agent.\n* `NARR`: Narrative - Reason is provided as narrative information in the additional reason information.\n* `NERI`: NoERI - Credit transfer is tagged as an Extended Remittance Information (ERI) transaction but does not contain ERI.\n* `RC03`: InvalidDebtorBankIdentifier - Debtor bank identifier is invalid or missing\n* `RC04`: InvalidCreditorBankIdentifier - Creditor bank identifier is invalid or missing\n* `RC06`: InvalidDebtorBICIdentifier - Debtor BIC identifier is invalid or missing\n* `RC07`: InvalidCreditorBICIdentifier - Creditor BIC identifier is invalid or missing\n* `RC09`: InvalidDebtorClearingSystemMemberIdentifier - Debtor ClearingSystemMember identifier is invalid or missing\n* `RC10`: InvalidCreditorClearingSystemMemberIdentifier - Creditor ClearingSystemMember identifier is invalid or missing\n* `RC11`: InvalidIntermediaryAgent - Intermediary Agent is invalid or missing\n* `RR09`: InvalidStructuredCreditorReference - Structured creditor reference invalid or missing.\n* `RR10`: InvalidCharacterSet - Character set supplied not valid for the country and payment type.\n* `S001`: UETRFlaggedForCancellation - Unique End-to-end Transaction Reference (UETR) relating to a payment has been identified as being associated with a Request for Cancellation.\n* `TA01`: TransmissonAborted - The transmission of the file was not successful – it had to be aborted (for technical reasons)\n* `NOAR`: NonAgreedRTP - No existing agreement for receiving request-to-pay messages.\n* `NOCM`: NotCompliantGeneric - Customer account is not compliant with regulatory requirements, for example FICA (in South Africa) or any other regulatory requirements which render an account inactive for certain processing.\n* `ALAC`: AlreadyAcceptedRTP - Request-to-pay has already been accepted by the Debtor.\n* `AEXR`: AlreadyExpiredRTP - Request-to-pay Expiry Date and Time has already passed.\n* `ARFR`: AlreadyRefusedRTP - Request-to-pay has already been refused by the Debtor.\n* `ARJR`: AlreadyRejectedRTP - Request-to-pay has already been rejected.\n* `EDTR`: ExpiryDateTimeReached - Expiry date time of the request-to-pay is already reached.\n* `EDTL`: ExpiryDateTooLong - Expiry date time of the request-to-pay is too far in the future.\n* `IEDT`: IncorrectExpiryDateTime - Expiry date time of the request-to-pay is incorrect.\n* `IRNR`: InitialRTPNeverReceived - No initial request-to-pay has been received.\n* `NRCH`: PayerOrPayerRTPSPNotReachable - Recipient side of the request-to-pay (payer or its request-to-pay service provider) is not reachable.\n* `RTNS`: RTPNotSupportedForDebtor - Debtor does not support request-to-pay transactions.\n* `PINS`: TypeOfPaymentInstrumentNotSupported - Type of payment requested in the request-to-pay is not supported by the payer.\n* `SVNR`: ServiceNotRendered - The payment is cancelled since a cash amount rendered was not correct or goods or a service was not rendered to the customer, e.g. in an e-commerce situation.\n* `UCRD`: UnknownCreditor - Unknown Creditor.\n",
            "enum": [
              "AB01",
              "AB02",
              "AB05",
              "AB06",
              "AB07",
              "AB08",
              "AB09",
              "AB10",
              "AB11",
              "AC04",
              "AC05",
              "AC06",
              "AC07",
              "AC08",
              "AG10",
              "AG11",
              "AGNT",
              "AM01",
              "AM02",
              "AM03",
              "AM05",
              "AM06",
              "AM11",
              "AM12",
              "AM13",
              "AM15",
              "AM18",
              "BE01",
              "BE05",
              "BE06",
              "BE07",
              "BE08",
              "BE10",
              "BE11",
              "BE12",
              "BE13",
              "BE14",
              "BE16",
              "BE17",
              "BE18",
              "BE19",
              "BE20",
              "BE22",
              "BE23",
              "CH03",
              "CH04",
              "CH21",
              "CNOR",
              "CURR",
              "CUST",
              "DS01",
              "DS02",
              "DS04",
              "DS0G",
              "DS0H",
              "DS24",
              "DS27",
              "DT01",
              "DT02",
              "DT03",
              "DU01",
              "DU02",
              "DU03",
              "DU04",
              "DU05",
              "DUPL",
              "FF02",
              "FF03",
              "FF05",
              "FF08",
              "FF10",
              "FF11",
              "MD07",
              "MS02",
              "MS03",
              "NARR",
              "NERI",
              "RC03",
              "RC04",
              "RC06",
              "RC07",
              "RC09",
              "RC10",
              "RC11",
              "RR09",
              "RR10",
              "S001",
              "TA01",
              "NOAR",
              "NOCM",
              "ALAC",
              "AEXR",
              "ARFR",
              "ARJR",
              "EDTR",
              "EDTL",
              "IEDT",
              "IRNR",
              "NRCH",
              "RTNS",
              "PINS",
              "SVNR",
              "UCRD"
            ],
            "type": "string"
          }
        },
        "required": [
          "schema",
          "value"
        ],
        "type": "object"
      },
      "RequestToPayStatusReasonType": {
        "discriminator": {
          "mapping": {
            "CODE": "#/components/schemas/RequestToPayStatusReasonTypeCode",
            "PROPRIETARY": "#/components/schemas/ProprietaryValue"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/RequestToPayStatusReasonTypeCode"
          },
          {
            "$ref": "#/components/schemas/ProprietaryValue"
          }
        ],
        "type": "object"
      },
      "RequestToPayStatusReasonInfo": {
        "description": "Provides detailed information on a status reason.\n",
        "properties": {
          "additionalInformation": {
            "description": "A human friendly description of the status reason including any further details if applicable.\n",
            "type": "string"
          },
          "reason": {
            "$ref": "#/components/schemas/RequestToPayStatusReasonType"
          }
        },
        "required": [
          "reason"
        ],
        "type": "object"
      },
      "RequestToPayStatusCode": {
        "description": "* `PAID`: Paid - The request to pay was approved by the debtor and the payment has been processed. Note that the outcome of the payment itself is not communicated.\n* `ACCEPTED`: Accepted - The request to pay was approved by the debtor but the payment has not yet been processed.\n* `CANCELLED`: Cancelled - Request to pay has been successfully cancelled after having received a request for cancellation.\n* `EXPIRED`: Expired - The request to pay has expired.\n* `PENDING`: Pending - The request to pay has been forwarded and an initial status report is still expected.\n* `PRESENTED`: Presented - The request to pay has been accepted by the payer participant and will be presented to the debtor.\n* `REJECTED`: Rejected - The request to pay has been rejected.\n* `REFUND_IN_PROGRESS`: Refund in progress - The refund of the original request to pay is currently in progress and does not yet have an outcome\n* `REFUNDED`: Refunded - The refund of the original request to pay has been completed successfully\n",
        "enum": [
          "PAID",
          "ACCEPTED",
          "CANCELLED",
          "EXPIRED",
          "PENDING",
          "PRESENTED",
          "REJECTED",
          "REFUND_IN_PROGRESS",
          "REFUNDED"
        ],
        "type": "string"
      },
      "RequestToPayStatus": {
        "properties": {
          "reasonInfo": {
            "description": "A list of `RequestToPayStatusReasonInfo` values providing detailed reason information for the status.\n",
            "items": {
              "$ref": "#/components/schemas/RequestToPayStatusReasonInfo"
            },
            "minItems": 1,
            "type": "array"
          },
          "status": {
            "$ref": "#/components/schemas/RequestToPayStatusCode"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "RequestToPayResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseTransactionResponseMessage"
          },
          {
            "properties": {
              "instructedAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "The instructed agent is the party receiving the status message and not the party that received the\noriginal instruction that is being reported on.\n"
              },
              "instructingAgent": {
                "$ref": "#/components/schemas/InstitutionIdentification",
                "description": "The instructing agent is the party sending the status message and not the party that sent the original\ninstruction that is being reported on.\n"
              },
              "originalRequestToPayData": {
                "$ref": "#/components/schemas/OriginalRequestToPayData"
              },
              "requestToPayConditions": {
                "$ref": "#/components/schemas/RequestToPayConditions"
              },
              "schema": {
                "enum": [
                  "RequestToPayResponse"
                ],
                "type": "string"
              },
              "status": {
                "$ref": "#/components/schemas/RequestToPayStatus"
              }
            },
            "required": [
              "status",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "RequestToPayStatusRequest": {
        "description": "Provides details to identify a previously submitted request to pay.\n",
        "properties": {
          "instructedAgent": {
            "$ref": "#/components/schemas/InstitutionIdentification",
            "description": "Agent that is instructed by the previous party in the chain to carry out the (set of) instruction(s).\n"
          },
          "instructingAgent": {
            "$ref": "#/components/schemas/InstitutionIdentification",
            "description": "Agent that instructs the next party in the chain to carry out the (set of) instruction(s)\n"
          },
          "messageIdentifiers": {
            "$ref": "#/components/schemas/MessageIdentifiers"
          },
          "originalMessageIdentifiers": {
            "$ref": "#/components/schemas/MessageIdentifiers"
          },
          "originalTransactionIdentifiers": {
            "$ref": "#/components/schemas/TransactionIdentifiers"
          },
          "schema": {
            "enum": [
              "RequestToPayStatusRequest"
            ],
            "type": "string"
          }
        },
        "required": [
          "messageIdentifiers",
          "originalTransactionIdentifiers"
        ],
        "type": "object"
      },
      "ReservationTypeCode": {
        "properties": {
          "schema": {
            "description": "Identifies the value as being a pre-defined code. Always `CODE`.",
            "type": "string"
          },
          "value": {
            "description": "* `BLKD` - Blocked - Amount blocked or frozen due to external circumstances such as a court order, death of beneficiary or account owner, or bankruptcy.\n* `CARE` - CashReservation - Amount set aside by a participant to reserve liquidity from its own account, exclusively or executing cash withdrawals.\n* `HPAR` - HighlyUrgentPaymentReservation - Amount set aside by a participant to reserve liquidity from its own account, exclusively for executing highly urgent payments.\n* `NSSR` - NetSSSReservation - Amount set aside by a participant to reserve liquidity from its own account, exclusively for the settlement of the multilateral cash balance stemming from the Net Security Settlement System.\n* `THRE` - ThresholdForInvestment - Amount above which funds will be destined for investment.\n* `UPAR` - UrgentPaymentReservation - Amount set aside by a participant to reserve liquidity from its own account, exclusively for executing critical payments called urgent payments.\n",
            "enum": [
              "BLKD",
              "CARE",
              "HPAR",
              "NSSR",
              "THRE",
              "UPAR"
            ],
            "type": "string"
          }
        },
        "required": [
          "value",
          "schema"
        ],
        "type": "object"
      },
      "ReservationType": {
        "discriminator": {
          "mapping": {
            "CODE": "#/components/schemas/ReservationTypeCode",
            "PROPRIETARY": "#/components/schemas/ProprietaryValue"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/ReservationTypeCode"
          },
          {
            "$ref": "#/components/schemas/ProprietaryValue"
          }
        ],
        "type": "object"
      },
      "ReservationRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseTransactionMessage"
          },
          {
            "description": "A model containing the necessary information to perform a reservation of funds on an account.\n",
            "properties": {
              "accountIdentification": {
                "$ref": "#/components/schemas/PaymentAccount",
                "description": "Unambiguous identification of the account to which a reservation of funds will be made."
              },
              "amount": {
                "$ref": "#/components/schemas/Amount"
              },
              "initiationSource": {
                "description": "Free text field used to inform the core banking system of which system is initiating the reservation.",
                "type": "string"
              },
              "reference": {
                "description": "An explanation of the transaction, e.g. to be printed on the account holder's statement.\n",
                "maxLength": 35,
                "type": "string"
              },
              "reservationType": {
                "$ref": "#/components/schemas/ReservationType"
              },
              "schema": {
                "enum": [
                  "ReservationRequest"
                ],
                "type": "string"
              },
              "supplementaryData": {
                "$ref": "#/components/schemas/SupplementaryData"
              }
            },
            "required": [
              "amount",
              "accountIdentification",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "ExternalPaymentCancellationRejectionCode": {
        "properties": {
          "schema": {
            "description": "Identifies the value as being a pre-defined code. Always `CODE`.",
            "type": "string"
          },
          "value": {
            "description": "* `AC04` ClosedAccountNumber - Account number specified has been closed on the receiver’s books.\n* `ADAC` AwaitingDebitAuthorityFromCustomer - Reported when the cancellation request cannot be processed because customer has not yet provided the debit authority on its account.\n* `AGNT` AgentDecision - Reported when the cancellation cannot be accepted because of an agent refuses to cancel.\n* `AM04` InsufficientFunds - Amount of funds available to cover specified message amount is insufficient.\n* `ARDT` AlreadyReturned - Cancellation not accepted as the transaction has already been returned.\n* `ARPL` AwaitinReply - Reported when the cancellation request cannot be processed because no reply has been  received yet from the receiver of the request message.\n* `CUST` CustomerDecision - Reported when the cancellation cannot be accepted because of a customer decision (Creditor).\n* `LEGL` LegalDecision - Reported when the cancellation cannot be accepted because of regulatory rules.\n* `NARR` Narrative - Reason is provided as narrative information in the additional reason information.\n* `NOAS` NoAnswerFromCustomer - No response from beneficiary (to the cancellation request).\n* `NOOR` NoOriginalTransactionReceived - Original transaction (subject to cancellation) never received.\n* `PTNA` PassedToTheNextAgent - Reported when the cancellation request cannot be accepted because the payment instruction has been passed to the next agent.\n* `RQDA` RequestingDebitAuthority - Reported when authority is required by the Creditor to return the payment.\n* `WSEQ` WrongSequence - Reported when the cancellation request cannot be processed because the sequence referred to in the request is not valid.\n* `INDM` CancellationIndemnityRequired - Complementing a Pending or Reject Status. Payment cancellation request cannot be accepted until an indemnity agreement is established.\n* `ACLR` AlreadyCancelledRTP - Request-to-pay has already been cancelled.\n* `AEXR` AlreadyExpiredRTP - Request-to-pay Expiry Date and Time has already passed.\n* `ARFR` AlreadyRefusedRTP - Request-to-pay has already been refused by the Debtor.\n* `ARJR` AlreadyRejectedRTP - Request-to-pay has already been rejected.\n* `PATE` PaymentAlreadyTransmittedExecution - Payment related to the request-to-pay has already been transmitted for execution.\n* `RR04` RegulatoryReason - Regulatory Reason.\n* `RCAR` RfCAlreadyRejected - Request for cancellation of the request-to-pay has already been rejected.\n* `RCNR` RfCNeverReceived - Request for cancellation of the request-to-pay has never been received.\n* `RCPR` RfCReceivedAndProcessed - Request for cancellation of the request-to-pay has already been received and processed.\n* `URTP` UnknownRTP - Request-to-pay is unknown.\n* `AACR` AlreadyAcceptedRTP - Request-to-pay (RTP) has already been accepted.\n",
            "enum": [
              "AC04",
              "ADAC",
              "AGNT",
              "AM04",
              "ARDT",
              "ARPL",
              "CUST",
              "LEGL",
              "NARR",
              "NOAS",
              "NOOR",
              "PTNA",
              "RQDA",
              "WSEQ",
              "INDM",
              "ACLR",
              "AEXR",
              "ARFR",
              "ARJR",
              "PATE",
              "RR04",
              "RCAR",
              "RCNR",
              "RCPR",
              "URTP",
              "AACR"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "CancellationStatusReason": {
        "discriminator": {
          "mapping": {
            "CODE": "#/components/schemas/ExternalPaymentCancellationRejectionCode",
            "PROPRIETARY": "#/components/schemas/ProprietaryValue"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/ExternalPaymentCancellationRejectionCode"
          },
          {
            "$ref": "#/components/schemas/ProprietaryValue"
          }
        ],
        "type": "object"
      },
      "CancellationStatusReasonInformation": {
        "properties": {
          "originator": {
            "$ref": "#/components/schemas/Party"
          },
          "reason": {
            "$ref": "#/components/schemas/CancellationStatusReason"
          }
        },
        "type": "object"
      },
      "CancellationStatusCode": {
        "description": "* `RJCR` RejectedCancellationRequest - Cancellation request is rejected\n* `ACCR` AcceptedCancellationRequest - Cancellation is accepted.\n* `PDCR` PendingCancellationRequest - Cancellation request is pending.\n",
        "enum": [
          "RJCR",
          "ACCR",
          "PDCR"
        ],
        "type": "string"
      },
      "CancellationDetails": {
        "description": "Specifies the details of the underlying transaction being cancelled\n",
        "properties": {
          "cancellationStatusReasonInfo": {
            "$ref": "#/components/schemas/CancellationStatusReasonInformation",
            "description": "Provides detailed information on the transaction cancellation status\n"
          },
          "originalTransaction": {
            "$ref": "#/components/schemas/OriginalTransactionReference",
            "description": "Provides information on the original transaction to which the cancellation request message refers\n"
          },
          "originalTransactionIdentifiers": {
            "$ref": "#/components/schemas/TransactionIdentifiers"
          },
          "transactionCancellationStatus": {
            "$ref": "#/components/schemas/CancellationStatusCode",
            "description": "Specifies the status of the transaction cancellation request\n"
          }
        },
        "required": [
          "originalTransactionIdentifiers",
          "transactionCancellationStatus"
        ],
        "type": "object"
      },
      "CorrectiveInterbankTransaction": {
        "description": "Provides the details of a corrective interbank payment transaction\n",
        "properties": {
          "messageIdentifiers": {
            "$ref": "#/components/schemas/MessageIdentifiers"
          },
          "schema": {
            "enum": [
              "CORRECTIVE_INTERBANK_TRANSACTION"
            ],
            "type": "string"
          },
          "settlementAmount": {
            "$ref": "#/components/schemas/Amount"
          },
          "settlementDate": {
            "format": "date",
            "type": "string"
          },
          "transactionIdentification": {
            "$ref": "#/components/schemas/TransactionIdentifiers"
          }
        },
        "required": [
          "settlementDate",
          "settlementAmount"
        ],
        "type": "object"
      },
      "CorrectivePaymentInitiation": {
        "description": "Provides the details of a corrective payment initiation\n",
        "properties": {
          "instructedAmount": {
            "$ref": "#/components/schemas/Amount"
          },
          "messageIdentifiers": {
            "$ref": "#/components/schemas/MessageIdentifiers"
          },
          "schema": {
            "enum": [
              "CORRECTIVE_PAYMENT_INITIATION"
            ],
            "type": "string"
          },
          "transactionIdentification": {
            "$ref": "#/components/schemas/TransactionIdentifiers"
          }
        },
        "required": [
          "instructedAmount"
        ],
        "type": "object"
      },
      "CorrectiveTransactionChoice": {
        "discriminator": {
          "mapping": {
            "CORRECTIVE_INTERBANK_TRANSACTION": "#/components/schemas/CorrectiveInterbankTransaction",
            "CORRECTIVE_PAYMENT_INITIATION": "#/components/schemas/CorrectivePaymentInitiation"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/CorrectiveInterbankTransaction"
          },
          {
            "$ref": "#/components/schemas/CorrectivePaymentInitiation"
          }
        ]
      },
      "ZaAcResolutionOfInvestigationPaymentScheme": {
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "ZaEftResolutionOfInvestigationPaymentScheme": {
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "ZaRmsResolutionOfInvestigationPaymentScheme": {
        "properties": {
          "schema": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "ResolutionOfInvestigationPaymentScheme": {
        "description": "Designates which scheme a resolution of investigation is associated with and describes scheme-specific information.\n",
        "discriminator": {
          "mapping": {
            "ZA_AC": "#/components/schemas/ZaAcResolutionOfInvestigationPaymentScheme",
            "ZA_EFT": "#/components/schemas/ZaEftResolutionOfInvestigationPaymentScheme",
            "ZA_RMS": "#/components/schemas/ZaRmsResolutionOfInvestigationPaymentScheme"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/ZaEftResolutionOfInvestigationPaymentScheme"
          },
          {
            "$ref": "#/components/schemas/ZaAcResolutionOfInvestigationPaymentScheme"
          },
          {
            "$ref": "#/components/schemas/ZaRmsResolutionOfInvestigationPaymentScheme"
          }
        ],
        "type": "object"
      },
      "InvestigationStatusCancellationConfirmation": {
        "description": "Indicates whether the cancellation of the assignment is confirmed or rejected. Used when responding to a prior\nrequest to cancel a case assignment\n",
        "properties": {
          "cancellationConfirmed": {
            "type": "boolean"
          },
          "statusType": {
            "enum": [
              "CANCELLATION_CONFIRMATION"
            ],
            "type": "string"
          }
        },
        "required": [
          "statusType",
          "cancellationConfirmed"
        ],
        "type": "object"
      },
      "InvestigationExecutionCode": {
        "description": "* `ACDA` AcceptedDebitAuthorisation - Used when a creditor accepts the debit authorisation.\n* `ACNR` AcceptedClaimNonReceipt - The claim for non-receipt of a payment instruction is accepted.\n* `ACVA` AcceptedValueDateAdjustment - The claim for value date correction is accepted.\n* `BIAS` BatchInstructionAlreadySettled - Process a cancellation request but batch already settled.\n* `CHRG` ChargesDetailsProvided - Further charges details are provided to resolve the case.\n* `CNCL` CancelledAsPerRequest - Used when a requested cancellation is successful.\n* `CONF` ConfirmationOfPayment - Used when a payment has been checked and was correctly executed without any intervention.\n* `CVAA` CorrectValueDateAlreadyApplied - The original value date was correct.\n* `CWFW` CancellationWillFollow - Used when a payment will be cancelled to solve an investigation case.\n* `FTNA` CancellationRequestForwardedToTheNextAgent - \"The cancellation request has been forwarded to the next agent for execution. This code should only be utilised where a Case Id is not present.\"\n* `ICOV` CoverInitiated - Used when a transfer of funds has been initiated (a cover payment) to resolve a case.\n* `IDNE` InstructionDoesNotExist - Process a  Batch Cancellation \"using an incorrect batch sequence number”.\n* `IDUP` InstructionIsDuplicate - Used when the requested check for a possible duplicate instruction is confirmed.\n* `INFO` AdditionalInformationSent - Used when additional information has been sent to the beneficiary of a payment.\n* `IPAY` PaymentInitiated - Used when the result of an investigation is, or will be, the initiation of a payment instruction.\n* `IPYI` PaymentInstructionInitiated - Used when a payment instruction (eg. MT103) has been initiated to resolve a case.\n* `IVCR` InvalidCancellationRequest - Process a cancellation request with incorrect reference to original batch.\n* `MCOV` CoverModified - Used when a transfer of funds has been modified (a cover payment) to resolve a case.\n* `MODI` ModifiedAsPerRequest - Used when a requested modification is successful.\n* `MWFW` ModificationWillFollow - Used when the payment will be modified to solve an investigation case.\n* `NINF` NoInformationAvailable - Used when no additional information is available.\n* `PDCR` PendingCancellationRequest - Used when a requested cancellation is pending.\n* `PDNG` Pending - Used to inform that a response to an investigation is pending.\n* `PECR` PartiallyExecutedCancellationRequest - Used when a requested cancellation has been partially executed.\n* `PURP` PurposeDetailsProvided - Further purpose details are provided to resolve the case.\n* `RJCR` RejectedCancellationRequest - Used when a requested cancellation has been rejected.\n* `RJNR` RejectedClaimNonReceipt - The claim for non-receipt of a payment instruction is rejected.\n* `RJVA` RejectedValueDateAdjustment - The claim for value date correction is rejected.\n* `SMTC` StatementEntryCorrect - Used when the entry in the statement is correct.\n* `SMTI` StatementEntryIncorrect - Used when the entry in the statement is incorrect and further information is provided with the resolution.\n* `UWFW` UnableToApplyWillFollow - Used when sender wants to respond to an assignment with an Unable To Apply workflow.\n",
        "enum": [
          "ACDA",
          "ACNR",
          "ACVA",
          "BIAS",
          "CHRG",
          "CNCL",
          "CONF",
          "CVAA",
          "CWFW",
          "FTNA",
          "ICOV",
          "IDNE",
          "IDUP",
          "INFO",
          "IPAY",
          "IPYI",
          "IVCR",
          "MCOV",
          "MODI",
          "MWFW",
          "NINF",
          "PDCR",
          "PDNG",
          "PECR",
          "PURP",
          "RJCR",
          "RJNR",
          "RJVA",
          "SMTC",
          "SMTI"
        ],
        "type": "string"
      },
      "InvestigationStatusConfirmation": {
        "description": "Specifies the status of the investigation, in a coded form\n",
        "properties": {
          "confirmationCode": {
            "$ref": "#/components/schemas/InvestigationExecutionCode"
          },
          "statusType": {
            "enum": [
              "CONFIRMATION"
            ],
            "type": "string"
          }
        },
        "required": [
          "statusType",
          "confirmationCode"
        ],
        "type": "object"
      },
      "InvestigationStatusDuplicateOf": {
        "description": "Indicates a duplicated case\n",
        "properties": {
          "duplicateOf": {
            "$ref": "#/components/schemas/Case6"
          },
          "statusType": {
            "enum": [
              "DUPLICATE_OF"
            ],
            "type": "string"
          }
        },
        "required": [
          "statusType",
          "duplicateOf"
        ],
        "type": "object"
      },
      "ExternalPaymentModificationRejectionCode": {
        "properties": {
          "schema": {
            "description": "Identifies the value as being a pre-defined code. Always `CODE`.",
            "type": "string"
          },
          "value": {
            "description": "* `UM01` UnableToModifyRelatedReference - Related transaction reference cannot be modified.\n* `UM02` UnableToModifyPaymentServiceLevel - Service level element of payment type cannot be modified(former UnableToModifyBankOperationCode).\n* `UM03` UnableToModifyCategoryPurpose - Category purpose element of payment type cannot be modified (former UnableToModifyInstructionCode).\n* `UM04` UnableToModifyRequestedExecutionDate - RequestedExecutionDate cannot be modified.\n* `UM05` UnableToModifyInterbankSettlementDate - InterbankSettlementDate cannot be modified (former UnableToModifyValueDate).\n* `UM06` UnableToModifyInterbankSettlementAccount - SettlementAccount cannot be modified (former UnableToModifyInterbankSettlementAccount).\n* `UM07` UnableToModifyDebtor - Debtor cannot be modified.\n* `UM08` UnableToModifyDebtorAccount - DebtorAccount cannot be modified.\n* `UM09` UnableToModifyInstructedReimbursementAgent - InstructedReimbursementAgent cannot be modified (former UnableToModifyReceiverCorrespondent).\n* `UM10` UnableToModifyThirdReimbursementAgent - ThirdReimbursementAgent cannot be modified (former UnableToModifyThirdReimbursementInstitution).\n* `UM11` UnableToModifyPaymentClearingChannel - Clearing Channel element of payment type cannot be modified (former UnableToModifyPaymentScheme)\n* `UM12` UnableToModifyCreditorAgentAccount - Creditor agent account cannot be modified (former UnableToModifyAccountOfBeneficiaryInstitution)\n* `UM13` UnableToModifyCreditor - Creditor cannot be modified.\n* `UM14` UnableToModifyCreditorAccount - Creditor account cannot be modified.\n* `UM15` UnableToModifyRemittanceInformation - Remittance information cannot be modified.\n* `UM16` UnableToModifyPaymentPurpose - PaymentPurpose cannot be modified.\n* `UM17` UnableToModifyChargeBearer - Charge bearer cannot be modified (former UnableToModifyDetailsOfCharges).\n* `UM18` UnableToModifyInstructionForNextAgent - Instruction for next agent cannot be modified (former UnableToModifySenderToReceiver).\n* `UM19` UnableToModifyInstructionForCreditorAgent - Instruction for creditor agent cannot be modified. (former UnableToModifyInstructionForFinalAgent).\n* `UM20` InstructionCancelledSubmitNewInstruction - Used to inform of cancellation and request a new payment instruction. This should only be used if an agent does not want to modify a pending payment.\n* `UM21` UnableToModifySubmitCancellation - Modification is not possible and the cancellation is requested.\n* `UM22` UnableToModifyDebtorAgentAccount - Debtor agent account cannot be modified (applicable for direct debits).\n* `UM23` UnableToModifyInterbankSettlementAmount - Interbank settlement amount cannot be modified.\n* `UM24` UnableToModifyInstructionForDebtorAgent - Instruction for debtor agent cannot be modified (applicable for direct debits)\n* `UM25` UnableToModifyRequestedCollectionDate - Requested collection date cannot be modified (applicable for direct debits)\n* `UM26` UnableToModifyPaymentType - Payment type cannot be modified.\n* `UM27` UnableToModifyInstructedAmount - Instructed or equivalent amount cannot be modified.\n* `UM28` UnableToModifyPriority - Priority of payment message cannot be modified.\n",
            "enum": [
              "UM01",
              "UM02",
              "UM03",
              "UM04",
              "UM05",
              "UM06",
              "UM07",
              "UM08",
              "UM09",
              "UM10",
              "UM11",
              "UM12",
              "UM13",
              "UM14",
              "UM15",
              "UM16",
              "UM17",
              "UM18",
              "UM19",
              "UM20",
              "UM21",
              "UM22",
              "UM23",
              "UM24",
              "UM25",
              "UM26",
              "UM27",
              "UM28"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "ModificationStatusReason": {
        "discriminator": {
          "mapping": {
            "CODE": "#/components/schemas/ExternalPaymentModificationRejectionCode",
            "PROPRIETARY": "#/components/schemas/ProprietaryValue"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/ExternalPaymentModificationRejectionCode"
          },
          {
            "$ref": "#/components/schemas/ProprietaryValue"
          }
        ],
        "type": "object"
      },
      "InvestigationStatusRejectedModification": {
        "description": "Specifies the reason for the rejection of a modification request, in a coded form. Used when responding to a prior\nrequest to modify a payment\n",
        "properties": {
          "rejectedModificationStatus": {
            "$ref": "#/components/schemas/ModificationStatusReason",
            "description": "Reason for the rejection of a modification request, in a coded form"
          },
          "statusType": {
            "enum": [
              "REJECTED_MODIFICATION"
            ],
            "type": "string"
          }
        },
        "required": [
          "statusType",
          "rejectedModificationStatus"
        ],
        "type": "object"
      },
      "InvestigationStatus": {
        "description": "Indicates the status of an investigation\n",
        "discriminator": {
          "mapping": {
            "CANCELLATION_CONFIRMATION": "#/components/schemas/InvestigationStatusCancellationConfirmation",
            "CONFIRMATION": "#/components/schemas/InvestigationStatusConfirmation",
            "DUPLICATE_OF": "#/components/schemas/InvestigationStatusDuplicateOf",
            "REJECTED_MODIFICATION": "#/components/schemas/InvestigationStatusRejectedModification"
          },
          "propertyName": "statusType"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/InvestigationStatusConfirmation"
          },
          {
            "$ref": "#/components/schemas/InvestigationStatusRejectedModification"
          },
          {
            "$ref": "#/components/schemas/InvestigationStatusDuplicateOf"
          },
          {
            "$ref": "#/components/schemas/InvestigationStatusCancellationConfirmation"
          }
        ]
      },
      "ResolutionOfInvestigation": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseResponseMessage"
          },
          {
            "properties": {
              "assignment": {
                "$ref": "#/components/schemas/CaseAssignment",
                "description": "The assignment that has been investigated\n"
              },
              "cancellationDetails": {
                "$ref": "#/components/schemas/CancellationDetails"
              },
              "correctionTransaction": {
                "$ref": "#/components/schemas/CorrectiveTransactionChoice",
                "description": "References a transaction that serves to fix the case under investigation\n"
              },
              "paymentScheme": {
                "$ref": "#/components/schemas/ResolutionOfInvestigationPaymentScheme"
              },
              "resolvedCase": {
                "$ref": "#/components/schemas/Case6",
                "description": "The case that has been resolved\n"
              },
              "schema": {
                "enum": [
                  "ResolutionOfInvestigation"
                ],
                "type": "string"
              },
              "status": {
                "$ref": "#/components/schemas/InvestigationStatus",
                "description": "Indicates the status of the investigation\n"
              }
            },
            "required": [
              "paymentScheme",
              "assignment",
              "status",
              "schema"
            ],
            "type": "object"
          }
        ]
      },
      "SchemeInquiry": {
        "discriminator": {
          "mapping": {
            "ZA_RPP_LIST_DOMAINS": "#/components/schemas/ZaRppListDomainsInquiry",
            "ZA_RPP_LIST_PARTICIPANTS": "#/components/schemas/ZaRppListParticipantsInquiry"
          },
          "propertyName": "schema"
        },
        "properties": {
          "schema": {
            "type": "string"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "ZaRppListDomainsInquiry": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SchemeInquiry"
          }
        ],
        "properties": {
          "agent": {
            "$ref": "#/components/schemas/InstitutionIdentification"
          }
        },
        "required": [
          "agent"
        ],
        "type": "object"
      },
      "ZaRppListParticipantsInquiry": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SchemeInquiry"
          }
        ],
        "properties": {
          "agent": {
            "$ref": "#/components/schemas/InstitutionIdentification"
          }
        },
        "required": [
          "agent"
        ],
        "type": "object"
      },
      "SchemeInquiryRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseMessage"
          },
          {
            "properties": {
              "inquiry": {
                "$ref": "#/components/schemas/SchemeInquiry"
              },
              "schema": {
                "enum": [
                  "SchemeInquiryRequest"
                ],
                "type": "string"
              }
            },
            "required": [
              "inquiry",
              "schema"
            ],
            "type": "object"
          }
        ],
        "type": "object"
      },
      "SchemeReport": {
        "discriminator": {
          "mapping": {
            "ZA_RPP_LIST_DOMAINS": "#/components/schemas/ZaRppListDomainsSchemeReport",
            "ZA_RPP_LIST_PARTICIPANTS": "#/components/schemas/ZaRppListParticipantsSchemeReport"
          },
          "propertyName": "schema"
        },
        "properties": {
          "schema": {
            "type": "string"
          }
        },
        "required": [
          "schema"
        ],
        "type": "object"
      },
      "ZaInstitutionIdentificationWithDomain": {
        "allOf": [
          {
            "$ref": "#/components/schemas/InstitutionIdentification"
          },
          {
            "properties": {
              "domain": {
                "description": "A BankservAfrica-specific field requirement that associates this institution with a specific \"domain\"\n- which is essentially a type of namespace. This is the equivalent of the Electrum 'namespace' found on\nNon-Banking Identifiers, such as a MobileIdentifier\n",
                "maxLength": 35,
                "type": "string"
              }
            },
            "type": "object"
          }
        ]
      },
      "ZaRppListDomainsSchemeReport": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SchemeReport"
          }
        ],
        "properties": {
          "agent": {
            "$ref": "#/components/schemas/InstitutionIdentification"
          },
          "domains": {
            "items": {
              "$ref": "#/components/schemas/ZaInstitutionIdentificationWithDomain"
            },
            "type": "array"
          }
        },
        "required": [
          "agent",
          "domains"
        ],
        "type": "object"
      },
      "ZaRppServices": {
        "enum": [
          "PBPX",
          "PBPXQ",
          "PBACQ",
          "PBAC",
          "RTP-PBPX",
          "RTP-PBAC",
          "RTP-PBPXQ",
          "RTP-PBACQ"
        ],
        "type": "string"
      },
      "ZaInstitutionDomainDetails": {
        "properties": {
          "domain": {
            "description": "A BankservAfrica-specific field requirement that associates this institution with a specific \"domain\"\n- which is essentially a type of namespace. This is the equivalent of the Electrum 'namespace' found on\nNon-Banking Identifiers, such as a MobileIdentifier\n",
            "maxLength": 35,
            "minLength": 1,
            "type": "string"
          },
          "name": {
            "description": "Name by which an institution is known and which is usually used to identify that institution",
            "maxLength": 100,
            "minLength": 1,
            "type": "string"
          },
          "services": {
            "items": {
              "$ref": "#/components/schemas/ZaRppServices"
            },
            "minItems": 0,
            "type": "array"
          }
        },
        "required": [
          "domain",
          "name",
          "services"
        ],
        "type": "object"
      },
      "ParticipantIdentificationDetails": {
        "properties": {
          "bicfi": {
            "description": "A code allocated to a financial or non-financial institution by the ISO 9362 Registration Authority as\ndescribed in ISO 9362 Banking - Banking telecommunication messages - Business identifier code (BIC)\n",
            "pattern": "^[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}$",
            "type": "string"
          },
          "branch": {
            "$ref": "#/components/schemas/BranchIdentification"
          },
          "domainDetails": {
            "items": {
              "$ref": "#/components/schemas/ZaInstitutionDomainDetails"
            },
            "type": "array"
          },
          "memberId": {
            "description": "Identification of a member of a clearing system.",
            "maxLength": 35,
            "minLength": 1,
            "type": "string"
          },
          "name": {
            "description": "Name by which an institution is known and which is usually used to identify that institution.",
            "maxLength": 140,
            "type": "string"
          },
          "services": {
            "items": {
              "$ref": "#/components/schemas/ZaRppServices"
            },
            "minItems": 0,
            "type": "array"
          },
          "sponsoringAgentBicfi": {
            "description": "A code allocated to a financial or non-financial institution by the ISO 9362 Registration Authority as\ndescribed in ISO 9362 Banking - Banking telecommunication messages - Business identifier code (BIC)\n",
            "pattern": "^[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}$",
            "type": "string"
          },
          "sponsoringAgentName": {
            "description": "Name by which an institution is known and which is usually used to identify that institution.",
            "maxLength": 100,
            "type": "string"
          }
        },
        "required": [
          "name",
          "services"
        ]
      },
      "ZaRppListParticipantsSchemeReport": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SchemeReport"
          }
        ],
        "properties": {
          "agent": {
            "$ref": "#/components/schemas/InstitutionIdentification"
          },
          "participantDetails": {
            "items": {
              "$ref": "#/components/schemas/ParticipantIdentificationDetails"
            },
            "type": "array"
          }
        },
        "required": [
          "agent",
          "participantDetails"
        ],
        "type": "object"
      },
      "SchemeInquiryResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseResponseMessage"
          },
          {
            "properties": {
              "report": {
                "$ref": "#/components/schemas/SchemeReport"
              },
              "schema": {
                "enum": [
                  "SchemeInquiryResponse"
                ],
                "type": "string"
              }
            },
            "required": [
              "originalMessageIdentification",
              "originalCreationDateTime",
              "schema"
            ],
            "type": "object"
          }
        ],
        "type": "object"
      },
      "ValidationStep": {
        "description": "Represents the result of checking a validation step during a validation operation. Note that the `reasonInfo`\nvalue will typically be set in the case that the result is `FAILED`, whereas it may or may not be set if the\nresult is `PASSED` or `NOT_RUN`. It is also expected that the `reason` used in `reasonInfo` values is always\nof type `CODE` and not `PROPRIETARY`.\n",
        "properties": {
          "description": {
            "description": "A short description of the scheme rule that was checked.\n",
            "type": "string"
          },
          "reasonInfo": {
            "$ref": "#/components/schemas/StatusReasonInfo"
          },
          "result": {
            "description": "Enumerates the result of the validation step.\n`PASSED`: the data provided passed the validation step.\n`FAILED`: the data provided did not pass the validation step.\n`NOT_RUN`: the step was not run as the client has opted out of the specific check.\n",
            "enum": [
              "PASSED",
              "FAILED",
              "NOT_RUN"
            ],
            "type": "string"
          }
        },
        "required": [
          "description",
          "result"
        ],
        "type": "object"
      },
      "ValidationOutcome": {
        "properties": {
          "isSuccessful": {
            "description": "An overall indication of whether the validation operation was successful. True if none of the validation\nsteps failed (i.e. have result `FAILED`); false otherwise.\n",
            "type": "boolean"
          },
          "schema": {
            "enum": [
              "ValidationOutcome"
            ],
            "type": "string"
          },
          "steps": {
            "description": "A list of results for each validation step checked as part of the validation operation.\n",
            "items": {
              "$ref": "#/components/schemas/ValidationStep"
            },
            "minItems": 1,
            "type": "array"
          }
        },
        "required": [
          "schema",
          "isSuccessful",
          "steps"
        ],
        "type": "object"
      },
      "EventPayload": {
        "discriminator": {
          "mapping": {
            "AccountAdditionalIdUpdateRequest": "#/components/schemas/AccountAdditionalIdUpdateRequest",
            "AccountUpdateRequest": "#/components/schemas/AccountUpdateRequest",
            "AccountVerificationRequest": "#/components/schemas/AccountVerificationRequest",
            "AccountVerificationResponse": "#/components/schemas/AccountVerificationResponse",
            "CreditTransfer": "#/components/schemas/CreditTransfer",
            "CreditTransferInitiationStatusRequest": "#/components/schemas/CreditTransferInitiationStatusRequest",
            "CreditTransferStatusRequest": "#/components/schemas/CreditTransferStatusRequest",
            "DirectDebit": "#/components/schemas/DirectDebit",
            "DuplicateCheckOutcome": "#/components/schemas/DuplicateCheckOutcome",
            "DuplicateCheckRequest": "#/components/schemas/DuplicateCheckRequest",
            "ErrorDetail": "#/components/schemas/ErrorDetail",
            "FiToFiCreditTransfer": "#/components/schemas/FiToFiCreditTransfer",
            "FiToFiPaymentCancellationRequest": "#/components/schemas/FiToFiPaymentCancellationRequest",
            "FraudAssessmentReport": "#/components/schemas/FraudAssessmentReport",
            "FraudAssessmentRequest": "#/components/schemas/FraudAssessmentRequest",
            "IdentifierDeterminationRequest": "#/components/schemas/IdentifierDeterminationRequest",
            "IdentifierDeterminationResponse": "#/components/schemas/IdentifierDeterminationResponse",
            "IdentifierSchemeDeregistrationRequest": "#/components/schemas/IdentifierSchemeDeregistrationRequest",
            "IdentifierSchemeDeregistrationResponse": "#/components/schemas/IdentifierSchemeDeregistrationResponse",
            "IdentifierSchemeRegistrationRequest": "#/components/schemas/IdentifierSchemeRegistrationRequest",
            "IdentifierSchemeRegistrationResponse": "#/components/schemas/IdentifierSchemeRegistrationResponse",
            "PaymentReturn": "#/components/schemas/PaymentReturn",
            "PaymentStatusReport": "#/components/schemas/PaymentStatusReport",
            "PostingRequest": "#/components/schemas/PostingRequest",
            "Receipt": "#/components/schemas/Receipt",
            "RefundCheckoutOutcome": "#/components/schemas/RefundCheckoutOutcome",
            "RefundCheckoutRequest": "#/components/schemas/RefundCheckoutRequest",
            "RefundFinalisationRequest": "#/components/schemas/RefundFinalisationRequest",
            "RefundInitiationRequest": "#/components/schemas/RefundInitiationRequest",
            "RequestToPay": "#/components/schemas/RequestToPay",
            "RequestToPayCancellation": "#/components/schemas/RequestToPayCancellation",
            "RequestToPayCancellationResponse": "#/components/schemas/RequestToPayCancellationResponse",
            "RequestToPayResponse": "#/components/schemas/RequestToPayResponse",
            "RequestToPayStatusRequest": "#/components/schemas/RequestToPayStatusRequest",
            "ReservationRequest": "#/components/schemas/ReservationRequest",
            "ResolutionOfInvestigation": "#/components/schemas/ResolutionOfInvestigation",
            "SchemeInquiryRequest": "#/components/schemas/SchemeInquiryRequest",
            "SchemeInquiryResponse": "#/components/schemas/SchemeInquiryResponse",
            "ValidationOutcome": "#/components/schemas/ValidationOutcome"
          },
          "propertyName": "schema"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/CreditTransfer"
          },
          {
            "$ref": "#/components/schemas/PaymentStatusReport"
          },
          {
            "$ref": "#/components/schemas/IdentifierSchemeDeregistrationRequest"
          },
          {
            "$ref": "#/components/schemas/IdentifierSchemeDeregistrationResponse"
          },
          {
            "$ref": "#/components/schemas/IdentifierSchemeRegistrationResponse"
          },
          {
            "$ref": "#/components/schemas/IdentifierSchemeRegistrationRequest"
          },
          {
            "$ref": "#/components/schemas/SchemeInquiryRequest"
          },
          {
            "$ref": "#/components/schemas/SchemeInquiryResponse"
          },
          {
            "$ref": "#/components/schemas/IdentifierDeterminationRequest"
          },
          {
            "$ref": "#/components/schemas/IdentifierDeterminationResponse"
          },
          {
            "$ref": "#/components/schemas/AccountUpdateRequest"
          },
          {
            "$ref": "#/components/schemas/AccountAdditionalIdUpdateRequest"
          },
          {
            "$ref": "#/components/schemas/ValidationOutcome"
          },
          {
            "$ref": "#/components/schemas/ErrorDetail"
          },
          {
            "$ref": "#/components/schemas/DirectDebit"
          },
          {
            "$ref": "#/components/schemas/PaymentReturn"
          },
          {
            "$ref": "#/components/schemas/CreditTransferStatusRequest"
          },
          {
            "$ref": "#/components/schemas/CreditTransferInitiationStatusRequest"
          },
          {
            "$ref": "#/components/schemas/RequestToPay"
          },
          {
            "$ref": "#/components/schemas/RequestToPayResponse"
          },
          {
            "$ref": "#/components/schemas/RequestToPayCancellation"
          },
          {
            "$ref": "#/components/schemas/RequestToPayCancellationResponse"
          },
          {
            "$ref": "#/components/schemas/RequestToPayStatusRequest"
          },
          {
            "$ref": "#/components/schemas/AccountVerificationRequest"
          },
          {
            "$ref": "#/components/schemas/AccountVerificationResponse"
          },
          {
            "$ref": "#/components/schemas/ReservationRequest"
          },
          {
            "$ref": "#/components/schemas/Receipt"
          },
          {
            "$ref": "#/components/schemas/PostingRequest"
          },
          {
            "$ref": "#/components/schemas/FiToFiCreditTransfer"
          },
          {
            "$ref": "#/components/schemas/RefundCheckoutRequest"
          },
          {
            "$ref": "#/components/schemas/RefundInitiationRequest"
          },
          {
            "$ref": "#/components/schemas/RefundCheckoutOutcome"
          },
          {
            "$ref": "#/components/schemas/RefundFinalisationRequest"
          },
          {
            "$ref": "#/components/schemas/FraudAssessmentRequest"
          },
          {
            "$ref": "#/components/schemas/FraudAssessmentReport"
          },
          {
            "$ref": "#/components/schemas/FiToFiPaymentCancellationRequest"
          },
          {
            "$ref": "#/components/schemas/ResolutionOfInvestigation"
          },
          {
            "$ref": "#/components/schemas/DuplicateCheckRequest"
          },
          {
            "$ref": "#/components/schemas/DuplicateCheckOutcome"
          }
        ],
        "type": "object"
      },
      "EventTranInfo": {
        "description": "Transaction-specific properties of the event. These are populated on a best-effort basis.",
        "properties": {
          "direction": {
            "description": "The direction of the payment instruction with respect to the Electrum partner. For example, `INBOUND` credit transfers are\ninstructions _to the partner_ to credit a customer's account while `OUTBOUND` credit transfers are instructions _by the partner_ to\ncredit an account at another institution.\n",
            "enum": [
              "INBOUND",
              "OUTBOUND"
            ],
            "type": "string"
          },
          "paymentScheme": {
            "$ref": "#/components/schemas/PaymentSchemeName"
          },
          "service": {
            "description": "The Electrum service which processed the transaction.",
            "type": "string"
          },
          "tranUetr": {
            "description": "The UETR of the transaction to which this event pertains.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "TransactionStateEvent": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Event"
          },
          {
            "description": "All of the data supplied as part of the state event.\n\nThe stage change that triggered the event is provided by the `type` field. Each event also\ncarries a globally unique value in the inherited `name` field which is simply the `class`\n(which is always `STATE` for state-triggered events) concatenated (using an underscore) with\nthe `type`.\n\nThe specific states which elicit an event are:\n\n|State|Circumstance|\n|-----|------------|\n\n|CREDIT_AUTH_ACCEPTED|Deprecated; use PAYMENT_AUTH_REQUEST_ACCEPTED instead. Indicates that the prior auth request passed all technical validation and\nwill be functionally processed. Corresponds to an HTTP `2xx` back to where the auth request originated from.|\n|CREDIT_AUTH_DELIVERY_PENDING|Deprecated; use PAYMENT_AUTH_REQUEST_PENDING instead. Indicates that Electrum has performed functional processing of an auth\nrequest (which was previously accepted) and Electrum is forwarding it on to the partner or industry for processing, depending\non whether the transaction is an inbound or outbound transaction.|\n|CREDIT_AUTH_DELIVERED|Deprecated; no alternative state provided. Indicates that Electrum has successfully delivered the auth request to the intended recipient.|\n|CREDIT_AUTH_DELIVERY_FAILURE|Deprecated; use PAYMENT_AUTH_REQUEST_DELIVERY_FAILURE instead. Indicates that Electrum encountered a technical error while delivering the auth\nrequest to the intended recipient (for example receiving HTTP 5xx responses from the partner).|\n|CREDIT_AUTH_RECEIVED|Deprecated; use PAYMENT_AUTH_REQUEST_RECEIVED instead. Indicates that Electrum received an auth request.|\n|CREDIT_AUTH_REJECTED|Deprecated; use PAYMENT_AUTH_REQUEST_REJECTED instead. The opposite of CREDIT_AUTH_REQUEST_ACCEPTED. No further processing of the credit\nauth is performed. Corresponds with an HTTP `4xx` or `5xx` back to where the auth request originated from.|\n|CREDIT_AUTH_RESPONSE_ACCEPTED|Deprecated; use PAYMENT_AUTH_RESPONSE_ACCEPTED instead. Indicates that the prior auth response passed all technical\nvalidation and will be functionally processed. Corresponds with an HTTP `2xx` back to where the auth response originated from.|\n|CREDIT_AUTH_RESPONSE_RECEIVED|Deprecated; use PAYMENT_AUTH_RESPONSE_RECEIVED instead. Electrum received an auth response for a prior auth request that Electrum had\nforwarded.|\n|CREDIT_AUTH_RESPONSE_REJECTED|Deprecated; use PAYMENT_AUTH_RESPONSE_REJECTED instead. The opposite of CREDIT_AUTH_RESPONSE_ACCEPTED. No further\nprocessing of the credit auth response is performed. Corresponds to an HTTP `4xx` or `5xx` back to the sender of the credit auth response.|\n|CREDIT_AUTH_TIMEOUT|Deprecated; use PAYMENT_AUTH_TIMEOUT instead. No accepted credit auth response was received by Electrum timeously.|\n|CREDIT_COMPLETION_ACCEPTED|Deprecated; use PAYMENT_COMPLETION_ACCEPTED instead. Indicates that the prior credit transfer completion request passed all\ntechnical validation and will be functionally processed. Corresponds with an HTTP `2xx` back to where the credit completion originated from.|\n|CREDIT_COMPLETION_RECEIVED|Deprecated; use PAYMENT_COMPLETION_RECEIVED instead. Indicates that Electrum received a request to complete a previously approved credit\ntransfer authorsation.|\n|CREDIT_COMPLETION_DELIVERY_PENDING|Deprecated; use PAYMENT_COMPLETED instead. Indicates that Electrum has performed functional processing of a completion\nrequest (which was previously accepted) and Electrum is forwarding it on to the partner or industry for processing, depending\non whether the transaction is an inbound or outbound transaction.|\n|CREDIT_COMPLETION_DELIVERED|Deprecated; no alternative state provided. Electrum successfully delivered the credit completion to the intended recipient.|\n|CREDIT_COMPLETION_DELIVERY_FAILURE|Deprecated; use PAYMENT_COMPLETION_DELIVERY_FAILURE instead. Indicates that a credit transfer completion message was not successfully delivered to the intended recipient.|\n|CREDIT_TRANSFER_STATUS_PENDING|Deprecated; use PAYMENT_STATUS_PENDING instead. Indicates that Electrum is awaiting the status of a credit transfer after sending a status request to industry.|\n|CREDIT_COMPLETION_REJECTED|Deprecated; use PAYMENT_COMPLETION_REJECTED instead. The opposite of CREDIT_COMPLETION_ACCEPTED. No further processing of the\ncredit transfer completion request is performed. Corresponds to an HTTP `4xx` or `5xx` back to where the completion originated from.|\n|CREDIT_AUTH_RESPONSE_DELIVERED|Deprecated; no alternative state provided. Electrum successfully delivered the authorisation response (either approved or declined) to industry.|\n|CREDIT_AUTH_RESPONSE_DELIVERY_FAILURE|Deprecated; use PAYMENT_AUTH_RESPONSE_DELIVERY_FAILURE instead. Indicates that Electrum encountered a technical error while delivering an authorisation response\n(either approved or declined) to the partner or industry.|\n|CREDIT_AUTH_RESPONSE_DELIVERY_PENDING|Deprecated; use PAYMENT_AUTH_APPROVED or PAYMENT_AUTH_FAILED instead. Indicates that Electrum has performed functional processing of an auth\nresponse (which was previously accepted) and Electrum is forwarding it on to intended recipient for processing.|\n|CREDIT_TRANSFER_RECEIVED|Deprecated; use PAYMENT_REQUEST_RECEIVED instead. Indicates that Electrum received a credit transfer request.|\n|CREDIT_TRANSFER_ACCEPTED|Deprecated; use PAYMENT_REQUEST_ACCEPTED instead. Indicates that the prior credit transfer request passed all technical validation and\nwill be functionally processed. Corresponds to an HTTP `2xx` back to where the credit transfer request originated from.|\n|CREDIT_TRANSFER_REJECTED|Deprecated; use PAYMENT_REQUEST_REJECTED instead. The opposite of CREDIT_TRANSFER_ACCEPTED. No further processing of the credit transfer request\nis performed. Corresponds with an HTTP `4xx` or `5xx` back to where the credit transfer request originated from.|\n|CREDIT_TRANSFER_DELIVERY_PENDING|Deprecated; use PAYMENT_PENDING instead. Indicates that Electrum has performed functional processing of a credit transfer\nrequest (which was previously accepted) and Electrum is forwarding it on to the partner or industry for processing, depending\non whether the transaction is an inbound or outbound transaction. Electrum has not yet received an acknowledgement of the credit transfer request.|\n|CREDIT_TRANSFER_DELIVERED|Deprecated; no alternative state provided. Indicates that Electrum has successfully delivered the credit transfer request to the intended recipient.|\n|CREDIT_TRANSFER_DELIVERY_FAILURE|Deprecated; use PAYMENT_REQUEST_DELIVERY_FAILURE instead. Indicates that Electrum encountered a technical error while delivering the credit transfer\nrequest to the intended recipient (for example receiving HTTP 5xx responses from the partner).|\n|CREDIT_TRANSFER_TIMEOUT|Deprecated; use PAYMENT_TIMEOUT instead. No accepted credit transfer response was received by Electrum timeously.|\n|CREDIT_TRANSFER_RESPONSE_RECEIVED|Deprecated; use PAYMENT_RESPONSE_RECEIVED instead. Electrum received a credit transfer response for a prior credit transfer request that Electrum had forwarded.|\n|CREDIT_TRANSFER_RESPONSE_ACCEPTED|Deprecated; use PAYMENT_RESPONSE_ACCEPTED instead. Indicates that the prior credit transfer response passed all technical\nvalidation and will be functionally processed. Corresponds with an HTTP `2xx` back to where the credit transfer response originated from.|\n|CREDIT_TRANSFER_RESPONSE_REJECTED|Deprecated; use PAYMENT_RESPONSE_REJECTED instead. The opposite of CREDIT_TRANSFER_RESPONSE_ACCEPTED. No further\nprocessing of the credit transfer response is performed. Corresponds to an HTTP `4xx` or `5xx` back to the sender of the credit transfer response.|\n|CREDIT_TRANSFER_APPROVED|Deprecated; use PAYMENT_APPROVED instead. Indicates that the credit transfer request has been approved and settlement is expected.|\n|CREDIT_TRANSFER_DECLINED|Deprecated; use PAYMENT_FAILED instead. Indicates that a credit transfer attempt has failed. The cause of the failure is contained in the payload.|\n|IDENTIFIER_DEREGISTRATION_RECEIVED|Indicates that Electrum received a request to deregister an identifier with a scheme.|\n|IDENTIFIER_DEREGISTRATION_FAILED|Indicates that the request to deregister an identifier with a scheme failed.\nThis could be because it was rejected, or because no response was received within the time limit.|\n|IDENTIFIER_DEREGISTRATION_SUCCEEDED|Indicates that the request to deregister an identifier with a scheme succeeded.|\n|IDENTIFIER_DETERMINATION_FAILED|Indicates that the identifier determination response received from industry has been\nforwarded to the partner. The response from industry was not an approval.|\n|IDENTIFIER_DETERMINATION_PENDING|Indicates that Electrum has performed functional processing of an identifier\ndetermination request (which was previously accepted) and that Electrum is forwarding it on to industry for processing.|\n|IDENTIFIER_DETERMINATION_REQUEST_DELIVERY_PENDING|Deprecated; use IDENTIFIER_DETERMINATION_PENDING instead. Indicates that Electrum has performed functional processing of an identifier\ndetermination request (which was previously accepted) and that Electrum is forwarding it on to industry for processing. No acknowledgement has been received.|\n|IDENTIFIER_DETERMINATION_REQUEST_DELIVERED|Deprecated; no alternative state provided. Indicates that an accepted identifier determination request was successfully delivered\nto the intended recipient.|\n|IDENTIFIER_DETERMINATION_REQUEST_DELIVERY_FAILURE|Indicates that Electrum encountered a technical error while delivering the\nidentifier determination request to the intended recipient (for example receiving HTTP 5xx responses from the partner).|\n|IDENTIFIER_DETERMINATION_PROVIDED|Indicates that the identifier determination response received from industry has\nbeen forwarded to the partner. The response from industry was an approval.|\n|IDENTIFIER_DETERMINATION_REQUEST_ACCEPTED|Indicates that the prior identifier determination request passed all\ntechnical validation and will be functionally processed. Corresponds to an HTTP `2xx` back to industry.|\n|IDENTIFIER_DETERMINATION_REQUEST_RECEIVED|Electrum received a request to provide industry with identifying information\nof a recipient based on the provided information|\n|IDENTIFIER_DETERMINATION_REQUEST_REJECTED|The opposite of IDENTIFIER_DETERMINATION_REQUEST_ACCEPTED. No further\nprocessing of the identifier determination request is performed. Corresponds to an HTTP `4xx` or `5xx` back to the sender\nof the identifier determination request.|\n|IDENTIFIER_DETERMINATION_RESPONSE_ACCEPTED|Indicates that the prior identifier determination response passed all\ntechnical validation and will be functionally processed. Corresponds to an HTTP `2xx` back to industry.|\n|IDENTIFIER_DETERMINATION_RESPONSE_RECEIVED|Electrum received a response from industry to a request to retrieve\nidentifying information for a recipient (creditor).|\n|IDENTIFIER_DETERMINATION_RESPONSE_REJECTED|The opposite of IDENTIFIER_DETERMINATION_RESPONSE_ACCEPTED. No further\nprocessing of the identifier determination response is performed. Corresponds to an HTTP `4xx` or `5xx` back to the sender\nof the identifier determination response.|\n|IDENTIFIER_DETERMINATION_RESPONSE_DELIVERY_FAILURE|Indicates that Electrum encountered a technical error while delivering the\nidentifier determination response to the intended recipient (for example receiving HTTP 5xx responses from the partner).|\n|IDENTIFIER_DETERMINATION_TIMEOUT|No accepted identifier determination response was received from industry timeously.|\n|IDENTIFIER_REGISTRATION_RECEIVED|Indicates that Electrum received a request to register an identifier with a scheme|\n|IDENTIFIER_REGISTRATION_FAILED|Indicates that the request to register an identifier with a scheme failed.\nThis could be because it was rejected, or because no response was received within the time limit.|\n|IDENTIFIER_REGISTRATION_SUCCEEDED|Indicates that the request to register an identifier with a scheme succeeded.|\n|PAYMENT_AUTH_REQUEST_RECEIVED|Indicates that Electrum received an auth request.|\n|PAYMENT_AUTH_REQUEST_ACCEPTED|Indicates that the prior auth request passed all technical validation and\nwill be functionally processed. Corresponds to an HTTP `2xx` back to where the auth request originated from.|\n|PAYMENT_AUTH_REQUEST_REJECTED|The opposite of PAYMENT_AUTH_ACCEPTED. No further processing of the payment\nauth is performed. Corresponds with an HTTP `4xx` or `5xx` back to where the auth request originated from.|\n|PAYMENT_AUTH_REQUEST_PENDING|Indicates that Electrum has performed functional processing of an auth\nrequest (which was previously accepted) and Electrum is forwarding it on to the partner or industry for processing, depending\non whether the transaction is an inbound or outbound transaction.|\n|PAYMENT_AUTH_REQUEST_DELIVERY_FAILURE|Indicates that Electrum encountered a technical error while delivering the auth\nrequest to the intended recipient (for example receiving HTTP 5xx responses from the partner).|\n|PAYMENT_AUTH_RESPONSE_RECEIVED|Electrum received an auth response for a prior auth request that Electrum had\nforwarded.|\n|PAYMENT_AUTH_RESPONSE_ACCEPTED|Indicates that the prior auth response passed all technical\nvalidation and will be functionally processed. Corresponds with an HTTP `2xx` back to where the auth response originated from.|\n|PAYMENT_AUTH_RESPONSE_REJECTED|The opposite of PAYMENT_AUTH_RESPONSE_ACCEPTED. No further\nprocessing of the payment auth response is performed. Corresponds to an HTTP `4xx` or `5xx` back to the sender of the payment auth response.|\n|PAYMENT_AUTH_APPROVED|Indicates that the payment authorisation request has been approved.|\n|PAYMENT_AUTH_APPROVED_DELIVERY_FAILURE|Indicates that the payment authorisation request has been approved but the delivery of the payment authorisation response has failed.|\n|PAYMENT_AUTH_APPROVED_DELIVERY_PENDING|Indicates that the payment authorisation request has been approved and the delivery of the payment authorisation response is still in progress.|\n|PAYMENT_AUTH_FAILED|Indicates that a payment authorisation attempt has failed. The cause of the failure is contained in the payload.|\n|PAYMENT_AUTH_FAILED_DELIVERY_FAILURE|Indicates that a payment authorisation attempt has failed and the delivery of the payment authorisation response has failed.|\n|PAYMENT_AUTH_FAILED_DELIVERY_PENDING|Indicates that a payment authorisation attempt has failed and the delivery of the payment authorisation response is still in progress.|\n|PAYMENT_AUTH_TIMEOUT|No accepted payment auth response was received by Electrum timeously.|\n|PAYMENT_AUTH_RESPONSE_DELIVERY_FAILURE|Indicates that Electrum encountered a technical error while delivering an authorisation response\n(either approved or declined) to the intended recipient.|\n|PAYMENT_COMPLETION_RECEIVED|Indicates that Electrum received a request to complete a previously approved payment authorsation.|\n|PAYMENT_COMPLETION_ACCEPTED|Indicates that the prior payment completion request passed all\ntechnical validation and will be functionally processed. Corresponds with an HTTP `2xx` back to where the completion originated from.|\n|PAYMENT_COMPLETION_REJECTED|The opposite of PAYMENT_COMPLETION_ACCEPTED. No further processing of the\npayment completion request is performed. Corresponds to an HTTP `4xx` or `5xx` back to where the completion originated from.|\n|PAYMENT_COMPLETED|Indicates that a payment completion has been queued to be delivered to the\nintended recipient.|\n|PAYMENT_COMPLETION_DELIVERY_FAILURE|Indicates that a payment completion message was not successfully delivered to the intended recipient.|\n|PAYMENT_REQUEST_RECEIVED|Indicates that Electrum received a payment request.|\n|PAYMENT_REQUEST_ACCEPTED|Indicates that the prior payment request passed all technical validation and\nwill be functionally processed. Corresponds to an HTTP `2xx` back to where the payment request originated from.|\n|PAYMENT_REQUEST_REJECTED|The opposite of PAYMENT_REQUEST_ACCEPTED. No further processing of the payment request\nis performed. Corresponds with an HTTP `4xx` or `5xx` back to where the payment request originated from.|\n|PAYMENT_PENDING|Indicates that Electrum has performed functional processing of a payment\nrequest (which was previously accepted) and Electrum is forwarding it on to the partner or industry for processing, depending\non whether the transaction is an inbound or outbound transaction.|\n|PAYMENT_REQUEST_DELIVERY_FAILURE|Indicates that Electrum encountered a technical error while delivering the payment\nrequest to the intended recipient (for example receiving HTTP 5xx responses from the partner).|\n|PAYMENT_TIMEOUT|No accepted payment response was received by Electrum timeously.|\n|PAYMENT_STATUS_PENDING|Indicates that Electrum is awaiting the status of a payment after sending a status request to either the partner or industry.|\n|PAYMENT_RESPONSE_RECEIVED|Electrum received a payment response for a prior payment request that Electrum had forwarded.|\n|PAYMENT_RESPONSE_ACCEPTED|Indicates that the prior payment response passed all technical\nvalidation and will be functionally processed. Corresponds with an HTTP `2xx` back to where the payment response originated from.|\n|PAYMENT_RESPONSE_REJECTED|The opposite of PAYMENT_RESPONSE_ACCEPTED. No further\nprocessing of the payment response is performed. Corresponds to an HTTP `4xx` or `5xx` back to the sender of the payment response.|\n|PAYMENT_APPROVED|Indicates that the payment request has been approved and settlement is expected.|\n|PAYMENT_FAILED|Indicates that a payment attempt has failed. The cause of the failure is contained in the payload.|\n|REQUEST_TO_PAY_INITIATION_RECEIVED|Indicates that Electrum received a request to pay.|\n|REQUEST_TO_PAY_INITIATION_ACCEPTED|Indicates that the prior request to pay passed all technical validation and\nwill be functionally processed. Corresponds to an HTTP `2xx` back to where the request to pay originated from.|\n|REQUEST_TO_PAY_INITIATION_REJECTED|The opposite of REQUEST_TO_PAY_INITIATION_ACCEPTED. No further processing of the request\nto pay is performed. Corresponds with an HTTP `4xx` or `5xx` back to where the request to pay originated from.|\n|REQUEST_TO_PAY_INITIATION_PENDING|Indicates that Electrum has performed functional processing of a request to pay\n(which was previously accepted) and Electrum is forwarding it on to the partner or industry for processing, depending\non whether the request to pay is an inbound or outbound request to pay.|\n|REQUEST_TO_PAY_INITIATION_DELIVERY_FAILED|Indicates that Electrum encountered a technical error while delivering the\nrequest to pay to the intended recipient (for example receiving HTTP 5xx responses from the partner).|\n|REQUEST_TO_PAY_RESPONSE_RECEIVED|Electrum received a request to pay response for a prior request to pay that Electrum had\nforwarded.|\n|REQUEST_TO_PAY_RESPONSE_ACCEPTED|Indicates that the prior request to pay response passed all technical\nvalidation and will be functionally processed. Corresponds with an HTTP `2xx` back to where the request to pay response\noriginated from.|\n|REQUEST_TO_PAY_RESPONSE_REJECTED|The opposite of REQUEST_TO_PAY_RESPONSE_ACCEPTED. No further processing of the request to\npay response is performed. Corresponds to an HTTP `4xx` or `5xx` back to the sender of the request to pay response.|\n|REQUEST_TO_PAY_PRESENTED|Indicates that the request to pay has been accepted by the partner or payer participant and it\nwill be shown to the payer to be accepted or rejected.|\n|REQUEST_TO_PAY_INITIATION_TIMEOUT|No accepted request to pay response was received by Electrum timeously when processing a\nrequest to pay initiation.|\n|REQUEST_TO_PAY_INITIATION_ENQUIRY_PENDING|Indicates that Electrum is awaiting the status of a request to pay after sending\na status request to either the partner or industry.|\n|REQUEST_TO_PAY_INITIATION_ENQUIRY_TIMEOUT|Subsequent to the `REQUEST_TO_PAY_INITIATION_ENQUIRY_PENDING` state, this\nindicates no accepted request to pay response was received timeously.\n|REQUEST_TO_PAY_CANCELLATION_REQUEST_RECEIVED|Indicates that Electrum received a request to cancel a prior request to pay.|\n|REQUEST_TO_PAY_CANCELLATION_REQUEST_ACCEPTED|Indicates that the prior request to cancel a prior request to pay passed all\ntechnical validation and will be functionally processed. Corresponds to an HTTP `2xx` back to where the request to cancel a\nprior request to pay originated from.|\n|REQUEST_TO_PAY_CANCELLATION_REQUEST_REJECTED|The opposite of REQUEST_TO_PAY_INITIATION_ACCEPTED. No further processing of\nthe request to cancel a prior request to pay is performed. Corresponds with an HTTP `4xx` or `5xx` back to where the request\nto cancel a prior request to pay originated from.|\n|REQUEST_TO_PAY_CANCELLATION_REQUEST_PENDING|Indicates that Electrum has performed functional processing of a request to\ncancel a prior request to pay (which was previously accepted) and Electrum is forwarding it on to the partner or industry for\nprocessing, depending on whether the request to pay is an inbound or outbound request to pay.|\n|REQUEST_TO_PAY_CANCELLATION_REQUEST_DELIVERY_FAILED|Indicates that Electrum encountered a technical error while delivering\nthe request to cancel a prior request to pay to the intended recipient (for example receiving HTTP 5xx responses from the partner).|\n|REQUEST_TO_PAY_CANCELLATION_RESPONSE_RECEIVED|Electrum received a response for a prior request to cancel a prior request to\npay that Electrum had forwarded.|\n|REQUEST_TO_PAY_CANCELLATION_RESPONSE_ACCEPTED|Indicates that the prior request to pay cancellation response passed all technical\nvalidation and will be functionally processed. Corresponds with an HTTP `2xx` back to where the request to pay cancellation response\noriginated from.|\n|REQUEST_TO_PAY_CANCELLATION_RESPONSE_REJECTED|The opposite of REQUEST_TO_PAY_CANCELLATION_RESPONSE_ACCEPTED. No further\nprocessing of the request to pay cancellation response is performed. Corresponds to an HTTP `4xx` or `5xx` back to the sender of the\nrequest to pay cancellation response.|\n|REQUEST_TO_PAY_CANCELLATION_TIMEOUT|No accepted response to the request to pay cancellation was timeously received\nby Electrum.|\n|REQUEST_TO_PAY_CANCELLATION_ENQUIRY_PENDING|Indicates that Electrum is awaiting the status of a request to pay cancellation after\nsending a request to pay status request to either the partner or industry.|\n|REQUEST_TO_PAY_CANCELLATION_ENQUIRY_TIMEOUT|Subsequent to the `REQUEST_TO_PAY_CANCELLATION_TIMEOUT` state, this indicates\nno accepted request to pay cancellation response was received timeously.|\n|REQUEST_TO_PAY_ACCEPTED|Indicates that the payer has accepted the request to pay. A payment transaction will be subsequently\ninitiated to fulfil the request to pay. Note: not all schemes express this payer decision via a dedicated message. Please\nconsult with Electrum in this regard prior to designing a solution.|\n|REQUEST_TO_PAY_CANCELLATION_FAILURE|Indicates that a request to pay cancellation failed i.e. the cancellation\nfailed. This could be due to a number of reasons e.g. the request to pay has already been fulfilled.|\n|REQUEST_TO_PAY_CANCELLED|Indicates that a request to pay cancellation was successful i.e. a subsequent payment\nwhich attempts to fulfil the request to pay is expected to be rejected.|\n|REQUEST_TO_PAY_DECLINED|Indicates that the payer (or an agent on their behalf) has explicitly chosen to reject the request\nto pay. No subsequent payment transaction should be expected.|\n|REQUEST_TO_PAY_FAILED|Indicates that the request to pay failed for a technical reason (as opposed to an explicit decision on\nthe part of the payer or their agent) e.g. the payer identified in the request to pay was not found.|\n|SCHEME_INQUIRY_RECEIVED|Indicates that Electrum received a request to perform an inquiry against a scheme.|\n|SCHEME_INQUIRY_FAILED|Indicates that an inquiry against a scheme failed. This could be because it was rejected,\nor because no response was received within the time limit.|\n|SCHEME_INQUIRY_SUCCEEDED|Indicates that an inquiry against a scheme succeeded.|\n|ACCOUNT_VERIFICATION_REQUEST_RECEIVED|Indicates that Electrum received a request to verify that the\ninformation provided in the request regarding an account (store of value) is correct|\n|ACCOUNT_VERIFICATION_REQUEST_ACCEPTED|Indicates that the prior account verification request passed all\ntechnical validation and will be functionally processed. Corresponds to an HTTP `2xx` back to the sender\nof the account verification request.|\n|ACCOUNT_VERIFICATION_REQUEST_REJECTED|The opposite of ACCOUNT_VERIFICATION_REQUEST_ACCEPTED. No further\nprocessing of the account verification request is performed. Corresponds to an HTTP `4xx` or `5xx` back to\nthe sender of the account verification request.|\n|ACCOUNT_VERIFICATION_PENDING|Indicates that Electrum has performed functional processing of an account\nverification request (which was previously accepted) and that Electrum is forwarding it on for further processing.|\n|ACCOUNT_VERIFICATION_REQUEST_DELIVERY_FAILURE|Indicates that Electrum encountered a technical error while\ndelivering the account verification request to the intended recipient (for example receiving HTTP 5xx\nresponses from the partner).\n|ACCOUNT_VERIFICATION_RESPONSE_RECEIVED|Indicates that Electrum received an account verification response\nfor a prior account verification request that Electrum had forwarded.|\n|ACCOUNT_VERIFICATION_RESPONSE_ACCEPTED|Indicates that the prior account verification response passed all\ntechnical validation and will be functionally processed. Corresponds with an HTTP `2xx` back to where the\naccount verification response originated from.|\n|ACCOUNT_VERIFICATION_RESPONSE_REJECTED|The opposite of ACCOUNT_VERIFICATION_RESPONSE_ACCEPTED.\nNo further processing of the payment response is performed. Corresponds to an HTTP `4xx` or `5xx` back to\nthe sender of the account verification response.|\n|ACCOUNT_VERIFICATION_RESPONSE_DELIVERY_FAILURE| Indicates that Electrum encountered a technical error while\ndelivering the account verification response to the intended recipient (for example receiving HTTP 5xx responses\nfrom the partner).|\n|ACCOUNT_VERIFICATION_TIMEOUT|No accepted response to the account verification request was timeously received\nby Electrum.\n|ACCOUNT_VERIFICATION_SUCCESSFUL|Indicates that the account verification response received has been forwarded\nback to where the original account verification request originated from, and that the status of the response\nis APPROVED.|\n|ACCOUNT_VERIFICATION_FAILED|Indicates that an account verification response has been forwarded back to where\nthe original account verification request originated from, and that the status of the response is not APPROVED.|\n|VALIDATION_FAILED|The prior validation request did not yield a valid outcome. Note that this is the final\nstate for validations regardless of the failure (i.e. timeouts, technical declines and business-rule declines\nall end up here).|\n|VALIDATION_PENDING|Electrum received a validation request and it is being processed.|\n|VALIDATION_SUCCESSFUL|The prior validation request yielded an \"is valid\" outcome.|\n|VALIDATION_TIMEOUT|If Electrum takes too long to perform a validation operation, a timeout is triggered.|\n|SWITCH_FAILURE|A special stage which signifies a technical error within Electrum.|\n|TRANSACTION_BROKEN|A terminal stage indicating that parties may disagree on the outcome of a transaction due to an error during processing, such as a timeout waiting to receive a completion message, or the permanent failure to deliver a completion message.|\n|VIGILANCE_AUTH_REQUESTED|Indicates that a request to perform a vigilance auth has been been sent. This breakout is synchronous|\n|VIGILANCE_AUTH_SUCCESSFUL|Indicates that the response received contained a positive outcome. This breakout is synchronous|\n|VIGILANCE_AUTH_FAILED|Indicates that the response received contained a negative outcome. This breakout is synchronous|\n|VIGILANCE_AUTH_TIMEOUT|Indicates that a timeout has occurred while waiting for a response. This breakout is synchronous|\n|RESERVATION_REQUESTED|Indicates that an asynchronous request to perform a reservation has been sent|\n|RESERVATION_ACCEPTED|Indicates that Electrum has received a positive technical response (ACK) for a previously sent reservation request. Use of this state indicates that the breakout is asynchronous|\n|RESERVATION_REJECTED|Indicates that Electrum has received a negative technical response (NACK) for a previously sent reservation request. Use of this state indicates that the breakout is asynchronous|\n|RESERVATION_RESPONSE_RECEIVED|Indicates that Electrum has received a functional response for a previously sent reservation request. Use of this state indicates that the breakout is asynchronous|\n|RESERVATION_RESPONSE_ACCEPTED|Indicates that Electrum has found a reservation functional response to be technically valid. Use of this state indicates that the breakout is asynchronous|\n|RESERVATION_RESPONSE_REJECTED|Indicates that Electrum has found a reservation functional response to be technically invalid. Use of this state indicates that the breakout is asynchronous|\n|RESERVATION_SUCCESSFUL|Indicates that the response received contained a positive outcome|\n|RESERVATION_FAILED|Indicates that the response received contained a negative outcome|\n|RESERVATION_TIMEOUT|A timeout occurred while waiting for a response|\n|REFUND_CHECKOUT_PENDING|Electrum has a received a refund initiation request and the relevant checks are being done to determine if a payment can be refunded|\n|REFUND_CHECKOUT_SUCCESSFUL|Indicates that the response received contained a positive outcome|\n|REFUND_CHECKOUT_FAILED|Indicates that the response received contained a negative outcome|\n|REFUND_CHECKOUT_TIMEOUT|A timeout occurred whilst waiting for a response|\nNote that all of these events are emitted when a transaction transitions **into** the associated state.\n",
            "properties": {
              "messageInfo": {
                "$ref": "#/components/schemas/EventMessageInfo"
              },
              "name": {
                "description": "The unique name of this event. This is a convenience field and is typically the\nconcatenation of `class` and `type` as `\"class_type\"` since these two fields uniquely identify\nan event. The `name` field may be inspected first, to determine whether the server is\ninterested in the event received. If the event is of interest, the dedicated `class`\nand `type` fields may then be used to process the event programmatically.\n",
                "type": "string"
              },
              "payload": {
                "$ref": "#/components/schemas/EventPayload"
              },
              "stageVersion": {
                "description": "A numerical identifier that tracks the version of the transaction processing event being emitted.\nEach time the transaction's stage successfully transitions, this version is incremented.\n",
                "type": "integer"
              },
              "tranInfo": {
                "$ref": "#/components/schemas/EventTranInfo"
              },
              "type": {
                "description": "Enumerates the specific transaction processing event being emitted.\n",
                "enum": [
                  "CREDIT_AUTH_ACCEPTED",
                  "CREDIT_AUTH_RECEIVED",
                  "CREDIT_AUTH_REJECTED",
                  "CREDIT_TRANSFER_RECEIVED",
                  "CREDIT_TRANSFER_ACCEPTED",
                  "CREDIT_TRANSFER_REJECTED",
                  "CREDIT_AUTH_DELIVERY_PENDING",
                  "CREDIT_AUTH_DELIVERED",
                  "CREDIT_AUTH_DELIVERY_FAILURE",
                  "CREDIT_AUTH_RESPONSE_ACCEPTED",
                  "CREDIT_AUTH_RESPONSE_RECEIVED",
                  "CREDIT_AUTH_RESPONSE_REJECTED",
                  "CREDIT_AUTH_TIMEOUT",
                  "CREDIT_COMPLETION_ACCEPTED",
                  "CREDIT_COMPLETION_RECEIVED",
                  "CREDIT_COMPLETION_REJECTED",
                  "CREDIT_AUTH_RESPONSE_DELIVERY_PENDING",
                  "CREDIT_AUTH_RESPONSE_DELIVERED",
                  "CREDIT_AUTH_RESPONSE_DELIVERY_FAILURE",
                  "CREDIT_TRANSFER_DELIVERY_PENDING",
                  "CREDIT_TRANSFER_DELIVERED",
                  "CREDIT_TRANSFER_DELIVERY_FAILURE",
                  "CREDIT_TRANSFER_TIMEOUT",
                  "CREDIT_TRANSFER_STATUS_PENDING",
                  "CREDIT_TRANSFER_RESPONSE_RECEIVED",
                  "CREDIT_TRANSFER_RESPONSE_ACCEPTED",
                  "CREDIT_TRANSFER_RESPONSE_REJECTED",
                  "CREDIT_COMPLETION_DELIVERY_PENDING",
                  "CREDIT_COMPLETION_DELIVERED",
                  "CREDIT_COMPLETION_DELIVERY_FAILURE",
                  "CREDIT_TRANSFER_APPROVED",
                  "CREDIT_TRANSFER_DECLINED",
                  "IDENTIFIER_DETERMINATION_FAILED",
                  "IDENTIFIER_DETERMINATION_PENDING",
                  "IDENTIFIER_DETERMINATION_REQUEST_DELIVERY_PENDING",
                  "IDENTIFIER_DETERMINATION_REQUEST_DELIVERED",
                  "IDENTIFIER_DETERMINATION_REQUEST_DELIVERY_FAILURE",
                  "IDENTIFIER_DETERMINATION_PROVIDED",
                  "IDENTIFIER_DETERMINATION_REQUEST_ACCEPTED",
                  "IDENTIFIER_DETERMINATION_REQUEST_RECEIVED",
                  "IDENTIFIER_DETERMINATION_REQUEST_REJECTED",
                  "IDENTIFIER_DETERMINATION_RESPONSE_ACCEPTED",
                  "IDENTIFIER_DETERMINATION_RESPONSE_RECEIVED",
                  "IDENTIFIER_DETERMINATION_RESPONSE_REJECTED",
                  "IDENTIFIER_DETERMINATION_RESPONSE_DELIVERY_FAILURE",
                  "IDENTIFIER_DETERMINATION_TIMEOUT",
                  "IDENTIFIER_REGISTRATION_RECEIVED",
                  "IDENTIFIER_REGISTRATION_SUCCEEDED",
                  "IDENTIFIER_REGISTRATION_FAILED",
                  "IDENTIFIER_DEREGISTRATION_RECEIVED",
                  "IDENTIFIER_DEREGISTRATION_SUCCEEDED",
                  "IDENTIFIER_DEREGISTRATION_FAILED",
                  "SCHEME_INQUIRY_RECEIVED",
                  "SCHEME_INQUIRY_SUCCEEDED",
                  "SCHEME_INQUIRY_FAILED",
                  "PAYMENT_AUTH_REQUEST_ACCEPTED",
                  "PAYMENT_AUTH_REQUEST_RECEIVED",
                  "PAYMENT_AUTH_REQUEST_REJECTED",
                  "PAYMENT_REQUEST_RECEIVED",
                  "PAYMENT_REQUEST_ACCEPTED",
                  "PAYMENT_REQUEST_REJECTED",
                  "PAYMENT_AUTH_REQUEST_PENDING",
                  "PAYMENT_AUTH_REQUEST_DELIVERY_FAILURE",
                  "PAYMENT_AUTH_RESPONSE_ACCEPTED",
                  "PAYMENT_AUTH_RESPONSE_RECEIVED",
                  "PAYMENT_AUTH_RESPONSE_REJECTED",
                  "PAYMENT_AUTH_TIMEOUT",
                  "PAYMENT_COMPLETION_ACCEPTED",
                  "PAYMENT_COMPLETION_RECEIVED",
                  "PAYMENT_COMPLETION_REJECTED",
                  "PAYMENT_AUTH_APPROVED",
                  "PAYMENT_AUTH_APPROVED_DELIVERY_FAILURE",
                  "PAYMENT_AUTH_APPROVED_DELIVERY_PENDING",
                  "PAYMENT_AUTH_FAILED",
                  "PAYMENT_AUTH_FAILED_DELIVERY_FAILURE",
                  "PAYMENT_AUTH_FAILED_DELIVERY_PENDING",
                  "PAYMENT_AUTH_RESPONSE_DELIVERY_FAILURE",
                  "PAYMENT_REQUEST_DELIVERY_FAILURE",
                  "PAYMENT_PENDING",
                  "PAYMENT_TIMEOUT",
                  "PAYMENT_STATUS_PENDING",
                  "PAYMENT_RESPONSE_RECEIVED",
                  "PAYMENT_RESPONSE_ACCEPTED",
                  "PAYMENT_RESPONSE_REJECTED",
                  "PAYMENT_COMPLETED",
                  "PAYMENT_COMPLETION_DELIVERY_FAILURE",
                  "PAYMENT_APPROVED",
                  "PAYMENT_FAILED",
                  "REQUEST_TO_PAY_ACCEPTED",
                  "REQUEST_TO_PAY_CANCELLATION_ENQUIRY_PENDING",
                  "REQUEST_TO_PAY_CANCELLATION_ENQUIRY_TIMEOUT",
                  "REQUEST_TO_PAY_CANCELLATION_FAILURE",
                  "REQUEST_TO_PAY_CANCELLATION_REQUEST_ACCEPTED",
                  "REQUEST_TO_PAY_CANCELLATION_REQUEST_DELIVERY_FAILED",
                  "REQUEST_TO_PAY_CANCELLATION_REQUEST_PENDING",
                  "REQUEST_TO_PAY_CANCELLATION_REQUEST_RECEIVED",
                  "REQUEST_TO_PAY_CANCELLATION_REQUEST_REJECTED",
                  "REQUEST_TO_PAY_CANCELLATION_RESPONSE_ACCEPTED",
                  "REQUEST_TO_PAY_CANCELLATION_RESPONSE_RECEIVED",
                  "REQUEST_TO_PAY_CANCELLATION_RESPONSE_REJECTED",
                  "REQUEST_TO_PAY_CANCELLATION_TIMEOUT",
                  "REQUEST_TO_PAY_CANCELLED",
                  "REQUEST_TO_PAY_DECLINED",
                  "REQUEST_TO_PAY_FAILED",
                  "REQUEST_TO_PAY_INITIATION_ACCEPTED",
                  "REQUEST_TO_PAY_INITIATION_DELIVERY_FAILED",
                  "REQUEST_TO_PAY_INITIATION_ENQUIRY_PENDING",
                  "REQUEST_TO_PAY_INITIATION_ENQUIRY_TIMEOUT",
                  "REQUEST_TO_PAY_INITIATION_PENDING",
                  "REQUEST_TO_PAY_INITIATION_RECEIVED",
                  "REQUEST_TO_PAY_INITIATION_REJECTED",
                  "REQUEST_TO_PAY_INITIATION_TIMEOUT",
                  "REQUEST_TO_PAY_PRESENTED",
                  "REQUEST_TO_PAY_RESPONSE_ACCEPTED",
                  "REQUEST_TO_PAY_RESPONSE_RECEIVED",
                  "REQUEST_TO_PAY_RESPONSE_REJECTED",
                  "ACCOUNT_VERIFICATION_REQUEST_RECEIVED",
                  "ACCOUNT_VERIFICATION_REQUEST_ACCEPTED",
                  "ACCOUNT_VERIFICATION_REQUEST_REJECTED",
                  "ACCOUNT_VERIFICATION_PENDING",
                  "ACCOUNT_VERIFICATION_REQUEST_DELIVERY_FAILURE",
                  "ACCOUNT_VERIFICATION_RESPONSE_RECEIVED",
                  "ACCOUNT_VERIFICATION_RESPONSE_ACCEPTED",
                  "ACCOUNT_VERIFICATION_RESPONSE_REJECTED",
                  "ACCOUNT_VERIFICATION_RESPONSE_DELIVERY_FAILURE",
                  "ACCOUNT_VERIFICATION_TIMEOUT",
                  "ACCOUNT_VERIFICATION_SUCCESSFUL",
                  "ACCOUNT_VERIFICATION_FAILED",
                  "SWITCH_FAILURE",
                  "TRANSACTION_BROKEN",
                  "VALIDATION_FAILED",
                  "VALIDATION_PENDING",
                  "VALIDATION_SUCCESSFUL",
                  "VALIDATION_TIMEOUT",
                  "VIGILANCE_AUTH_REQUESTED",
                  "VIGILANCE_AUTH_SUCCESSFUL",
                  "VIGILANCE_AUTH_FAILED",
                  "VIGILANCE_AUTH_TIMEOUT",
                  "RESERVATION_REQUESTED",
                  "RESERVATION_ACCEPTED",
                  "RESERVATION_REJECTED",
                  "RESERVATION_RESPONSE_RECEIVED",
                  "RESERVATION_RESPONSE_ACCEPTED",
                  "RESERVATION_RESPONSE_REJECTED",
                  "RESERVATION_SUCCESSFUL",
                  "RESERVATION_FAILED",
                  "RESERVATION_TIMEOUT",
                  "REFUND_CHECKOUT_PENDING",
                  "REFUND_CHECKOUT_SUCCESSFUL",
                  "REFUND_CHECKOUT_FAILED",
                  "REFUND_CHECKOUT_TIMEOUT",
                  "FRAUD_ASSESSMENT_REQUESTED",
                  "FRAUD_ASSESSMENT_REQUEST_ACCEPTED",
                  "FRAUD_ASSESSMENT_REQUEST_REJECTED",
                  "FRAUD_ASSESSMENT_RESPONSE_RECEIVED",
                  "FRAUD_ASSESSMENT_RESPONSE_ACCEPTED",
                  "FRAUD_ASSESSMENT_RESPONSE_REJECTED",
                  "FRAUD_ASSESSMENT_PASSED",
                  "FRAUD_ASSESSMENT_FAILED",
                  "FRAUD_ASSESSMENT_PENDING"
                ],
                "type": "string"
              }
            },
            "required": [
              "class",
              "type",
              "name",
              "stageVersion"
            ],
            "type": "object"
          }
        ]
      }
    },
    "examples": {
      "RtcInboundCreditAuthReceivedEvent": {
        "summary": "RTC Inbound Credit Transfer Received",
        "description": "Request for the `inboundCreditTransferAuthorization` operation is received by the Switch. A customer at Grey Bank, Bob, is paying a customer at Blue Bank, Alice, using RTC. Electrum's partner is Blue Bank.",
        "value": {
          "name": "TRANSACTION_STATE_CREDIT_AUTH_RECEIVED",
          "apiVersion": "0.27.0",
          "class": "TRANSACTION_STATE",
          "type": "CREDIT_AUTH_RECEIVED",
          "stageVersion": 1,
          "tranInfo": {
            "tranUetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa",
            "direction": "INBOUND",
            "paymentScheme": "ZA_RTC",
            "service": "RTC_INBOUND"
          },
          "messageInfo": {
            "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
            "creationDateTime": "2022-05-04T03:02:01Z"
          },
          "payload": {
            "schema": "CreditTransfer",
            "messageIdentifiers": {
              "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
              "creationDateTime": "2022-05-04T03:02:01Z"
            },
            "paymentScheme": {
              "schema": "ZA_RTC",
              "schemeData": {
                "userReference": "Ab1 xxxxxxxxxxxxxxxx",
                "originatorEchoData": "Ab1 xxxxxxxxxxxxxxxx",
                "businessReference": "11Ab1xxxxx"
              }
            },
            "transactionIdentifiers": {
              "endToEndIdentification": "6249118655591098",
              "transactionIdentification": "RRN000000001",
              "uetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa"
            },
            "amounts": {
              "bankSettlementAmount": {
                "value": 1,
                "currency": "ZAR"
              },
              "instructedAmount": {
                "value": 1,
                "currency": "ZAR"
              }
            },
            "paymentTypeInformation": {
              "localInstrument": {
                "schema": "CODE",
                "value": "BTR"
              }
            },
            "creditor": {
              "address": {
                "addressType": "ADDR",
                "department": "Department of Mysteries",
                "streetName": "Street of Mysteries",
                "buildingNumber": 42,
                "buildingName": "Mysterious Building",
                "floor": 42,
                "postBox": 1024,
                "postCode": 4242,
                "townName": "Mysty Town",
                "townLocationName": "Mysty Location",
                "districtName": "Mysty District",
                "countrySubDivision": "Mysterious Cape",
                "country": "ZA",
                "addressLine": [
                  "16A",
                  "New market street",
                  "Foreshore",
                  "Cape Town",
                  "ZA",
                  8001
                ]
              },
              "contactDetails": {
                "phoneNumber": "+27-0214620000",
                "mobileNumber": "+27-08230000000",
                "emailAddress": "bob@grey.com"
              },
              "countryOfResidence": "ZA",
              "identification": {
                "schema": "PERSON",
                "identifiers": [
                  {
                    "identification": 90001236549870,
                    "issuer": "Dept of Home Affairs",
                    "scheme": {
                      "schema": "CODE",
                      "value": "NIDN"
                    }
                  }
                ]
              }
            },
            "creditorAccount": {
              "identification": {
                "schema": "GENERIC",
                "scheme": {
                  "schema": "PROPRIETARY",
                  "value": "AProprietaryCode123"
                },
                "issuer": "Blue Bank",
                "value": "abcdef987654"
              },
              "type": {
                "schema": "CODE",
                "value": "CACC"
              },
              "currency": "ZAR"
            },
            "creditorAgent": {
              "bicfi": "BLUEZAJ0",
              "memberId": "BlueBankId",
              "name": "Blue Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "debtor": {
              "address": {
                "addressType": "ADDR",
                "department": "Department of Mysteries",
                "streetName": "Street of Mysteries",
                "buildingNumber": 42,
                "buildingName": "Mysterious Building",
                "floor": 42,
                "postBox": 1024,
                "postCode": 4242,
                "townName": "Mysty Town",
                "townLocationName": "Mysty Location",
                "districtName": "Mysty District",
                "countrySubDivision": "Mysterious Cape",
                "country": "ZA",
                "addressLine": [
                  "16A",
                  "New market street",
                  "Foreshore",
                  "Cape Town",
                  "ZA",
                  8001
                ]
              },
              "contactDetails": {
                "phoneNumber": "+27-0214620000",
                "mobileNumber": "+27-08230000000",
                "emailAddress": "bob@grey.com"
              },
              "countryOfResidence": "ZA",
              "identification": {
                "schema": "PERSON",
                "identifiers": [
                  {
                    "identification": 90001236549870,
                    "issuer": "Dept of Home Affairs",
                    "scheme": {
                      "schema": "CODE",
                      "value": "NIDN"
                    }
                  }
                ]
              }
            },
            "debtorAccount": {
              "identification": {
                "schema": "GENERIC",
                "scheme": {
                  "schema": "PROPRIETARY",
                  "value": "AProprietaryCode123"
                },
                "issuer": "Grey Bank",
                "value": "abcdef987654"
              },
              "type": {
                "schema": "CODE",
                "value": "CACC"
              },
              "currency": "ZAR"
            },
            "debtorAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "instructingAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "instructedAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "instructionForCreditorAgent": [
              {
                "code": "TELB",
                "information": "Please email example@example.com"
              }
            ],
            "intermediaryAgents": [
              {
                "bicfi": "GREYZAJ0",
                "memberId": "GreyBankId",
                "name": "Grey Bank Inc",
                "branch": {
                  "identification": 210514,
                  "name": "ABC Plettenberg Bay",
                  "address": {
                    "addressType": "ADDR",
                    "department": "Department of Mysteries",
                    "streetName": "Street of Mysteries",
                    "buildingNumber": 42,
                    "buildingName": "Mysterious Building",
                    "floor": 42,
                    "postBox": 1024,
                    "postCode": 4242,
                    "townName": "Mysty Town",
                    "townLocationName": "Mysty Location",
                    "districtName": "Mysty District",
                    "countrySubDivision": "Mysterious Cape",
                    "country": "ZA",
                    "addressLine": [
                      "16A",
                      "New market street",
                      "Foreshore",
                      "Cape Town",
                      "ZA",
                      8001
                    ]
                  }
                }
              }
            ],
            "previousInstructingAgents": [
              {
                "bicfi": "GREYZAJ0",
                "memberId": "GreyBankId",
                "name": "Grey Bank Inc",
                "branch": {
                  "identification": 210514,
                  "name": "ABC Plettenberg Bay",
                  "address": {
                    "addressType": "ADDR",
                    "department": "Department of Mysteries",
                    "streetName": "Street of Mysteries",
                    "buildingNumber": 42,
                    "buildingName": "Mysterious Building",
                    "floor": 42,
                    "postBox": 1024,
                    "postCode": 4242,
                    "townName": "Mysty Town",
                    "townLocationName": "Mysty Location",
                    "districtName": "Mysty District",
                    "countrySubDivision": "Mysterious Cape",
                    "country": "ZA",
                    "addressLine": [
                      "16A",
                      "New market street",
                      "Foreshore",
                      "Cape Town",
                      "ZA",
                      8001
                    ]
                  }
                }
              }
            ],
            "purpose": {
              "schema": "CODE",
              "value": "BKDF"
            },
            "remittanceInformation": {
              "unstructured": [
                "some",
                "unstructured",
                "information"
              ],
              "structured": [
                {
                  "referredDocuments": [
                    {
                      "type": {
                        "issuer": "GreyBank123456",
                        "schema": "CODE",
                        "value": "CINV"
                      },
                      "documentIdentifier": "A0123456789"
                    }
                  ],
                  "referredDocumentAmount": {
                    "duePayableAmount": {
                      "value": 1,
                      "currency": "ZAR"
                    },
                    "remittedAmount": {
                      "value": 1,
                      "currency": "ZAR"
                    }
                  },
                  "creditorReference": {
                    "type": {
                      "issuer": "GreyBank1234",
                      "schema": "CODE",
                      "value": "RADM"
                    },
                    "reference": "ABC123XYZ999"
                  },
                  "additionalRemittanceInformation": [
                    "Some",
                    "Additional",
                    "Information"
                  ]
                }
              ]
            },
            "tax": {
              "totalAmount": {
                "value": 1,
                "currency": "ZAR"
              }
            }
          }
        }
      },
      "RtcInboundCreditAuthAcceptedEvent": {
        "summary": "RTC Inbound Credit Transfer Accepted",
        "description": "Request for the `inboundCreditTransferAuthorization` operation is accepted by the Switch. The associated `inboundCreditTransferAuthorization` received event is described in `RtcInboundCreditAuthReceivedEvent`.",
        "value": {
          "name": "TRANSACTION_STATE_CREDIT_AUTH_ACCEPTED",
          "apiVersion": "0.27.0",
          "class": "TRANSACTION_STATE",
          "type": "CREDIT_AUTH_ACCEPTED",
          "stageVersion": 2,
          "tranInfo": {
            "tranUetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa",
            "direction": "INBOUND",
            "paymentScheme": "ZA_RTC",
            "service": "RTC_INBOUND"
          },
          "messageInfo": {
            "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
            "creationDateTime": "2022-05-04T03:02:01Z"
          },
          "payload": {
            "schema": "CreditTransfer",
            "messageIdentifiers": {
              "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
              "creationDateTime": "2022-05-04T03:02:01Z"
            },
            "paymentScheme": {
              "schema": "ZA_RTC",
              "schemeData": {
                "userReference": "Ab1 xxxxxxxxxxxxxxxx",
                "originatorEchoData": "Ab1 xxxxxxxxxxxxxxxx",
                "businessReference": "11Ab1xxxxx"
              }
            },
            "transactionIdentifiers": {
              "endToEndIdentification": "6249118655591098",
              "transactionIdentification": "RRN000000001",
              "uetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa"
            },
            "amounts": {
              "bankSettlementAmount": {
                "value": 1,
                "currency": "ZAR"
              },
              "instructedAmount": {
                "value": 1,
                "currency": "ZAR"
              }
            },
            "paymentTypeInformation": {
              "localInstrument": {
                "schema": "CODE",
                "value": "BTR"
              }
            },
            "creditor": {
              "address": {
                "addressType": "ADDR",
                "department": "Department of Mysteries",
                "streetName": "Street of Mysteries",
                "buildingNumber": 42,
                "buildingName": "Mysterious Building",
                "floor": 42,
                "postBox": 1024,
                "postCode": 4242,
                "townName": "Mysty Town",
                "townLocationName": "Mysty Location",
                "districtName": "Mysty District",
                "countrySubDivision": "Mysterious Cape",
                "country": "ZA",
                "addressLine": [
                  "16A",
                  "New market street",
                  "Foreshore",
                  "Cape Town",
                  "ZA",
                  8001
                ]
              },
              "contactDetails": {
                "phoneNumber": "+27-0214620000",
                "mobileNumber": "+27-08230000000",
                "emailAddress": "alice@blue.com"
              },
              "countryOfResidence": "ZA",
              "identification": {
                "schema": "PERSON",
                "identifiers": [
                  {
                    "identification": 90001236549870,
                    "issuer": "Dept of Home Affairs",
                    "scheme": {
                      "schema": "CODE",
                      "value": "NIDN"
                    }
                  }
                ]
              }
            },
            "creditorAccount": {
              "identification": {
                "schema": "GENERIC",
                "scheme": {
                  "schema": "PROPRIETARY",
                  "value": "AProprietaryCode123"
                },
                "issuer": "Blue Bank",
                "value": "abcdef987654"
              },
              "type": {
                "schema": "CODE",
                "value": "CACC"
              },
              "currency": "ZAR"
            },
            "creditorAgent": {
              "bicfi": "BLUEZAJ0",
              "memberId": "BlueBankId",
              "name": "Blue Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "debtor": {
              "address": {
                "addressType": "ADDR",
                "department": "Department of Mysteries",
                "streetName": "Street of Mysteries",
                "buildingNumber": 42,
                "buildingName": "Mysterious Building",
                "floor": 42,
                "postBox": 1024,
                "postCode": 4242,
                "townName": "Mysty Town",
                "townLocationName": "Mysty Location",
                "districtName": "Mysty District",
                "countrySubDivision": "Mysterious Cape",
                "country": "ZA",
                "addressLine": [
                  "16A",
                  "New market street",
                  "Foreshore",
                  "Cape Town",
                  "ZA",
                  8001
                ]
              },
              "contactDetails": {
                "phoneNumber": "+27-0214620000",
                "mobileNumber": "+27-08230000000",
                "emailAddress": "bob@grey.com"
              },
              "countryOfResidence": "ZA",
              "identification": {
                "schema": "PERSON",
                "identifiers": [
                  {
                    "identification": 90001236549870,
                    "issuer": "Dept of Home Affairs",
                    "scheme": {
                      "schema": "CODE",
                      "value": "NIDN"
                    }
                  }
                ]
              }
            },
            "debtorAccount": {
              "identification": {
                "schema": "GENERIC",
                "scheme": {
                  "schema": "PROPRIETARY",
                  "value": "AProprietaryCode123"
                },
                "issuer": "Grey Bank",
                "value": "abcdef987654"
              },
              "type": {
                "schema": "CODE",
                "value": "CACC"
              },
              "currency": "ZAR"
            },
            "debtorAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "instructingAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "instructedAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "instructionForCreditorAgent": [
              {
                "code": "TELB",
                "information": "Please email example@example.com"
              }
            ],
            "intermediaryAgents": [
              {
                "bicfi": "GREYZAJ0",
                "memberId": "GreyBankId",
                "name": "Grey Bank Inc",
                "branch": {
                  "identification": 210514,
                  "name": "ABC Plettenberg Bay",
                  "address": {
                    "addressType": "ADDR",
                    "department": "Department of Mysteries",
                    "streetName": "Street of Mysteries",
                    "buildingNumber": 42,
                    "buildingName": "Mysterious Building",
                    "floor": 42,
                    "postBox": 1024,
                    "postCode": 4242,
                    "townName": "Mysty Town",
                    "townLocationName": "Mysty Location",
                    "districtName": "Mysty District",
                    "countrySubDivision": "Mysterious Cape",
                    "country": "ZA",
                    "addressLine": [
                      "16A",
                      "New market street",
                      "Foreshore",
                      "Cape Town",
                      "ZA",
                      8001
                    ]
                  }
                }
              }
            ],
            "previousInstructingAgents": [
              {
                "bicfi": "GREYZAJ0",
                "memberId": "GreyBankId",
                "name": "Grey Bank Inc",
                "branch": {
                  "identification": 210514,
                  "name": "ABC Plettenberg Bay",
                  "address": {
                    "addressType": "ADDR",
                    "department": "Department of Mysteries",
                    "streetName": "Street of Mysteries",
                    "buildingNumber": 42,
                    "buildingName": "Mysterious Building",
                    "floor": 42,
                    "postBox": 1024,
                    "postCode": 4242,
                    "townName": "Mysty Town",
                    "townLocationName": "Mysty Location",
                    "districtName": "Mysty District",
                    "countrySubDivision": "Mysterious Cape",
                    "country": "ZA",
                    "addressLine": [
                      "16A",
                      "New market street",
                      "Foreshore",
                      "Cape Town",
                      "ZA",
                      8001
                    ]
                  }
                }
              }
            ],
            "purpose": {
              "schema": "CODE",
              "value": "BKDF"
            },
            "remittanceInformation": {
              "unstructured": [
                "some",
                "unstructured",
                "information"
              ],
              "structured": [
                {
                  "referredDocuments": [
                    {
                      "type": {
                        "issuer": "GreyBank123456",
                        "schema": "CODE",
                        "value": "CINV"
                      },
                      "documentIdentifier": "A0123456789"
                    }
                  ],
                  "referredDocumentAmount": {
                    "duePayableAmount": {
                      "value": 1,
                      "currency": "ZAR"
                    },
                    "remittedAmount": {
                      "value": 1,
                      "currency": "ZAR"
                    }
                  },
                  "creditorReference": {
                    "type": {
                      "issuer": "GreyBank1234",
                      "schema": "CODE",
                      "value": "RADM"
                    },
                    "reference": "ABC123XYZ999"
                  },
                  "additionalRemittanceInformation": [
                    "Some",
                    "Additional",
                    "Information"
                  ]
                }
              ]
            },
            "tax": {
              "totalAmount": {
                "value": 1,
                "currency": "ZAR"
              }
            }
          }
        }
      },
      "RtcInboundCreditAuthRejectedEvent": {
        "summary": "RTC Inbound Credit Transfer Rejected",
        "description": "Request for the `inboundCreditTransferAuthorization` operation is rejected by the Switch due to formatting errors. The associated `inboundCreditTransferAuthorization` received event is described in `RtcInboundCreditAuthReceivedEvent`.",
        "value": {
          "name": "TRANSACTION_STATE_CREDIT_AUTH_REJECTED",
          "apiVersion": "0.27.0",
          "class": "TRANSACTION_STATE",
          "type": "CREDIT_AUTH_REJECTED",
          "stageVersion": 3,
          "tranInfo": {
            "tranUetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa",
            "direction": "INBOUND",
            "paymentScheme": "ZA_RTC",
            "service": "RTC_INBOUND"
          },
          "messageInfo": {
            "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
            "creationDateTime": "2022-05-04T03:02:01Z",
            "httpStatusCode": 400
          },
          "payload": {
            "schema": "ErrorDetail",
            "message": "Message is malformed"
          }
        }
      },
      "RtcInboundCreditAuthPendingEvent": {
        "summary": "RTC Inbound Credit Transfer Pending",
        "description": "Request for the `inboundCreditTransferAuthorization` operation is forwarded by the Switch to the partner. The associated `inboundCreditTransferAuthorization` received event is described in `RtcInboundCreditAuthReceivedEvent`.",
        "value": {
          "name": "TRANSACTION_STATE_CREDIT_AUTH_PENDING",
          "apiVersion": "0.27.0",
          "class": "TRANSACTION_STATE",
          "type": "CREDIT_AUTH_DELIVERY_PENDING",
          "stageVersion": 3,
          "tranInfo": {
            "tranUetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa",
            "direction": "INBOUND",
            "paymentScheme": "ZA_RTC",
            "service": "RTC_INBOUND"
          },
          "messageInfo": {
            "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
            "creationDateTime": "2022-05-04T03:02:01Z"
          },
          "payload": {
            "schema": "CreditTransfer",
            "messageIdentifiers": {
              "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
              "creationDateTime": "2022-05-04T03:02:01Z"
            },
            "paymentScheme": {
              "schema": "ZA_RTC",
              "schemeData": {
                "userReference": "Ab1 xxxxxxxxxxxxxxxx",
                "originatorEchoData": "Ab1 xxxxxxxxxxxxxxxx",
                "businessReference": "11Ab1xxxxx"
              }
            },
            "transactionIdentifiers": {
              "endToEndIdentification": "6249118655591098",
              "transactionIdentification": "RRN000000001",
              "uetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa"
            },
            "amounts": {
              "bankSettlementAmount": {
                "value": 1,
                "currency": "ZAR"
              },
              "instructedAmount": {
                "value": 1,
                "currency": "ZAR"
              }
            },
            "paymentTypeInformation": {
              "localInstrument": {
                "schema": "CODE",
                "value": "BTR"
              }
            },
            "creditor": {
              "address": {
                "addressType": "ADDR",
                "department": "Department of Mysteries",
                "streetName": "Street of Mysteries",
                "buildingNumber": 42,
                "buildingName": "Mysterious Building",
                "floor": 42,
                "postBox": 1024,
                "postCode": 4242,
                "townName": "Mysty Town",
                "townLocationName": "Mysty Location",
                "districtName": "Mysty District",
                "countrySubDivision": "Mysterious Cape",
                "country": "ZA",
                "addressLine": [
                  "16A",
                  "New market street",
                  "Foreshore",
                  "Cape Town",
                  "ZA",
                  8001
                ]
              },
              "contactDetails": {
                "phoneNumber": "+27-0214620000",
                "mobileNumber": "+27-08230000000",
                "emailAddress": "alice@blue.com"
              },
              "countryOfResidence": "ZA",
              "identification": {
                "schema": "PERSON",
                "identifiers": [
                  {
                    "identification": 90001236549870,
                    "issuer": "Dept of Home Affairs",
                    "scheme": {
                      "schema": "CODE",
                      "value": "NIDN"
                    }
                  }
                ]
              }
            },
            "creditorAccount": {
              "identification": {
                "schema": "GENERIC",
                "scheme": {
                  "schema": "PROPRIETARY",
                  "value": "AProprietaryCode123"
                },
                "issuer": "Blue Bank",
                "value": "abcdef987654"
              },
              "type": {
                "schema": "CODE",
                "value": "CACC"
              },
              "currency": "ZAR"
            },
            "creditorAgent": {
              "bicfi": "BLUEZAJ0",
              "memberId": "BlueBankId",
              "name": "Blue Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "debtor": {
              "address": {
                "addressType": "ADDR",
                "department": "Department of Mysteries",
                "streetName": "Street of Mysteries",
                "buildingNumber": 42,
                "buildingName": "Mysterious Building",
                "floor": 42,
                "postBox": 1024,
                "postCode": 4242,
                "townName": "Mysty Town",
                "townLocationName": "Mysty Location",
                "districtName": "Mysty District",
                "countrySubDivision": "Mysterious Cape",
                "country": "ZA",
                "addressLine": [
                  "16A",
                  "New market street",
                  "Foreshore",
                  "Cape Town",
                  "ZA",
                  8001
                ]
              },
              "contactDetails": {
                "phoneNumber": "+27-0214620000",
                "mobileNumber": "+27-08230000000",
                "emailAddress": "bob@grey.com"
              },
              "countryOfResidence": "ZA",
              "identification": {
                "schema": "PERSON",
                "identifiers": [
                  {
                    "identification": 90001236549870,
                    "issuer": "Dept of Home Affairs",
                    "scheme": {
                      "schema": "CODE",
                      "value": "NIDN"
                    }
                  }
                ]
              }
            },
            "debtorAccount": {
              "identification": {
                "schema": "GENERIC",
                "scheme": {
                  "schema": "PROPRIETARY",
                  "value": "AProprietaryCode123"
                },
                "issuer": "Grey Bank",
                "value": "abcdef987654"
              },
              "type": {
                "schema": "CODE",
                "value": "CACC"
              },
              "currency": "ZAR"
            },
            "debtorAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "instructingAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "instructedAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "instructionForCreditorAgent": [
              {
                "code": "TELB",
                "information": "Please email example@example.com"
              }
            ],
            "intermediaryAgents": [
              {
                "bicfi": "GREYZAJ0",
                "memberId": "GreyBankId",
                "name": "Grey Bank Inc",
                "branch": {
                  "identification": 210514,
                  "name": "ABC Plettenberg Bay",
                  "address": {
                    "addressType": "ADDR",
                    "department": "Department of Mysteries",
                    "streetName": "Street of Mysteries",
                    "buildingNumber": 42,
                    "buildingName": "Mysterious Building",
                    "floor": 42,
                    "postBox": 1024,
                    "postCode": 4242,
                    "townName": "Mysty Town",
                    "townLocationName": "Mysty Location",
                    "districtName": "Mysty District",
                    "countrySubDivision": "Mysterious Cape",
                    "country": "ZA",
                    "addressLine": [
                      "16A",
                      "New market street",
                      "Foreshore",
                      "Cape Town",
                      "ZA",
                      8001
                    ]
                  }
                }
              }
            ],
            "previousInstructingAgents": [
              {
                "bicfi": "GREYZAJ0",
                "memberId": "GreyBankId",
                "name": "Grey Bank Inc",
                "branch": {
                  "identification": 210514,
                  "name": "ABC Plettenberg Bay",
                  "address": {
                    "addressType": "ADDR",
                    "department": "Department of Mysteries",
                    "streetName": "Street of Mysteries",
                    "buildingNumber": 42,
                    "buildingName": "Mysterious Building",
                    "floor": 42,
                    "postBox": 1024,
                    "postCode": 4242,
                    "townName": "Mysty Town",
                    "townLocationName": "Mysty Location",
                    "districtName": "Mysty District",
                    "countrySubDivision": "Mysterious Cape",
                    "country": "ZA",
                    "addressLine": [
                      "16A",
                      "New market street",
                      "Foreshore",
                      "Cape Town",
                      "ZA",
                      8001
                    ]
                  }
                }
              }
            ],
            "purpose": {
              "schema": "CODE",
              "value": "BKDF"
            },
            "remittanceInformation": {
              "unstructured": [
                "some",
                "unstructured",
                "information"
              ],
              "structured": [
                {
                  "referredDocuments": [
                    {
                      "type": {
                        "issuer": "GreyBank123456",
                        "schema": "CODE",
                        "value": "CINV"
                      },
                      "documentIdentifier": "A0123456789"
                    }
                  ],
                  "referredDocumentAmount": {
                    "duePayableAmount": {
                      "value": 1,
                      "currency": "ZAR"
                    },
                    "remittedAmount": {
                      "value": 1,
                      "currency": "ZAR"
                    }
                  },
                  "creditorReference": {
                    "type": {
                      "issuer": "GreyBank1234",
                      "schema": "CODE",
                      "value": "RADM"
                    },
                    "reference": "ABC123XYZ999"
                  },
                  "additionalRemittanceInformation": [
                    "Some",
                    "Additional",
                    "Information"
                  ]
                }
              ]
            },
            "tax": {
              "totalAmount": {
                "value": 1,
                "currency": "ZAR"
              }
            }
          }
        }
      },
      "RtcInboundCreditAuthDeclinedNackEvent": {
        "summary": "RTC Inbound Credit Transfer nACK By Partner",
        "description": "Request for the `inboundCreditTransferAuthorization` operation is forwarded by the Switch to the partner who nACKs the technical request. The associated `inboundCreditTransferAuthorization` pending event is described in `RtcInboundCreditAuthPendingEvent`.",
        "value": {
          "name": "TRANSACTION_STATE_CREDIT_AUTH_DECLINED",
          "apiVersion": "0.27.0",
          "class": "TRANSACTION_STATE",
          "type": "CREDIT_AUTH_REJECTED",
          "stageVersion": 4,
          "messageInfo": {
            "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
            "creationDateTime": "2022-05-04T03:02:01Z",
            "httpStatusCode": 400
          },
          "tranInfo": {
            "tranUetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa",
            "direction": "INBOUND",
            "paymentScheme": "ZA_RTC",
            "service": "RTC_INBOUND"
          },
          "payload": {
            "schema": "ErrorDetail",
            "message": "Message is malformed"
          }
        }
      },
      "RtcInboundCreditAuthResponseReceivedEvent": {
        "summary": "RTC Inbound Credit Transfer Response Received (Statrus: ACSC)",
        "description": "Request for the `inboundCreditTransferAuthorizationResponse` operation is received by the Switch. The associated `inboundCreditTransferAuthorization` pending event is described in `RtcInboundCreditAuthPendingEvent`.",
        "value": {
          "name": "TRANSACTION_STATE_CREDIT_AUTH_RESPONSE_RECEIVED",
          "apiVersion": "0.27.0",
          "class": "TRANSACTION_STATE",
          "type": "CREDIT_AUTH_RESPONSE_RECEIVED",
          "stageVersion": 3,
          "tranInfo": {
            "tranUetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa",
            "direction": "INBOUND",
            "paymentScheme": "ZA_RTC",
            "service": "RTC_INBOUND"
          },
          "messageInfo": {
            "messageIdentification": "9fd51c1234ba4819bbheyde296a68e1da",
            "creationDateTime": "2022-05-04T03:22:11Z"
          },
          "payload": {
            "schema": "PaymentStatusReport",
            "messageIdentifiers": {
              "messageIdentification": "9fd51c1234ba4819bbheyde296a68e1da",
              "creationDateTime": "2022-05-04T03:22:11Z"
            },
            "originalMessageIdentifiers": {
              "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
              "creationDateTime": "2022-05-04T03:02:01Z"
            },
            "paymentScheme": {
              "schema": "ZA_RTC",
              "schemeData": {
                "beneficiaryEchoData": "Ab1 xxxxxxxxxxxxxxxx",
                "authorisationId": "Ab1 xx"
              },
              "originalSchemeData": {
                "userReference": "Ab1 xxxxxxxxxxxxxxxx",
                "originatorEchoData": "Ab1 xxxxxxxxxxxxxxxx",
                "businessReference": "11Ab1xxxxx"
              }
            },
            "transactionIdentifiers": {
              "endToEndIdentification": "6249118655591098",
              "transactionIdentification": "RRN000000001",
              "uetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa"
            },
            "status": {
              "outcome": "APPROVED",
              "reasonInfo": [
                {
                  "reason": {
                    "schema": "CODE",
                    "value": "ACSC"
                  },
                  "additionalInformation": "Settlement completed on debtor account"
                }
              ]
            },
            "instructingAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "instructedAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "originalTransactionData": {
              "creditor": {
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": "42",
                  "buildingName": "Mysterious Building",
                  "floor": "42",
                  "postBox": "1024",
                  "postCode": "4242",
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    "8001"
                  ]
                },
                "contactDetails": {
                  "phoneNumber": "+27-0214620000",
                  "mobileNumber": "+27-08230000000",
                  "emailAddress": "developer.dave@electrum.com"
                },
                "countryOfResidence": "ZA",
                "identification": {
                  "schema": "PERSON",
                  "identifiers": [
                    {
                      "identification": "90001236549870",
                      "scheme": {
                        "schema": "CODE",
                        "value": "NIDN"
                      },
                      "issuer": "Dept of Home Affairs"
                    }
                  ]
                }
              },
              "creditorAccount": {
                "identification": {
                  "schema": "GENERIC",
                  "scheme": {
                    "schema": "PROPRIETARY",
                    "value": "AProprietaryCode123"
                  },
                  "issuer": "Blue Bank",
                  "value": "abcdef987654"
                },
                "type": {
                  "schema": "CODE",
                  "value": "CACC"
                }
              },
              "creditorAgent": {
                "bicfi": "BLUEZAJ0",
                "memberId": "BlueBankId",
                "name": "Blue Bank Inc",
                "branch": {
                  "identification": 210514,
                  "name": "ABC Plettenberg Bay",
                  "address": {
                    "addressType": "ADDR",
                    "department": "Department of Mysteries",
                    "streetName": "Street of Mysteries",
                    "buildingNumber": 42,
                    "buildingName": "Mysterious Building",
                    "floor": 42,
                    "postBox": 1024,
                    "postCode": 4242,
                    "townName": "Mysty Town",
                    "townLocationName": "Mysty Location",
                    "districtName": "Mysty District",
                    "countrySubDivision": "Mysterious Cape",
                    "country": "ZA",
                    "addressLine": [
                      "16A",
                      "New market street",
                      "Foreshore",
                      "Cape Town",
                      "ZA",
                      8001
                    ]
                  }
                }
              },
              "amounts": {
                "bankSettlementAmount": {
                  "value": 1,
                  "currency": "ZAR"
                },
                "instructedAmount": {
                  "value": 1,
                  "currency": "ZAR"
                }
              },
              "remittanceInformation": {
                "unstructured": [
                  "some",
                  "unstructured",
                  "information"
                ],
                "structured": [
                  {
                    "referredDocuments": [
                      {
                        "type": {
                          "issuer": "GreyBank123456",
                          "schema": "CODE",
                          "value": "CINV"
                        },
                        "documentIdentifier": "A0123456789"
                      }
                    ],
                    "referredDocumentAmount": {
                      "duePayableAmount": {
                        "value": 1,
                        "currency": "ZAR"
                      },
                      "remittedAmount": {
                        "value": 1,
                        "currency": "ZAR"
                      }
                    },
                    "creditorReference": {
                      "type": {
                        "issuer": "GreyBank1234",
                        "schema": "CODE",
                        "value": "RADM"
                      },
                      "reference": "ABC123XYZ999"
                    },
                    "additionalRemittanceInformation": [
                      "Some",
                      "Additional",
                      "Information"
                    ]
                  }
                ]
              },
              "debtor": {
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": "42",
                  "buildingName": "Mysterious Building",
                  "floor": "42",
                  "postBox": "1024",
                  "postCode": "4242",
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    "8001"
                  ]
                },
                "contactDetails": {
                  "phoneNumber": "+27-0214620000",
                  "mobileNumber": "+27-08230000000",
                  "emailAddress": "developer.dave@electrum.com"
                },
                "countryOfResidence": "ZA",
                "identification": {
                  "schema": "PERSON",
                  "identifiers": [
                    {
                      "identification": "90001236549870",
                      "scheme": {
                        "schema": "CODE",
                        "value": "NIDN"
                      },
                      "issuer": "Dept of Home Affairs"
                    }
                  ]
                }
              },
              "debtorAccount": {
                "identification": {
                  "schema": "GENERIC",
                  "scheme": {
                    "schema": "PROPRIETARY",
                    "value": "AProprietaryCode123"
                  },
                  "issuer": "Grey Bank",
                  "value": "abcdef987654"
                },
                "type": {
                  "schema": "CODE",
                  "value": "CACC"
                }
              },
              "debtorAgent": {
                "bicfi": "GREYZAJ0",
                "memberId": "GreyBankId",
                "name": "Grey Bank Inc",
                "branch": {
                  "identification": 210514,
                  "name": "ABC Plettenberg Bay",
                  "address": {
                    "addressType": "ADDR",
                    "department": "Department of Mysteries",
                    "streetName": "Street of Mysteries",
                    "buildingNumber": 42,
                    "buildingName": "Mysterious Building",
                    "floor": 42,
                    "postBox": 1024,
                    "postCode": 4242,
                    "townName": "Mysty Town",
                    "townLocationName": "Mysty Location",
                    "districtName": "Mysty District",
                    "countrySubDivision": "Mysterious Cape",
                    "country": "ZA",
                    "addressLine": [
                      "16A",
                      "New market street",
                      "Foreshore",
                      "Cape Town",
                      "ZA",
                      8001
                    ]
                  }
                }
              }
            }
          }
        }
      },
      "RtcInboundCreditAuthResponseAcceptedEvent": {
        "summary": "RTC Inbound Credit Transfer Response Accepted",
        "description": "Request for the `inboundCreditTransferAuthorizationResponse` operation is accepted by the Switch. The associated `inboundCreditTransferAuthorizationResponse` received event is described in `RtcInboundCreditAuthResponseAcscReceivedEvent`.",
        "value": {
          "name": "TRANSACTION_STATE_CREDIT_AUTH_RESPONSE_ACCEPTED",
          "apiVersion": "0.27.0",
          "class": "TRANSACTION_STATE",
          "type": "CREDIT_AUTH_RESPONSE_ACCEPTED",
          "stageVersion": 5,
          "tranInfo": {
            "tranUetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa",
            "direction": "INBOUND",
            "paymentScheme": "ZA_RTC",
            "service": "RTC_INBOUND"
          },
          "messageInfo": {
            "messageIdentification": "9fd51c1234ba4819bbheyde296a68e1da",
            "creationDateTime": "2022-05-04T03:22:11Z"
          },
          "payload": {
            "schema": "PaymentStatusReport",
            "messageIdentifiers": {
              "messageIdentification": "9fd51c1234ba4819bbheyde296a68e1da",
              "creationDateTime": "2022-05-04T03:22:11Z"
            },
            "originalMessageIdentifiers": {
              "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
              "creationDateTime": "2022-05-04T03:02:01Z"
            },
            "paymentScheme": {
              "schema": "ZA_RTC",
              "schemeData": {
                "beneficiaryEchoData": "Ab1 xxxxxxxxxxxxxxxx",
                "authorisationId": "Ab1 xx"
              },
              "originalSchemeData": {
                "userReference": "Ab1 xxxxxxxxxxxxxxxx",
                "originatorEchoData": "Ab1 xxxxxxxxxxxxxxxx",
                "businessReference": "11Ab1xxxxx"
              }
            },
            "transactionIdentifiers": {
              "endToEndIdentification": "6249118655591098",
              "transactionIdentification": "RRN000000001",
              "uetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa"
            },
            "status": {
              "outcome": "REJECTED",
              "reasonInfo": [
                {
                  "reason": {
                    "schema": "CODE",
                    "value": "RR04"
                  },
                  "additionalInformation": "The time of the payment instruction is outside of the allowed hours"
                }
              ]
            },
            "instructingAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "instructedAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "originalTransactionData": {
              "creditor": {
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": "42",
                  "buildingName": "Mysterious Building",
                  "floor": "42",
                  "postBox": "1024",
                  "postCode": "4242",
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    "8001"
                  ]
                },
                "contactDetails": {
                  "phoneNumber": "+27-0214620000",
                  "mobileNumber": "+27-08230000000",
                  "emailAddress": "developer.dave@electrum.com"
                },
                "countryOfResidence": "ZA",
                "identification": {
                  "schema": "PERSON",
                  "identifiers": [
                    {
                      "identification": "90001236549870",
                      "scheme": {
                        "schema": "CODE",
                        "value": "NIDN"
                      },
                      "issuer": "Dept of Home Affairs"
                    }
                  ]
                }
              },
              "creditorAccount": {
                "identification": {
                  "schema": "GENERIC",
                  "scheme": {
                    "schema": "PROPRIETARY",
                    "value": "AProprietaryCode123"
                  },
                  "issuer": "Blue Bank",
                  "value": "abcdef987654"
                },
                "type": {
                  "schema": "CODE",
                  "value": "CACC"
                }
              },
              "creditorAgent": {
                "bicfi": "BLUEZAJ0",
                "memberId": "BlueBankId",
                "name": "Blue Bank Inc",
                "branch": {
                  "identification": 210514,
                  "name": "ABC Plettenberg Bay",
                  "address": {
                    "addressType": "ADDR",
                    "department": "Department of Mysteries",
                    "streetName": "Street of Mysteries",
                    "buildingNumber": 42,
                    "buildingName": "Mysterious Building",
                    "floor": 42,
                    "postBox": 1024,
                    "postCode": 4242,
                    "townName": "Mysty Town",
                    "townLocationName": "Mysty Location",
                    "districtName": "Mysty District",
                    "countrySubDivision": "Mysterious Cape",
                    "country": "ZA",
                    "addressLine": [
                      "16A",
                      "New market street",
                      "Foreshore",
                      "Cape Town",
                      "ZA",
                      8001
                    ]
                  }
                }
              },
              "amounts": {
                "bankSettlementAmount": {
                  "value": 1,
                  "currency": "ZAR"
                },
                "instructedAmount": {
                  "value": 1,
                  "currency": "ZAR"
                }
              },
              "remittanceInformation": {
                "unstructured": [
                  "some",
                  "unstructured",
                  "information"
                ],
                "structured": [
                  {
                    "referredDocuments": [
                      {
                        "type": {
                          "issuer": "GreyBank123456",
                          "schema": "CODE",
                          "value": "CINV"
                        },
                        "documentIdentifier": "A0123456789"
                      }
                    ],
                    "referredDocumentAmount": {
                      "duePayableAmount": {
                        "value": 1,
                        "currency": "ZAR"
                      },
                      "remittedAmount": {
                        "value": 1,
                        "currency": "ZAR"
                      }
                    },
                    "creditorReference": {
                      "type": {
                        "issuer": "GreyBank1234",
                        "schema": "CODE",
                        "value": "RADM"
                      },
                      "reference": "ABC123XYZ999"
                    },
                    "additionalRemittanceInformation": [
                      "Some",
                      "Additional",
                      "Information"
                    ]
                  }
                ]
              },
              "debtor": {
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": "42",
                  "buildingName": "Mysterious Building",
                  "floor": "42",
                  "postBox": "1024",
                  "postCode": "4242",
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    "8001"
                  ]
                },
                "contactDetails": {
                  "phoneNumber": "+27-0214620000",
                  "mobileNumber": "+27-08230000000",
                  "emailAddress": "developer.dave@electrum.com"
                },
                "countryOfResidence": "ZA",
                "identification": {
                  "schema": "PERSON",
                  "identifiers": [
                    {
                      "identification": "90001236549870",
                      "scheme": {
                        "schema": "CODE",
                        "value": "NIDN"
                      },
                      "issuer": "Dept of Home Affairs"
                    }
                  ]
                }
              },
              "debtorAccount": {
                "identification": {
                  "schema": "GENERIC",
                  "scheme": {
                    "schema": "PROPRIETARY",
                    "value": "AProprietaryCode123"
                  },
                  "issuer": "Grey Bank",
                  "value": "abcdef987654"
                },
                "type": {
                  "schema": "CODE",
                  "value": "CACC"
                }
              },
              "debtorAgent": {
                "bicfi": "GREYZAJ0",
                "memberId": "GreyBankId",
                "name": "Grey Bank Inc",
                "branch": {
                  "identification": 210514,
                  "name": "ABC Plettenberg Bay",
                  "address": {
                    "addressType": "ADDR",
                    "department": "Department of Mysteries",
                    "streetName": "Street of Mysteries",
                    "buildingNumber": 42,
                    "buildingName": "Mysterious Building",
                    "floor": 42,
                    "postBox": 1024,
                    "postCode": 4242,
                    "townName": "Mysty Town",
                    "townLocationName": "Mysty Location",
                    "districtName": "Mysty District",
                    "countrySubDivision": "Mysterious Cape",
                    "country": "ZA",
                    "addressLine": [
                      "16A",
                      "New market street",
                      "Foreshore",
                      "Cape Town",
                      "ZA",
                      8001
                    ]
                  }
                }
              }
            }
          }
        }
      },
      "RtcInboundCreditAuthResponseRejectedEvent": {
        "summary": "RTC Inbound Credit Transfer Response Rejected",
        "description": "Request for the `inboundCreditTransferAuthorizationResponse` operation is rejected by the Switch due to format errors. The associated `inboundCreditTransferAuthorizationResponse` received event is described in `RtcInboundCreditAuthResponseAcscReceivedEvent`.",
        "value": {
          "name": "TRANSACTION_STATE_CREDIT_AUTH_RESPONSE_REJECTED",
          "apiVersion": "0.27.0",
          "class": "TRANSACTION_STATE",
          "type": "CREDIT_AUTH_RESPONSE_REJECTED",
          "stageVersion": 5,
          "tranInfo": {
            "tranUetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa",
            "direction": "INBOUND",
            "paymentScheme": "ZA_RTC",
            "service": "RTC_INBOUND"
          },
          "messageInfo": {
            "messageIdentification": "9fd51c1234ba4819bbheyde296a68e1da",
            "creationDateTime": "2022-05-04T03:22:11Z",
            "httpStatusCode": 400
          },
          "payload": {
            "schema": "ErrorDetail",
            "detail": "BAD_REQUEST",
            "message": "Message is malformed"
          }
        }
      },
      "RtcInboundCreditAuthApprovedEvent": {
        "summary": "RTC Inbound Credit Transfer Approved",
        "description": "Request for the `inboundCreditTransferAuthorizationResponse` operation is forwarded by the Switch back to industry. The associated `inboundCreditTransferAuthorizationResponse` received event is described in `RtcInboundCreditAuthResponseAcscReceivedEvent`.",
        "value": {
          "name": "TRANSACTION_STATE_CREDIT_AUTH_APPROVED",
          "apiVersion": "0.27.0",
          "class": "TRANSACTION_STATE",
          "type": "CREDIT_AUTH_ACCEPTED",
          "stageVersion": 3,
          "tranInfo": {
            "tranUetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa",
            "direction": "INBOUND",
            "paymentScheme": "ZA_RTC",
            "service": "RTC_INBOUND"
          },
          "messageInfo": {
            "messageIdentification": "9fd51c1234ba4819bbheyde296a68e1da",
            "creationDateTime": "2022-05-04T03:22:11Z"
          },
          "payload": {
            "schema": "PaymentStatusReport",
            "messageIdentifiers": {
              "messageIdentification": "9fd51c1234ba4819bbheyde296a68e1da",
              "creationDateTime": "2022-05-04T03:22:11Z"
            },
            "originalMessageIdentifiers": {
              "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
              "creationDateTime": "2022-05-04T03:02:01Z"
            },
            "paymentScheme": {
              "schema": "ZA_RTC",
              "schemeData": {
                "beneficiaryEchoData": "Ab1 xxxxxxxxxxxxxxxx",
                "authorisationId": "Ab1 xx"
              },
              "originalSchemeData": {
                "userReference": "Ab1 xxxxxxxxxxxxxxxx",
                "originatorEchoData": "Ab1 xxxxxxxxxxxxxxxx",
                "businessReference": "11Ab1xxxxx"
              }
            },
            "transactionIdentifiers": {
              "endToEndIdentification": "6249118655591098",
              "transactionIdentification": "RRN000000001",
              "uetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa"
            },
            "status": {
              "outcome": "APPROVED",
              "reasonInfo": [
                {
                  "reason": {
                    "schema": "CODE",
                    "value": "ACSC"
                  },
                  "additionalInformation": "Settlement completed on debtor account"
                }
              ]
            },
            "instructingAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "instructedAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "originalTransactionData": {
              "creditor": {
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": "42",
                  "buildingName": "Mysterious Building",
                  "floor": "42",
                  "postBox": "1024",
                  "postCode": "4242",
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    "8001"
                  ]
                },
                "contactDetails": {
                  "phoneNumber": "+27-0214620000",
                  "mobileNumber": "+27-08230000000",
                  "emailAddress": "developer.dave@electrum.com"
                },
                "countryOfResidence": "ZA",
                "identification": {
                  "schema": "PERSON",
                  "identifiers": [
                    {
                      "identification": "90001236549870",
                      "scheme": {
                        "schema": "CODE",
                        "value": "NIDN"
                      },
                      "issuer": "Dept of Home Affairs"
                    }
                  ]
                }
              },
              "creditorAccount": {
                "identification": {
                  "schema": "GENERIC",
                  "scheme": {
                    "schema": "PROPRIETARY",
                    "value": "AProprietaryCode123"
                  },
                  "issuer": "Blue Bank",
                  "value": "abcdef987654"
                },
                "type": {
                  "schema": "CODE",
                  "value": "CACC"
                }
              },
              "creditorAgent": {
                "bicfi": "BLUEZAJ0",
                "memberId": "BlueBankId",
                "name": "Blue Bank Inc",
                "branch": {
                  "identification": 210514,
                  "name": "ABC Plettenberg Bay",
                  "address": {
                    "addressType": "ADDR",
                    "department": "Department of Mysteries",
                    "streetName": "Street of Mysteries",
                    "buildingNumber": 42,
                    "buildingName": "Mysterious Building",
                    "floor": 42,
                    "postBox": 1024,
                    "postCode": 4242,
                    "townName": "Mysty Town",
                    "townLocationName": "Mysty Location",
                    "districtName": "Mysty District",
                    "countrySubDivision": "Mysterious Cape",
                    "country": "ZA",
                    "addressLine": [
                      "16A",
                      "New market street",
                      "Foreshore",
                      "Cape Town",
                      "ZA",
                      8001
                    ]
                  }
                }
              },
              "amounts": {
                "bankSettlementAmount": {
                  "value": 1,
                  "currency": "ZAR"
                },
                "instructedAmount": {
                  "value": 1,
                  "currency": "ZAR"
                }
              },
              "remittanceInformation": {
                "unstructured": [
                  "some",
                  "unstructured",
                  "information"
                ],
                "structured": [
                  {
                    "referredDocuments": [
                      {
                        "type": {
                          "issuer": "GreyBank123456",
                          "schema": "CODE",
                          "value": "CINV"
                        },
                        "documentIdentifier": "A0123456789"
                      }
                    ],
                    "referredDocumentAmount": {
                      "duePayableAmount": {
                        "value": 1,
                        "currency": "ZAR"
                      },
                      "remittedAmount": {
                        "value": 1,
                        "currency": "ZAR"
                      }
                    },
                    "creditorReference": {
                      "type": {
                        "issuer": "GreyBank1234",
                        "schema": "CODE",
                        "value": "RADM"
                      },
                      "reference": "ABC123XYZ999"
                    },
                    "additionalRemittanceInformation": [
                      "Some",
                      "Additional",
                      "Information"
                    ]
                  }
                ]
              },
              "debtor": {
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": "42",
                  "buildingName": "Mysterious Building",
                  "floor": "42",
                  "postBox": "1024",
                  "postCode": "4242",
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    "8001"
                  ]
                },
                "contactDetails": {
                  "phoneNumber": "+27-0214620000",
                  "mobileNumber": "+27-08230000000",
                  "emailAddress": "developer.dave@electrum.com"
                },
                "countryOfResidence": "ZA",
                "identification": {
                  "schema": "PERSON",
                  "identifiers": [
                    {
                      "identification": "90001236549870",
                      "scheme": {
                        "schema": "CODE",
                        "value": "NIDN"
                      },
                      "issuer": "Dept of Home Affairs"
                    }
                  ]
                }
              },
              "debtorAccount": {
                "identification": {
                  "schema": "GENERIC",
                  "scheme": {
                    "schema": "PROPRIETARY",
                    "value": "AProprietaryCode123"
                  },
                  "issuer": "Grey Bank",
                  "value": "abcdef987654"
                },
                "type": {
                  "schema": "CODE",
                  "value": "CACC"
                }
              },
              "debtorAgent": {
                "bicfi": "GREYZAJ0",
                "memberId": "GreyBankId",
                "name": "Grey Bank Inc",
                "branch": {
                  "identification": 210514,
                  "name": "ABC Plettenberg Bay",
                  "address": {
                    "addressType": "ADDR",
                    "department": "Department of Mysteries",
                    "streetName": "Street of Mysteries",
                    "buildingNumber": 42,
                    "buildingName": "Mysterious Building",
                    "floor": 42,
                    "postBox": 1024,
                    "postCode": 4242,
                    "townName": "Mysty Town",
                    "townLocationName": "Mysty Location",
                    "districtName": "Mysty District",
                    "countrySubDivision": "Mysterious Cape",
                    "country": "ZA",
                    "addressLine": [
                      "16A",
                      "New market street",
                      "Foreshore",
                      "Cape Town",
                      "ZA",
                      8001
                    ]
                  }
                }
              }
            }
          }
        }
      },
      "RtcInboundCreditAuthDeclinedEvent": {
        "summary": "RTC Inbound Credit Transfer Declined",
        "description": "Request for the `inboundCreditTransferAuthorizationResponse` operation is forwarded by the Switch back to industry. The associated `inboundCreditTransferAuthorizationResponse` received event is described in `RtcInboundCreditAuthResponseRjctReceivedEvent`.",
        "value": {
          "name": "TRANSACTION_STATE_CREDIT_AUTH_DECLINED",
          "apiVersion": "0.27.0",
          "class": "TRANSACTION_STATE",
          "type": "CREDIT_AUTH_REJECTED",
          "stageVersion": 3,
          "tranInfo": {
            "tranUetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa",
            "direction": "INBOUND",
            "paymentScheme": "ZA_RTC",
            "service": "RTC_INBOUND"
          },
          "messageInfo": {
            "messageIdentification": "9fd51c1234ba4819bbheyde296a68e1da",
            "creationDateTime": "2022-05-04T03:22:11Z"
          },
          "payload": {
            "schema": "PaymentStatusReport",
            "messageIdentifiers": {
              "messageIdentification": "9fd51c1234ba4819bbheyde296a68e1da",
              "creationDateTime": "2022-05-04T03:22:11Z"
            },
            "originalMessageIdentifiers": {
              "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
              "creationDateTime": "2022-05-04T03:02:01Z"
            },
            "paymentScheme": {
              "schema": "ZA_RTC",
              "schemeData": {
                "beneficiaryEchoData": "Ab1 xxxxxxxxxxxxxxxx",
                "authorisationId": "Ab1 xx"
              },
              "originalSchemeData": {
                "userReference": "Ab1 xxxxxxxxxxxxxxxx",
                "originatorEchoData": "Ab1 xxxxxxxxxxxxxxxx",
                "businessReference": "11Ab1xxxxx"
              }
            },
            "transactionIdentifiers": {
              "endToEndIdentification": "6249118655591098",
              "transactionIdentification": "RRN000000001",
              "uetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa"
            },
            "status": {
              "outcome": "REJECTED",
              "reasonInfo": [
                {
                  "reason": {
                    "schema": "CODE",
                    "value": "RR04"
                  },
                  "additionalInformation": "The time of the payment instruction is outside of the allowed hours"
                }
              ]
            },
            "instructingAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "instructedAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "originalTransactionData": {
              "creditor": {
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": "42",
                  "buildingName": "Mysterious Building",
                  "floor": "42",
                  "postBox": "1024",
                  "postCode": "4242",
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    "8001"
                  ]
                },
                "contactDetails": {
                  "phoneNumber": "+27-0214620000",
                  "mobileNumber": "+27-08230000000",
                  "emailAddress": "developer.dave@electrum.com"
                },
                "countryOfResidence": "ZA",
                "identification": {
                  "schema": "PERSON",
                  "identifiers": [
                    {
                      "identification": "90001236549870",
                      "scheme": {
                        "schema": "CODE",
                        "value": "NIDN"
                      },
                      "issuer": "Dept of Home Affairs"
                    }
                  ]
                }
              },
              "creditorAccount": {
                "identification": {
                  "schema": "GENERIC",
                  "scheme": {
                    "schema": "PROPRIETARY",
                    "value": "AProprietaryCode123"
                  },
                  "issuer": "Blue Bank",
                  "value": "abcdef987654"
                },
                "type": {
                  "schema": "CODE",
                  "value": "CACC"
                }
              },
              "creditorAgent": {
                "bicfi": "BLUEZAJ0",
                "memberId": "BlueBankId",
                "name": "Blue Bank Inc",
                "branch": {
                  "identification": 210514,
                  "name": "ABC Plettenberg Bay",
                  "address": {
                    "addressType": "ADDR",
                    "department": "Department of Mysteries",
                    "streetName": "Street of Mysteries",
                    "buildingNumber": 42,
                    "buildingName": "Mysterious Building",
                    "floor": 42,
                    "postBox": 1024,
                    "postCode": 4242,
                    "townName": "Mysty Town",
                    "townLocationName": "Mysty Location",
                    "districtName": "Mysty District",
                    "countrySubDivision": "Mysterious Cape",
                    "country": "ZA",
                    "addressLine": [
                      "16A",
                      "New market street",
                      "Foreshore",
                      "Cape Town",
                      "ZA",
                      8001
                    ]
                  }
                }
              },
              "amounts": {
                "bankSettlementAmount": {
                  "value": 1,
                  "currency": "ZAR"
                },
                "instructedAmount": {
                  "value": 1,
                  "currency": "ZAR"
                }
              },
              "remittanceInformation": {
                "unstructured": [
                  "some",
                  "unstructured",
                  "information"
                ],
                "structured": [
                  {
                    "referredDocuments": [
                      {
                        "type": {
                          "issuer": "GreyBank123456",
                          "schema": "CODE",
                          "value": "CINV"
                        },
                        "documentIdentifier": "A0123456789"
                      }
                    ],
                    "referredDocumentAmount": {
                      "duePayableAmount": {
                        "value": 1,
                        "currency": "ZAR"
                      },
                      "remittedAmount": {
                        "value": 1,
                        "currency": "ZAR"
                      }
                    },
                    "creditorReference": {
                      "type": {
                        "issuer": "GreyBank1234",
                        "schema": "CODE",
                        "value": "RADM"
                      },
                      "reference": "ABC123XYZ999"
                    },
                    "additionalRemittanceInformation": [
                      "Some",
                      "Additional",
                      "Information"
                    ]
                  }
                ]
              },
              "debtor": {
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": "42",
                  "buildingName": "Mysterious Building",
                  "floor": "42",
                  "postBox": "1024",
                  "postCode": "4242",
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    "8001"
                  ]
                },
                "contactDetails": {
                  "phoneNumber": "+27-0214620000",
                  "mobileNumber": "+27-08230000000",
                  "emailAddress": "developer.dave@electrum.com"
                },
                "countryOfResidence": "ZA",
                "identification": {
                  "schema": "PERSON",
                  "identifiers": [
                    {
                      "identification": "90001236549870",
                      "scheme": {
                        "schema": "CODE",
                        "value": "NIDN"
                      },
                      "issuer": "Dept of Home Affairs"
                    }
                  ]
                }
              },
              "debtorAccount": {
                "identification": {
                  "schema": "GENERIC",
                  "scheme": {
                    "schema": "PROPRIETARY",
                    "value": "AProprietaryCode123"
                  },
                  "issuer": "Grey Bank",
                  "value": "abcdef987654"
                },
                "type": {
                  "schema": "CODE",
                  "value": "CACC"
                }
              },
              "debtorAgent": {
                "bicfi": "GREYZAJ0",
                "memberId": "GreyBankId",
                "name": "Grey Bank Inc",
                "branch": {
                  "identification": 210514,
                  "name": "ABC Plettenberg Bay",
                  "address": {
                    "addressType": "ADDR",
                    "department": "Department of Mysteries",
                    "streetName": "Street of Mysteries",
                    "buildingNumber": 42,
                    "buildingName": "Mysterious Building",
                    "floor": 42,
                    "postBox": 1024,
                    "postCode": 4242,
                    "townName": "Mysty Town",
                    "townLocationName": "Mysty Location",
                    "districtName": "Mysty District",
                    "countrySubDivision": "Mysterious Cape",
                    "country": "ZA",
                    "addressLine": [
                      "16A",
                      "New market street",
                      "Foreshore",
                      "Cape Town",
                      "ZA",
                      8001
                    ]
                  }
                }
              }
            }
          }
        }
      },
      "RtcInboundCreditAuthTimeoutEvent": {
        "summary": "RTC Inbound Credit Transfer Timeout",
        "description": "Request for the `inboundCreditTransferAuthorization` forwarded by the Switch to the partner times out while awaiting an `inboundCreditTransferAuthorizationResponse` functional response. The associated `inboundCreditTransferAuthorization` pending event is described in `RtcInboundCreditAuthPendingEvent`.",
        "value": {
          "name": "TRANSACTION_STATE_CREDIT_AUTH_TIMEOUT",
          "apiVersion": "0.27.0",
          "class": "TRANSACTION_STATE",
          "type": "CREDIT_AUTH_TIMEOUT",
          "stageVersion": 4,
          "tranInfo": {
            "tranUetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa",
            "direction": "INBOUND",
            "paymentScheme": "ZA_RTC",
            "service": "RTC_INBOUND"
          },
          "messageInfo": {
            "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
            "creationDateTime": "2022-05-04T03:02:01Z"
          },
          "payload": {
            "schema": "CreditTransfer",
            "messageIdentifiers": {
              "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
              "creationDateTime": "2022-05-04T03:02:01Z"
            },
            "paymentScheme": {
              "schema": "ZA_RTC",
              "schemeData": {
                "userReference": "Ab1 xxxxxxxxxxxxxxxx",
                "originatorEchoData": "Ab1 xxxxxxxxxxxxxxxx",
                "businessReference": "11Ab1xxxxx"
              }
            },
            "transactionIdentifiers": {
              "endToEndIdentification": "6249118655591098",
              "transactionIdentification": "RRN000000001",
              "uetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa"
            },
            "amounts": {
              "bankSettlementAmount": {
                "value": 1,
                "currency": "ZAR"
              },
              "instructedAmount": {
                "value": 1,
                "currency": "ZAR"
              }
            },
            "paymentTypeInformation": {
              "localInstrument": {
                "schema": "CODE",
                "value": "BTR"
              }
            },
            "creditor": {
              "address": {
                "addressType": "ADDR",
                "department": "Department of Mysteries",
                "streetName": "Street of Mysteries",
                "buildingNumber": 42,
                "buildingName": "Mysterious Building",
                "floor": 42,
                "postBox": 1024,
                "postCode": 4242,
                "townName": "Mysty Town",
                "townLocationName": "Mysty Location",
                "districtName": "Mysty District",
                "countrySubDivision": "Mysterious Cape",
                "country": "ZA",
                "addressLine": [
                  "16A",
                  "New market street",
                  "Foreshore",
                  "Cape Town",
                  "ZA",
                  8001
                ]
              },
              "contactDetails": {
                "phoneNumber": "+27-0214620000",
                "mobileNumber": "+27-08230000000",
                "emailAddress": "alice@blue.com"
              },
              "countryOfResidence": "ZA",
              "identification": {
                "schema": "PERSON",
                "identifiers": [
                  {
                    "identification": 90001236549870,
                    "issuer": "Dept of Home Affairs",
                    "scheme": {
                      "schema": "CODE",
                      "value": "NIDN"
                    }
                  }
                ]
              }
            },
            "creditorAccount": {
              "identification": {
                "schema": "GENERIC",
                "scheme": {
                  "schema": "PROPRIETARY",
                  "value": "AProprietaryCode123"
                },
                "issuer": "Blue Bank",
                "value": "abcdef987654"
              },
              "type": {
                "schema": "CODE",
                "value": "CACC"
              },
              "currency": "ZAR"
            },
            "creditorAgent": {
              "bicfi": "BLUEZAJ0",
              "memberId": "BlueBankId",
              "name": "Blue Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "debtor": {
              "address": {
                "addressType": "ADDR",
                "department": "Department of Mysteries",
                "streetName": "Street of Mysteries",
                "buildingNumber": 42,
                "buildingName": "Mysterious Building",
                "floor": 42,
                "postBox": 1024,
                "postCode": 4242,
                "townName": "Mysty Town",
                "townLocationName": "Mysty Location",
                "districtName": "Mysty District",
                "countrySubDivision": "Mysterious Cape",
                "country": "ZA",
                "addressLine": [
                  "16A",
                  "New market street",
                  "Foreshore",
                  "Cape Town",
                  "ZA",
                  8001
                ]
              },
              "contactDetails": {
                "phoneNumber": "+27-0214620000",
                "mobileNumber": "+27-08230000000",
                "emailAddress": "bob@grey.com"
              },
              "countryOfResidence": "ZA",
              "identification": {
                "schema": "PERSON",
                "identifiers": [
                  {
                    "identification": 90001236549870,
                    "issuer": "Dept of Home Affairs",
                    "scheme": {
                      "schema": "CODE",
                      "value": "NIDN"
                    }
                  }
                ]
              }
            },
            "debtorAccount": {
              "identification": {
                "schema": "GENERIC",
                "scheme": {
                  "schema": "PROPRIETARY",
                  "value": "AProprietaryCode123"
                },
                "issuer": "Grey Bank",
                "value": "abcdef987654"
              },
              "type": {
                "schema": "CODE",
                "value": "CACC"
              },
              "currency": "ZAR"
            },
            "debtorAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "instructingAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "instructedAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "instructionForCreditorAgent": [
              {
                "code": "TELB",
                "information": "Please email example@example.com"
              }
            ],
            "intermediaryAgents": [
              {
                "bicfi": "GREYZAJ0",
                "memberId": "GreyBankId",
                "name": "Grey Bank Inc",
                "branch": {
                  "identification": 210514,
                  "name": "ABC Plettenberg Bay",
                  "address": {
                    "addressType": "ADDR",
                    "department": "Department of Mysteries",
                    "streetName": "Street of Mysteries",
                    "buildingNumber": 42,
                    "buildingName": "Mysterious Building",
                    "floor": 42,
                    "postBox": 1024,
                    "postCode": 4242,
                    "townName": "Mysty Town",
                    "townLocationName": "Mysty Location",
                    "districtName": "Mysty District",
                    "countrySubDivision": "Mysterious Cape",
                    "country": "ZA",
                    "addressLine": [
                      "16A",
                      "New market street",
                      "Foreshore",
                      "Cape Town",
                      "ZA",
                      8001
                    ]
                  }
                }
              }
            ],
            "previousInstructingAgents": [
              {
                "bicfi": "GREYZAJ0",
                "memberId": "GreyBankId",
                "name": "Grey Bank Inc",
                "branch": {
                  "identification": 210514,
                  "name": "ABC Plettenberg Bay",
                  "address": {
                    "addressType": "ADDR",
                    "department": "Department of Mysteries",
                    "streetName": "Street of Mysteries",
                    "buildingNumber": 42,
                    "buildingName": "Mysterious Building",
                    "floor": 42,
                    "postBox": 1024,
                    "postCode": 4242,
                    "townName": "Mysty Town",
                    "townLocationName": "Mysty Location",
                    "districtName": "Mysty District",
                    "countrySubDivision": "Mysterious Cape",
                    "country": "ZA",
                    "addressLine": [
                      "16A",
                      "New market street",
                      "Foreshore",
                      "Cape Town",
                      "ZA",
                      8001
                    ]
                  }
                }
              }
            ],
            "purpose": {
              "schema": "CODE",
              "value": "BKDF"
            },
            "remittanceInformation": {
              "unstructured": [
                "some",
                "unstructured",
                "information"
              ],
              "structured": [
                {
                  "referredDocuments": [
                    {
                      "type": {
                        "issuer": "GreyBank123456",
                        "schema": "CODE",
                        "value": "CINV"
                      },
                      "documentIdentifier": "A0123456789"
                    }
                  ],
                  "referredDocumentAmount": {
                    "duePayableAmount": {
                      "value": 1,
                      "currency": "ZAR"
                    },
                    "remittedAmount": {
                      "value": 1,
                      "currency": "ZAR"
                    }
                  },
                  "creditorReference": {
                    "type": {
                      "issuer": "GreyBank1234",
                      "schema": "CODE",
                      "value": "RADM"
                    },
                    "reference": "ABC123XYZ999"
                  },
                  "additionalRemittanceInformation": [
                    "Some",
                    "Additional",
                    "Information"
                  ]
                }
              ]
            },
            "tax": {
              "totalAmount": {
                "value": 1,
                "currency": "ZAR"
              }
            }
          }
        }
      },
      "RtcInboundCreditAuthValidationEvent": {
        "summary": "RTC Inbound Credit Transfer Validation",
        "description": "Request for the `inboundCreditTransferAuthorization` received by the Switch is sent for validation prior to functional processing. The associated `inboundCreditTransferAuthorization` pending event is described in `RtcInboundCreditAuthReceivedEvent`.",
        "value": {
          "name": "TRANSACTION_STATE_VALIDATION_PENDING",
          "apiVersion": "0.27.0",
          "class": "TRANSACTION_STATE",
          "type": "VALIDATION_PENDING",
          "stageVersion": 6,
          "tranInfo": {
            "tranUetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa",
            "direction": "INBOUND",
            "paymentScheme": "ZA_RTC",
            "service": "RTC_INBOUND"
          },
          "messageInfo": {
            "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
            "creationDateTime": "2022-05-04T03:02:01Z"
          },
          "payload": {
            "schema": "CreditTransfer",
            "messageIdentifiers": {
              "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
              "creationDateTime": "2022-05-04T03:02:01Z"
            },
            "paymentScheme": {
              "schema": "ZA_RTC",
              "schemeData": {
                "userReference": "Ab1 xxxxxxxxxxxxxxxx",
                "originatorEchoData": "Ab1 xxxxxxxxxxxxxxxx",
                "businessReference": "11Ab1xxxxx"
              }
            },
            "transactionIdentifiers": {
              "endToEndIdentification": "6249118655591098",
              "transactionIdentification": "RRN000000001",
              "uetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa"
            },
            "amounts": {
              "bankSettlementAmount": {
                "value": 1,
                "currency": "ZAR"
              },
              "instructedAmount": {
                "value": 1,
                "currency": "ZAR"
              }
            },
            "paymentTypeInformation": {
              "localInstrument": {
                "schema": "CODE",
                "value": "BTR"
              }
            },
            "creditor": {
              "address": {
                "addressType": "ADDR",
                "department": "Department of Mysteries",
                "streetName": "Street of Mysteries",
                "buildingNumber": 42,
                "buildingName": "Mysterious Building",
                "floor": 42,
                "postBox": 1024,
                "postCode": 4242,
                "townName": "Mysty Town",
                "townLocationName": "Mysty Location",
                "districtName": "Mysty District",
                "countrySubDivision": "Mysterious Cape",
                "country": "ZA",
                "addressLine": [
                  "16A",
                  "New market street",
                  "Foreshore",
                  "Cape Town",
                  "ZA",
                  8001
                ]
              },
              "contactDetails": {
                "phoneNumber": "+27-0214620000",
                "mobileNumber": "+27-08230000000",
                "emailAddress": "alice@blue.com"
              },
              "countryOfResidence": "ZA",
              "identification": {
                "schema": "PERSON",
                "identifiers": [
                  {
                    "identification": 90001236549870,
                    "issuer": "Dept of Home Affairs",
                    "scheme": {
                      "schema": "CODE",
                      "value": "NIDN"
                    }
                  }
                ]
              }
            },
            "creditorAccount": {
              "identification": {
                "schema": "GENERIC",
                "scheme": {
                  "schema": "PROPRIETARY",
                  "value": "AProprietaryCode123"
                },
                "issuer": "Blue Bank",
                "value": "abcdef987654"
              },
              "type": {
                "schema": "CODE",
                "value": "CACC"
              },
              "currency": "ZAR"
            },
            "creditorAgent": {
              "bicfi": "BLUEZAJ0",
              "memberId": "BlueBankId",
              "name": "Blue Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "debtor": {
              "address": {
                "addressType": "ADDR",
                "department": "Department of Mysteries",
                "streetName": "Street of Mysteries",
                "buildingNumber": 42,
                "buildingName": "Mysterious Building",
                "floor": 42,
                "postBox": 1024,
                "postCode": 4242,
                "townName": "Mysty Town",
                "townLocationName": "Mysty Location",
                "districtName": "Mysty District",
                "countrySubDivision": "Mysterious Cape",
                "country": "ZA",
                "addressLine": [
                  "16A",
                  "New market street",
                  "Foreshore",
                  "Cape Town",
                  "ZA",
                  8001
                ]
              },
              "contactDetails": {
                "phoneNumber": "+27-0214620000",
                "mobileNumber": "+27-08230000000",
                "emailAddress": "bob@grey.com"
              },
              "countryOfResidence": "ZA",
              "identification": {
                "schema": "PERSON",
                "identifiers": [
                  {
                    "identification": 90001236549870,
                    "issuer": "Dept of Home Affairs",
                    "scheme": {
                      "schema": "CODE",
                      "value": "NIDN"
                    }
                  }
                ]
              }
            },
            "debtorAccount": {
              "identification": {
                "schema": "GENERIC",
                "scheme": {
                  "schema": "PROPRIETARY",
                  "value": "AProprietaryCode123"
                },
                "issuer": "Grey Bank",
                "value": "abcdef987654"
              },
              "type": {
                "schema": "CODE",
                "value": "CACC"
              },
              "currency": "ZAR"
            },
            "debtorAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "instructingAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "instructedAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "instructionForCreditorAgent": [
              {
                "code": "TELB",
                "information": "Please email example@example.com"
              }
            ],
            "intermediaryAgents": [
              {
                "bicfi": "GREYZAJ0",
                "memberId": "GreyBankId",
                "name": "Grey Bank Inc",
                "branch": {
                  "identification": 210514,
                  "name": "ABC Plettenberg Bay",
                  "address": {
                    "addressType": "ADDR",
                    "department": "Department of Mysteries",
                    "streetName": "Street of Mysteries",
                    "buildingNumber": 42,
                    "buildingName": "Mysterious Building",
                    "floor": 42,
                    "postBox": 1024,
                    "postCode": 4242,
                    "townName": "Mysty Town",
                    "townLocationName": "Mysty Location",
                    "districtName": "Mysty District",
                    "countrySubDivision": "Mysterious Cape",
                    "country": "ZA",
                    "addressLine": [
                      "16A",
                      "New market street",
                      "Foreshore",
                      "Cape Town",
                      "ZA",
                      8001
                    ]
                  }
                }
              }
            ],
            "previousInstructingAgents": [
              {
                "bicfi": "GREYZAJ0",
                "memberId": "GreyBankId",
                "name": "Grey Bank Inc",
                "branch": {
                  "identification": 210514,
                  "name": "ABC Plettenberg Bay",
                  "address": {
                    "addressType": "ADDR",
                    "department": "Department of Mysteries",
                    "streetName": "Street of Mysteries",
                    "buildingNumber": 42,
                    "buildingName": "Mysterious Building",
                    "floor": 42,
                    "postBox": 1024,
                    "postCode": 4242,
                    "townName": "Mysty Town",
                    "townLocationName": "Mysty Location",
                    "districtName": "Mysty District",
                    "countrySubDivision": "Mysterious Cape",
                    "country": "ZA",
                    "addressLine": [
                      "16A",
                      "New market street",
                      "Foreshore",
                      "Cape Town",
                      "ZA",
                      8001
                    ]
                  }
                }
              }
            ],
            "purpose": {
              "schema": "CODE",
              "value": "BKDF"
            },
            "remittanceInformation": {
              "unstructured": [
                "some",
                "unstructured",
                "information"
              ],
              "structured": [
                {
                  "referredDocuments": [
                    {
                      "type": {
                        "issuer": "GreyBank123456",
                        "schema": "CODE",
                        "value": "CINV"
                      },
                      "documentIdentifier": "A0123456789"
                    }
                  ],
                  "referredDocumentAmount": {
                    "duePayableAmount": {
                      "value": 1,
                      "currency": "ZAR"
                    },
                    "remittedAmount": {
                      "value": 1,
                      "currency": "ZAR"
                    }
                  },
                  "creditorReference": {
                    "type": {
                      "issuer": "GreyBank1234",
                      "schema": "CODE",
                      "value": "RADM"
                    },
                    "reference": "ABC123XYZ999"
                  },
                  "additionalRemittanceInformation": [
                    "Some",
                    "Additional",
                    "Information"
                  ]
                }
              ]
            },
            "tax": {
              "totalAmount": {
                "value": 1,
                "currency": "ZAR"
              }
            }
          }
        }
      },
      "RtcInboundCreditAuthValidationSuccessEvent": {
        "summary": "RTC Inbound Credit Transfer Validation Successful",
        "description": "The `inboundCreditTransferAuthorization` received by the Switch was successfully validated. The associated `inboundCreditTransferAuthorization` validation event is described in `RtcInboundCreditAuthValidationEvent`.",
        "value": {
          "name": "TRANSACTION_STATE_VALIDATION_SUCCESSFUL",
          "apiVersion": "0.27.0",
          "class": "TRANSACTION_STATE",
          "type": "VALIDATION_SUCCESSFUL",
          "stageVersion": 7,
          "tranInfo": {
            "tranUetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa",
            "direction": "INBOUND",
            "paymentScheme": "ZA_RTC",
            "service": "RTC_INBOUND"
          },
          "messageInfo": {
            "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
            "creationDateTime": "2022-05-04T03:02:01Z"
          },
          "payload": {
            "schema": "ValidationOutcome",
            "isSuccessful": true,
            "steps": [
              {
                "description": "Check that the amount in the payment instruction is in South African Rands",
                "result": "PASSED"
              },
              {
                "description": "Check that the time of the payment instruction is within the allowed hours",
                "result": "PASSED"
              }
            ]
          }
        }
      },
      "RtcInboundCreditAuthValidationFailedEvent": {
        "summary": "RTC Inbound Credit Transfer Validation Failed",
        "description": "The `inboundCreditTransferAuthorization` received by the Switch was not successfully validated. The associated `inboundCreditTransferAuthorization` validation event is described in `RtcInboundCreditAuthValidationEvent`.",
        "value": {
          "name": "TRANSACTION_STATE_VALIDATION_FAILED",
          "apiVersion": "0.27.0",
          "class": "TRANSACTION_STATE",
          "type": "VALIDATION_FAILED",
          "stageVersion": 7,
          "tranInfo": {
            "tranUetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa",
            "direction": "INBOUND",
            "paymentScheme": "ZA_RTC",
            "service": "RTC_INBOUND"
          },
          "messageInfo": {
            "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
            "creationDateTime": "2022-05-04T03:02:01Z"
          },
          "payload": {
            "schema": "ValidationOutcome",
            "isSuccessful": "false",
            "steps": [
              {
                "description": "Check that the amount in the payment instruction is in South African Rands",
                "result": "PASSED"
              },
              {
                "description": "Check that the time of the payment instruction is within the allowed hours",
                "result": "FAILED",
                "reasonInfo": {
                  "reason": {
                    "schema": "CODE",
                    "value": "RR04"
                  },
                  "additionalInformation": "The time of the payment instruction is outside of the allowed hours"
                }
              }
            ]
          }
        }
      },
      "RtcInboundCreditAuthValidationTimeoutEvent": {
        "summary": "RTC Inbound Credit Transfer Validation Timeout",
        "description": "The `inboundCreditTransferAuthorization` received by the Switch was not successfully validated because no validation response was received. The associated `inboundCreditTransferAuthorization` validation event is described in `RtcInboundCreditAuthValidationEvent`.",
        "value": {
          "name": "TRANSACTION_STATE_VALIDATION_TIMEOUT",
          "apiVersion": "0.27.0",
          "class": "TRANSACTION_STATE",
          "type": "VALIDATION_TIMEOUT",
          "stageVersion": 8,
          "tranInfo": {
            "tranUetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa",
            "direction": "INBOUND",
            "paymentScheme": "ZA_RTC",
            "service": "RTC_INBOUND"
          },
          "messageInfo": {
            "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
            "creationDateTime": "2022-05-04T03:02:01Z"
          },
          "payload": {
            "schema": "CreditTransfer",
            "messageIdentifiers": {
              "messageIdentification": "8fd51c7124ba4819b9253e296a68e1da",
              "creationDateTime": "2022-05-04T03:02:01Z"
            },
            "paymentScheme": {
              "schema": "ZA_RTC",
              "schemeData": {
                "userReference": "Ab1 xxxxxxxxxxxxxxxx",
                "originatorEchoData": "Ab1 xxxxxxxxxxxxxxxx",
                "businessReference": "11Ab1xxxxx"
              }
            },
            "transactionIdentifiers": {
              "endToEndIdentification": "6249118655591098",
              "transactionIdentification": "RRN000000001",
              "uetr": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa"
            },
            "amounts": {
              "bankSettlementAmount": {
                "value": 1,
                "currency": "ZAR"
              },
              "instructedAmount": {
                "value": 1,
                "currency": "ZAR"
              }
            },
            "paymentTypeInformation": {
              "localInstrument": {
                "schema": "CODE",
                "value": "BTR"
              }
            },
            "creditor": {
              "address": {
                "addressType": "ADDR",
                "department": "Department of Mysteries",
                "streetName": "Street of Mysteries",
                "buildingNumber": 42,
                "buildingName": "Mysterious Building",
                "floor": 42,
                "postBox": 1024,
                "postCode": 4242,
                "townName": "Mysty Town",
                "townLocationName": "Mysty Location",
                "districtName": "Mysty District",
                "countrySubDivision": "Mysterious Cape",
                "country": "ZA",
                "addressLine": [
                  "16A",
                  "New market street",
                  "Foreshore",
                  "Cape Town",
                  "ZA",
                  8001
                ]
              },
              "contactDetails": {
                "phoneNumber": "+27-0214620000",
                "mobileNumber": "+27-08230000000",
                "emailAddress": "alice@blue.com"
              },
              "countryOfResidence": "ZA",
              "identification": {
                "schema": "PERSON",
                "identifiers": [
                  {
                    "identification": 90001236549870,
                    "issuer": "Dept of Home Affairs",
                    "scheme": {
                      "schema": "CODE",
                      "value": "NIDN"
                    }
                  }
                ]
              }
            },
            "creditorAccount": {
              "identification": {
                "schema": "GENERIC",
                "scheme": {
                  "schema": "PROPRIETARY",
                  "value": "AProprietaryCode123"
                },
                "issuer": "Blue Bank",
                "value": "abcdef987654"
              },
              "type": {
                "schema": "CODE",
                "value": "CACC"
              },
              "currency": "ZAR"
            },
            "creditorAgent": {
              "bicfi": "BLUEZAJ0",
              "memberId": "BlueBankId",
              "name": "Blue Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "debtor": {
              "address": {
                "addressType": "ADDR",
                "department": "Department of Mysteries",
                "streetName": "Street of Mysteries",
                "buildingNumber": 42,
                "buildingName": "Mysterious Building",
                "floor": 42,
                "postBox": 1024,
                "postCode": 4242,
                "townName": "Mysty Town",
                "townLocationName": "Mysty Location",
                "districtName": "Mysty District",
                "countrySubDivision": "Mysterious Cape",
                "country": "ZA",
                "addressLine": [
                  "16A",
                  "New market street",
                  "Foreshore",
                  "Cape Town",
                  "ZA",
                  8001
                ]
              },
              "contactDetails": {
                "phoneNumber": "+27-0214620000",
                "mobileNumber": "+27-08230000000",
                "emailAddress": "bob@grey.com"
              },
              "countryOfResidence": "ZA",
              "identification": {
                "schema": "PERSON",
                "identifiers": [
                  {
                    "identification": 90001236549870,
                    "issuer": "Dept of Home Affairs",
                    "scheme": {
                      "schema": "CODE",
                      "value": "NIDN"
                    }
                  }
                ]
              }
            },
            "debtorAccount": {
              "identification": {
                "schema": "GENERIC",
                "scheme": {
                  "schema": "PROPRIETARY",
                  "value": "AProprietaryCode123"
                },
                "issuer": "Grey Bank",
                "value": "abcdef987654"
              },
              "type": {
                "schema": "CODE",
                "value": "CACC"
              },
              "currency": "ZAR"
            },
            "debtorAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "instructingAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "instructedAgent": {
              "bicfi": "GREYZAJ0",
              "memberId": "GreyBankId",
              "name": "Grey Bank Inc",
              "branch": {
                "identification": 210514,
                "name": "ABC Plettenberg Bay",
                "address": {
                  "addressType": "ADDR",
                  "department": "Department of Mysteries",
                  "streetName": "Street of Mysteries",
                  "buildingNumber": 42,
                  "buildingName": "Mysterious Building",
                  "floor": 42,
                  "postBox": 1024,
                  "postCode": 4242,
                  "townName": "Mysty Town",
                  "townLocationName": "Mysty Location",
                  "districtName": "Mysty District",
                  "countrySubDivision": "Mysterious Cape",
                  "country": "ZA",
                  "addressLine": [
                    "16A",
                    "New market street",
                    "Foreshore",
                    "Cape Town",
                    "ZA",
                    8001
                  ]
                }
              }
            },
            "instructionForCreditorAgent": [
              {
                "code": "TELB",
                "information": "Please email example@example.com"
              }
            ],
            "intermediaryAgents": [
              {
                "bicfi": "GREYZAJ0",
                "memberId": "GreyBankId",
                "name": "Grey Bank Inc",
                "branch": {
                  "identification": 210514,
                  "name": "ABC Plettenberg Bay",
                  "address": {
                    "addressType": "ADDR",
                    "department": "Department of Mysteries",
                    "streetName": "Street of Mysteries",
                    "buildingNumber": 42,
                    "buildingName": "Mysterious Building",
                    "floor": 42,
                    "postBox": 1024,
                    "postCode": 4242,
                    "townName": "Mysty Town",
                    "townLocationName": "Mysty Location",
                    "districtName": "Mysty District",
                    "countrySubDivision": "Mysterious Cape",
                    "country": "ZA",
                    "addressLine": [
                      "16A",
                      "New market street",
                      "Foreshore",
                      "Cape Town",
                      "ZA",
                      8001
                    ]
                  }
                }
              }
            ],
            "previousInstructingAgents": [
              {
                "bicfi": "GREYZAJ0",
                "memberId": "GreyBankId",
                "name": "Grey Bank Inc",
                "branch": {
                  "identification": 210514,
                  "name": "ABC Plettenberg Bay",
                  "address": {
                    "addressType": "ADDR",
                    "department": "Department of Mysteries",
                    "streetName": "Street of Mysteries",
                    "buildingNumber": 42,
                    "buildingName": "Mysterious Building",
                    "floor": 42,
                    "postBox": 1024,
                    "postCode": 4242,
                    "townName": "Mysty Town",
                    "townLocationName": "Mysty Location",
                    "districtName": "Mysty District",
                    "countrySubDivision": "Mysterious Cape",
                    "country": "ZA",
                    "addressLine": [
                      "16A",
                      "New market street",
                      "Foreshore",
                      "Cape Town",
                      "ZA",
                      8001
                    ]
                  }
                }
              }
            ],
            "purpose": {
              "schema": "CODE",
              "value": "BKDF"
            },
            "remittanceInformation": {
              "unstructured": [
                "some",
                "unstructured",
                "information"
              ],
              "structured": [
                {
                  "referredDocuments": [
                    {
                      "type": {
                        "issuer": "GreyBank123456",
                        "schema": "CODE",
                        "value": "CINV"
                      },
                      "documentIdentifier": "A0123456789"
                    }
                  ],
                  "referredDocumentAmount": {
                    "duePayableAmount": {
                      "value": 1,
                      "currency": "ZAR"
                    },
                    "remittedAmount": {
                      "value": 1,
                      "currency": "ZAR"
                    }
                  },
                  "creditorReference": {
                    "type": {
                      "issuer": "GreyBank1234",
                      "schema": "CODE",
                      "value": "RADM"
                    },
                    "reference": "ABC123XYZ999"
                  },
                  "additionalRemittanceInformation": [
                    "Some",
                    "Additional",
                    "Information"
                  ]
                }
              ]
            },
            "tax": {
              "totalAmount": {
                "value": 1,
                "currency": "ZAR"
              }
            }
          }
        }
      },
      "BulkIndividualTransactionStateEventExample": {
        "summary": "Bulk Individual Transaction Event in state Completed",
        "description": "An individual transaction contained in a Bulk RTP has been submitted for processing and has been processed to completion",
        "value": {
          "apiVersion": "17.3.0",
          "class": "BULK_INDIVIDUAL_TRANSACTION_STATE",
          "bulkInformationId": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa",
          "creationDateTime": "2025-08-08T03:02:01Z",
          "transactionInfo": {
            "transactionId": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa",
            "transactionState": "COMPLETED",
            "transactionStateUpdated": "2025-08-08T03:01:55Z",
            "rawTransaction": "{\"paymentScheme\":{\"schema\":\"ZA_RPP\"},\"paymentTypeInformation\":{\"localInstrument\":{\"schema\":\"PROPRIETARY\",\"value\":\"PBPX\"}},\"amounts\":{\"bankSettlementAmount\":{\"value\":100,\"currency\":\"ZAR\"}},\"expiryDateTime\":\"2024-04-09T09:32:51.395+02:00\",\"instructingAgent\":{\"bicfi\":\"RY8PEG0L\",\"memberId\":\"AmazingBankId\",\"name\":\"Amazing Bank Inc\"},\"instructedAgent\":{\"bicfi\":\"RY8PEG0L\",\"memberId\":\"AmazingBankId\",\"name\":\"Amazing Bank Inc\"},\"requestToPayConditions\":{\"minAmount\":{\"value\":100,\"currency\":\"ZAR\"},\"maxAmount\":{\"value\":100,\"currency\":\"ZAR\"}},\"schema\":\"RequestToPay\",\"messageIdentifiers\":{\"messageIdentification\":\"8fd51c7124ba4819b9253e296a68e1da\",\"creationDateTime\":\"2022-05-04T03:02:01Z\"},\"transactionIdentifiers\":{\"endToEndIdentification\":\"6249118655591098\",\"transactionIdentification\":\"RRN000000001\",\"uetr\":\"f27a34ad-c5ab-4b70-a3f9-946d743eaeaa\"}}",
            "transactionStatusRsp": "{\"status\": \"PRESENTED\"}"
          }
        }
      },
      "BulkInstructionStateEventExample": {
        "summary": "Bulk Instruction Event in state Completed",
        "description": "An Instruction used to initiate a Bulk RPP has been processed to completion",
        "value": {
          "apiVersion": "17.3.0",
          "class": "BULK_INSTRUCTION_STATE",
          "creationDateTime": "2022-05-04T03:02:01Z",
          "switchInstanceId": 1,
          "bulkInfo": {
            "bulkInformationId": "f27a34ad-c5ab-4b70-a3f9-946d743eaeaa",
            "bulkScheme": "DISBURSEMENT",
            "bulkFormat": "HTTP",
            "bulkState": "COMPLETED"
          },
          "instructionInfo": {
            "instructionType": "DE_RE_BULK",
            "lifecycleState": "COMPLETED",
            "lifecycleStateUpdated": "2025-08-08T03:01:55Z",
            "instructionReq": "{\"instructionIdentifiers\":{\"messageIdentification\":\"8fd51c7124ba4819b9253e296a68e1da\",\"creationDateTime\":\"2000-11-29T03:02:01Z\"},\"bulkInformationId\":\"00000000-0000-0000-0000-000000000000\",\"numberOfTransactions\":50,\"initiatingParty\":{\"knownAsName\":\"ABJZNM\"},\"instructionType\":\"START\",\"bulkScheme\":{\"schema\":\"DISBURSEMENT\"}}",
            "instructionRsp": "{\"instructionIdentifiers\":{\"messageIdentification\":\"8fd51c7124ba4819b9253e296a68e1da\",\"creationDateTime\":\"2000-11-29T03:02:01Z\"},\"instructionResponseIdentifiers\":{\"messageIdentification\":\"8fd51c7124ba4819b9253e296a68e1da\",\"creationDateTime\":\"2000-11-29T03:02:01Z\"},\"bulkInformationId\":\"00000000-0000-0000-0000-000000000000\",\"numberOfTransactions\":50,\"initiatingParty\":{\"knownAsName\":\"ABJZNM\"},\"instructionType\":\"START\",\"instructionStatus\":{\"outcome\":\"PASSED\"},\"bulkScheme\":{\"schema\":\"DISBURSEMENT\"}}"
          }
        }
      }
    }
  }
}