From 8b11c8ee9e4d1f7b73c6f2912b435261a8d5f185 Mon Sep 17 00:00:00 2001 From: shreyav Date: Mon, 18 May 2026 13:27:52 -0700 Subject: [PATCH] add a swift external account type --- mintlify/openapi.yaml | 1450 +++++++++-------- openapi.yaml | 1450 +++++++++-------- .../schemas/common/SwiftAccountInfo.yaml | 12 + .../schemas/common/SwiftAccountInfoBase.yaml | 54 + .../schemas/common/SwiftBeneficiary.yaml | 30 + .../ExternalAccountCreateInfoOneOf.yaml | 54 +- .../ExternalAccountInfoOneOf.yaml | 68 +- .../ExternalAccountType.yaml | 41 +- .../SwiftExternalAccountCreateInfo.yaml | 19 + .../SwiftExternalAccountInfo.yaml | 19 + 10 files changed, 1808 insertions(+), 1389 deletions(-) create mode 100644 openapi/components/schemas/common/SwiftAccountInfo.yaml create mode 100644 openapi/components/schemas/common/SwiftAccountInfoBase.yaml create mode 100644 openapi/components/schemas/common/SwiftBeneficiary.yaml create mode 100644 openapi/components/schemas/external_accounts/SwiftExternalAccountCreateInfo.yaml create mode 100644 openapi/components/schemas/external_accounts/SwiftExternalAccountInfo.yaml diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index 17f3215e..8cfd7437 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -10911,31 +10911,33 @@ components: ExternalAccountType: type: string enum: - - GBP_ACCOUNT - - PHP_ACCOUNT - - SGD_ACCOUNT - - SPARK_WALLET - - LIGHTNING - - SOLANA_WALLET - - TRON_WALLET - - POLYGON_WALLET - - BASE_WALLET - - ETHEREUM_WALLET - AED_ACCOUNT + - BDT_ACCOUNT - BRL_ACCOUNT - BWP_ACCOUNT - CAD_ACCOUNT + - COP_ACCOUNT - DKK_ACCOUNT + - EGP_ACCOUNT - EUR_ACCOUNT + - GBP_ACCOUNT + - GHS_ACCOUNT + - GTQ_ACCOUNT - HKD_ACCOUNT + - HTG_ACCOUNT - IDR_ACCOUNT - INR_ACCOUNT + - JMD_ACCOUNT - KES_ACCOUNT - MWK_ACCOUNT - MXN_ACCOUNT - MYR_ACCOUNT - NGN_ACCOUNT + - PHP_ACCOUNT + - PKR_ACCOUNT - RWF_ACCOUNT + - SGD_ACCOUNT + - SLV_ACCOUNT - THB_ACCOUNT - TZS_ACCOUNT - UGX_ACCOUNT @@ -10945,17 +10947,16 @@ components: - XOF_ACCOUNT - ZAR_ACCOUNT - ZMW_ACCOUNT - - BDT_ACCOUNT - - COP_ACCOUNT - - EGP_ACCOUNT - - GHS_ACCOUNT - - GTQ_ACCOUNT - - HTG_ACCOUNT - - JMD_ACCOUNT - - PKR_ACCOUNT - - SLV_ACCOUNT + - SWIFT_ACCOUNT + - BASE_WALLET + - ETHEREUM_WALLET + - LIGHTNING + - POLYGON_WALLET + - SOLANA_WALLET + - SPARK_WALLET + - TRON_WALLET description: Type of external account or wallet - example: GBP_ACCOUNT + example: AED_ACCOUNT BaseExternalAccountInfo: type: object required: @@ -10963,6 +10964,140 @@ components: properties: accountType: $ref: '#/components/schemas/ExternalAccountType' + AedBeneficiary: + title: Individual Beneficiary + type: object + required: + - beneficiaryType + - address + - fullName + properties: + beneficiaryType: + type: string + enum: + - INDIVIDUAL + fullName: + type: string + description: The full name of the beneficiary + birthDate: + type: string + description: The birth date of the beneficiary + nationality: + type: string + description: The nationality of the beneficiary + email: + type: string + description: The email of the beneficiary + phoneNumber: + type: string + description: The phone number of the beneficiary + countryOfResidence: + type: string + description: The country of residence of the beneficiary + address: + $ref: '#/components/schemas/Address' + BusinessBeneficiary: + title: Business Beneficiary + type: object + required: + - beneficiaryType + - legalName + properties: + beneficiaryType: + type: string + enum: + - BUSINESS + legalName: + type: string + description: The legal name of the business + registrationNumber: + type: string + description: The registration number of the business + taxId: + type: string + description: The tax identification number of the business + email: + type: string + description: The email of the beneficiary + phoneNumber: + type: string + description: The phone number of the beneficiary + countryOfResidence: + type: string + description: The country of residence of the beneficiary + address: + $ref: '#/components/schemas/Address' + AedExternalAccountInfo: + title: AED Account + allOf: + - $ref: '#/components/schemas/BaseExternalAccountInfo' + - $ref: '#/components/schemas/AedAccountInfo' + - type: object + required: + - beneficiary + properties: + beneficiary: + oneOf: + - title: Individual Beneficiary + $ref: '#/components/schemas/AedBeneficiary' + - title: Business Beneficiary + $ref: '#/components/schemas/BusinessBeneficiary' + discriminator: + propertyName: beneficiaryType + mapping: + INDIVIDUAL: '#/components/schemas/AedBeneficiary' + BUSINESS: '#/components/schemas/BusinessBeneficiary' + BdtBeneficiary: + title: Individual Beneficiary + type: object + required: + - beneficiaryType + - fullName + properties: + beneficiaryType: + type: string + enum: + - INDIVIDUAL + fullName: + type: string + description: The full name of the beneficiary + birthDate: + type: string + description: The birth date of the beneficiary + nationality: + type: string + description: The nationality of the beneficiary + email: + type: string + description: The email of the beneficiary + phoneNumber: + type: string + description: The phone number of the beneficiary + countryOfResidence: + type: string + description: The country of residence of the beneficiary + address: + $ref: '#/components/schemas/Address' + BdtExternalAccountInfo: + title: BDT Account + allOf: + - $ref: '#/components/schemas/BaseExternalAccountInfo' + - $ref: '#/components/schemas/BdtAccountInfo' + - type: object + required: + - beneficiary + properties: + beneficiary: + oneOf: + - title: Individual Beneficiary + $ref: '#/components/schemas/BdtBeneficiary' + - title: Business Beneficiary + $ref: '#/components/schemas/BusinessBeneficiary' + discriminator: + propertyName: beneficiaryType + mapping: + INDIVIDUAL: '#/components/schemas/BdtBeneficiary' + BUSINESS: '#/components/schemas/BusinessBeneficiary' BrlAccountInfoBase: type: object required: @@ -11044,37 +11179,6 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - BusinessBeneficiary: - title: Business Beneficiary - type: object - required: - - beneficiaryType - - legalName - properties: - beneficiaryType: - type: string - enum: - - BUSINESS - legalName: - type: string - description: The legal name of the business - registrationNumber: - type: string - description: The registration number of the business - taxId: - type: string - description: The tax identification number of the business - email: - type: string - description: The email of the beneficiary - phoneNumber: - type: string - description: The phone number of the beneficiary - countryOfResidence: - type: string - description: The country of residence of the beneficiary - address: - $ref: '#/components/schemas/Address' BrlExternalAccountInfo: title: BRL Account allOf: @@ -11095,7 +11199,7 @@ components: mapping: INDIVIDUAL: '#/components/schemas/BrlBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - CadBeneficiary: + BwpBeneficiary: title: Individual Beneficiary type: object required: @@ -11121,19 +11225,16 @@ components: phoneNumber: type: string description: The phone number of the beneficiary - registrationNumber: - type: string - description: The registration number of the beneficiary countryOfResidence: type: string description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - CadExternalAccountInfo: - title: CAD Account + BwpExternalAccountInfo: + title: BWP Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/CadAccountInfo' + - $ref: '#/components/schemas/BwpAccountInfo' - type: object required: - beneficiary @@ -11141,15 +11242,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/CadBeneficiary' + $ref: '#/components/schemas/BwpBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/CadBeneficiary' + INDIVIDUAL: '#/components/schemas/BwpBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - DkkBeneficiary: + CadBeneficiary: title: Individual Beneficiary type: object required: @@ -11175,16 +11276,19 @@ components: phoneNumber: type: string description: The phone number of the beneficiary + registrationNumber: + type: string + description: The registration number of the beneficiary countryOfResidence: type: string description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - DkkExternalAccountInfo: - title: DKK Account + CadExternalAccountInfo: + title: CAD Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/DkkAccountInfo' + - $ref: '#/components/schemas/CadAccountInfo' - type: object required: - beneficiary @@ -11192,20 +11296,74 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/DkkBeneficiary' + $ref: '#/components/schemas/CadBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/DkkBeneficiary' + INDIVIDUAL: '#/components/schemas/CadBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - EurBeneficiary: + CopAccountInfoBase: + type: object + required: + - accountType + description: |- + Required fields depend on the selected paymentRails: + - BANK_TRANSFER: bankName, accountNumber, bankAccountType + - MOBILE_MONEY: phoneNumber + properties: + accountType: + type: string + enum: + - COP_ACCOUNT + bankName: + type: string + description: The name of the bank (BANK_TRANSFER only) + minLength: 1 + maxLength: 255 + accountNumber: + type: string + description: The account number of the bank (BANK_TRANSFER only) + minLength: 1 + maxLength: 34 + bankAccountType: + type: string + description: The bank account type (BANK_TRANSFER only) + enum: + - CHECKING + - SAVINGS + phoneNumber: + type: string + description: The phone number in international format (MOBILE_MONEY only — Nequi, Daviplata) + example: '+1234567890' + minLength: 7 + maxLength: 15 + pattern: ^\+[0-9]{6,14}$ + example: + accountType: COP_ACCOUNT + bankName: Bancolombia + accountNumber: '1234567890' + bankAccountType: CHECKING + CopAccountInfo: + allOf: + - $ref: '#/components/schemas/CopAccountInfoBase' + - type: object + required: + - paymentRails + properties: + paymentRails: + type: array + items: + type: string + enum: + - BANK_TRANSFER + - MOBILE_MONEY + CopBeneficiary: title: Individual Beneficiary type: object required: - beneficiaryType - - address - fullName properties: beneficiaryType: @@ -11232,11 +11390,25 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - EurExternalAccountInfo: - title: EUR Account + documentType: + type: string + description: 'Identity document type — required by most Colombian banks. CC: Cédula de Ciudadanía, CE: Cédula de Extranjería, TI: Tarjeta de Identidad, NIT: Número de Identificación Tributaria, PP: Passport' + enum: + - CC + - CE + - TI + - NIT + - PP + documentNumber: + type: string + description: Identity document number — required by most Colombian banks + minLength: 1 + maxLength: 50 + CopExternalAccountInfo: + title: COP Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/EurAccountInfo' + - $ref: '#/components/schemas/CopAccountInfo' - type: object required: - beneficiary @@ -11244,15 +11416,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/EurBeneficiary' + $ref: '#/components/schemas/CopBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/EurBeneficiary' + INDIVIDUAL: '#/components/schemas/CopBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - GbpBeneficiary: + DkkBeneficiary: title: Individual Beneficiary type: object required: @@ -11283,11 +11455,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - GbpExternalAccountInfo: - title: GBP Account + DkkExternalAccountInfo: + title: DKK Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/GbpAccountInfo' + - $ref: '#/components/schemas/DkkAccountInfo' - type: object required: - beneficiary @@ -11295,20 +11467,23 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/GbpBeneficiary' + $ref: '#/components/schemas/DkkBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/GbpBeneficiary' + INDIVIDUAL: '#/components/schemas/DkkBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - HkdBeneficiary: + EgpBeneficiary: title: Individual Beneficiary type: object required: - beneficiaryType + - address + - countryOfResidence - fullName + - phoneNumber properties: beneficiaryType: type: string @@ -11334,11 +11509,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - HkdExternalAccountInfo: - title: HKD Account + EgpExternalAccountInfo: + title: EGP Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/HkdAccountInfo' + - $ref: '#/components/schemas/EgpAccountInfo' - type: object required: - beneficiary @@ -11346,19 +11521,20 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/HkdBeneficiary' + $ref: '#/components/schemas/EgpBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/HkdBeneficiary' + INDIVIDUAL: '#/components/schemas/EgpBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - IdrBeneficiary: + EurBeneficiary: title: Individual Beneficiary type: object required: - beneficiaryType + - address - fullName properties: beneficiaryType: @@ -11385,11 +11561,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - IdrExternalAccountInfo: - title: IDR Account + EurExternalAccountInfo: + title: EUR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/IdrAccountInfo' + - $ref: '#/components/schemas/EurAccountInfo' - type: object required: - beneficiary @@ -11397,15 +11573,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/IdrBeneficiary' + $ref: '#/components/schemas/EurBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/IdrBeneficiary' + INDIVIDUAL: '#/components/schemas/EurBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - InrBeneficiary: + GbpBeneficiary: title: Individual Beneficiary type: object required: @@ -11436,11 +11612,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - InrExternalAccountInfo: - title: INR Account + GbpExternalAccountInfo: + title: GBP Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/InrAccountInfo' + - $ref: '#/components/schemas/GbpAccountInfo' - type: object required: - beneficiary @@ -11448,15 +11624,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/InrBeneficiary' + $ref: '#/components/schemas/GbpBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/InrBeneficiary' + INDIVIDUAL: '#/components/schemas/GbpBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - KesBeneficiary: + GhsBeneficiary: title: Individual Beneficiary type: object required: @@ -11487,11 +11663,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - KesExternalAccountInfo: - title: KES Account + GhsExternalAccountInfo: + title: GHS Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/KesAccountInfo' + - $ref: '#/components/schemas/GhsAccountInfo' - type: object required: - beneficiary @@ -11499,20 +11675,22 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/KesBeneficiary' + $ref: '#/components/schemas/GhsBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/KesBeneficiary' + INDIVIDUAL: '#/components/schemas/GhsBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - MwkBeneficiary: + GtqBeneficiary: title: Individual Beneficiary type: object required: - beneficiaryType + - countryOfResidence - fullName + - phoneNumber properties: beneficiaryType: type: string @@ -11538,11 +11716,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - MwkExternalAccountInfo: - title: MWK Account + GtqExternalAccountInfo: + title: GTQ Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/MwkAccountInfo' + - $ref: '#/components/schemas/GtqAccountInfo' - type: object required: - beneficiary @@ -11550,15 +11728,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/MwkBeneficiary' + $ref: '#/components/schemas/GtqBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/MwkBeneficiary' + INDIVIDUAL: '#/components/schemas/GtqBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - MxnBeneficiary: + HkdBeneficiary: title: Individual Beneficiary type: object required: @@ -11589,11 +11767,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - MxnExternalAccountInfo: - title: MXN Account + HkdExternalAccountInfo: + title: HKD Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/MxnAccountInfo' + - $ref: '#/components/schemas/HkdAccountInfo' - type: object required: - beneficiary @@ -11601,15 +11779,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/MxnBeneficiary' + $ref: '#/components/schemas/HkdBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/MxnBeneficiary' + INDIVIDUAL: '#/components/schemas/HkdBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - MyrBeneficiary: + HtgBeneficiary: title: Individual Beneficiary type: object required: @@ -11640,11 +11818,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - MyrExternalAccountInfo: - title: MYR Account + HtgExternalAccountInfo: + title: HTG Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/MyrAccountInfo' + - $ref: '#/components/schemas/HtgAccountInfo' - type: object required: - beneficiary @@ -11652,15 +11830,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/MyrBeneficiary' + $ref: '#/components/schemas/HtgBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/MyrBeneficiary' + INDIVIDUAL: '#/components/schemas/HtgBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - NgnBeneficiary: + IdrBeneficiary: title: Individual Beneficiary type: object required: @@ -11691,11 +11869,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - NgnExternalAccountInfo: - title: NGN Account + IdrExternalAccountInfo: + title: IDR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/NgnAccountInfo' + - $ref: '#/components/schemas/IdrAccountInfo' - type: object required: - beneficiary @@ -11703,15 +11881,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/NgnBeneficiary' + $ref: '#/components/schemas/IdrBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/NgnBeneficiary' + INDIVIDUAL: '#/components/schemas/IdrBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - PhpBeneficiary: + InrBeneficiary: title: Individual Beneficiary type: object required: @@ -11742,11 +11920,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - PhpExternalAccountInfo: - title: PHP Account + InrExternalAccountInfo: + title: INR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/PhpAccountInfo' + - $ref: '#/components/schemas/InrAccountInfo' - type: object required: - beneficiary @@ -11754,20 +11932,22 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/PhpBeneficiary' + $ref: '#/components/schemas/InrBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/PhpBeneficiary' + INDIVIDUAL: '#/components/schemas/InrBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - RwfBeneficiary: + JmdBeneficiary: title: Individual Beneficiary type: object required: - beneficiaryType + - address - fullName + - phoneNumber properties: beneficiaryType: type: string @@ -11793,11 +11973,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - RwfExternalAccountInfo: - title: RWF Account + JmdExternalAccountInfo: + title: JMD Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/RwfAccountInfo' + - $ref: '#/components/schemas/JmdAccountInfo' - type: object required: - beneficiary @@ -11805,15 +11985,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/RwfBeneficiary' + $ref: '#/components/schemas/JmdBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/RwfBeneficiary' + INDIVIDUAL: '#/components/schemas/JmdBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - SgdBeneficiary: + KesBeneficiary: title: Individual Beneficiary type: object required: @@ -11844,11 +12024,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - SgdExternalAccountInfo: - title: SGD Account + KesExternalAccountInfo: + title: KES Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/SgdAccountInfo' + - $ref: '#/components/schemas/KesAccountInfo' - type: object required: - beneficiary @@ -11856,15 +12036,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/SgdBeneficiary' + $ref: '#/components/schemas/KesBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/SgdBeneficiary' + INDIVIDUAL: '#/components/schemas/KesBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - ThbBeneficiary: + MwkBeneficiary: title: Individual Beneficiary type: object required: @@ -11895,11 +12075,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - ThbExternalAccountInfo: - title: THB Account + MwkExternalAccountInfo: + title: MWK Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/ThbAccountInfo' + - $ref: '#/components/schemas/MwkAccountInfo' - type: object required: - beneficiary @@ -11907,15 +12087,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/ThbBeneficiary' + $ref: '#/components/schemas/MwkBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/ThbBeneficiary' + INDIVIDUAL: '#/components/schemas/MwkBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - TzsBeneficiary: + MxnBeneficiary: title: Individual Beneficiary type: object required: @@ -11946,11 +12126,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - TzsExternalAccountInfo: - title: TZS Account + MxnExternalAccountInfo: + title: MXN Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/TzsAccountInfo' + - $ref: '#/components/schemas/MxnAccountInfo' - type: object required: - beneficiary @@ -11958,15 +12138,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/TzsBeneficiary' + $ref: '#/components/schemas/MxnBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/TzsBeneficiary' + INDIVIDUAL: '#/components/schemas/MxnBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - UgxBeneficiary: + MyrBeneficiary: title: Individual Beneficiary type: object required: @@ -11997,11 +12177,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - UgxExternalAccountInfo: - title: UGX Account + MyrExternalAccountInfo: + title: MYR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/UgxAccountInfo' + - $ref: '#/components/schemas/MyrAccountInfo' - type: object required: - beneficiary @@ -12009,15 +12189,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/UgxBeneficiary' + $ref: '#/components/schemas/MyrBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/UgxBeneficiary' + INDIVIDUAL: '#/components/schemas/MyrBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - UsdBeneficiary: + NgnBeneficiary: title: Individual Beneficiary type: object required: @@ -12048,11 +12228,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - UsdExternalAccountInfo: - title: USD Account + NgnExternalAccountInfo: + title: NGN Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/UsdAccountInfo' + - $ref: '#/components/schemas/NgnAccountInfo' - type: object required: - beneficiary @@ -12060,15 +12240,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/UsdBeneficiary' + $ref: '#/components/schemas/NgnBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/UsdBeneficiary' + INDIVIDUAL: '#/components/schemas/NgnBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - VndBeneficiary: + PhpBeneficiary: title: Individual Beneficiary type: object required: @@ -12099,11 +12279,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - VndExternalAccountInfo: - title: VND Account + PhpExternalAccountInfo: + title: PHP Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/VndAccountInfo' + - $ref: '#/components/schemas/PhpAccountInfo' - type: object required: - beneficiary @@ -12111,15 +12291,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/VndBeneficiary' + $ref: '#/components/schemas/PhpBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/VndBeneficiary' + INDIVIDUAL: '#/components/schemas/PhpBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - XofBeneficiary: + PkrBeneficiary: title: Individual Beneficiary type: object required: @@ -12150,11 +12330,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - XofExternalAccountInfo: - title: XOF Account + PkrExternalAccountInfo: + title: PKR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/XofAccountInfo' + - $ref: '#/components/schemas/PkrAccountInfo' - type: object required: - beneficiary @@ -12162,15 +12342,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/XofBeneficiary' + $ref: '#/components/schemas/PkrBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/XofBeneficiary' + INDIVIDUAL: '#/components/schemas/PkrBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - ZarBeneficiary: + RwfBeneficiary: title: Individual Beneficiary type: object required: @@ -12201,11 +12381,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - ZarExternalAccountInfo: - title: ZAR Account + RwfExternalAccountInfo: + title: RWF Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/ZarAccountInfo' + - $ref: '#/components/schemas/RwfAccountInfo' - type: object required: - beneficiary @@ -12213,15 +12393,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/ZarBeneficiary' + $ref: '#/components/schemas/RwfBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/ZarBeneficiary' + INDIVIDUAL: '#/components/schemas/RwfBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - ZmwBeneficiary: + SgdBeneficiary: title: Individual Beneficiary type: object required: @@ -12252,11 +12432,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - ZmwExternalAccountInfo: - title: ZMW Account + SgdExternalAccountInfo: + title: SGD Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/ZmwAccountInfo' + - $ref: '#/components/schemas/SgdAccountInfo' - type: object required: - beneficiary @@ -12264,78 +12444,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/ZmwBeneficiary' + $ref: '#/components/schemas/SgdBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/ZmwBeneficiary' + INDIVIDUAL: '#/components/schemas/SgdBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - SparkWalletExternalAccountInfo: - title: Spark Wallet - allOf: - - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/SparkWalletInfo' - LightningInfo: - type: object - description: | - Lightning payment destination. Exactly one of `invoice`, `bolt12`, or `lightningAddress` must be provided. - required: - - accountType - properties: - accountType: - type: string - enum: - - LIGHTNING - invoice: - type: string - description: 1-time use lightning bolt11 invoice payout destination - example: lnbc15u1p3xnhl2pp5jptserfk3zk4qy42tlucycrfwxhydvlemu9pqr93tuzlv9cc7g3sdqsvfhkcap3xyhx7un8cqzpgxqzjcsp5f8c52y2stc300gl6s4xswtjpc37hrnnr3c9wvtgjfuvqmpm35evq9qyyssqy4lgd8tj637qcjp05rdpxxykjenthxftej7a2zzmwrmrl70fyj9hvj0rewhzj7jfyuwkwcg9g2jpwtk3wkjtwnkdks84hsnu8xps5vsq4gj5hs - bolt12: - type: string - description: A bolt12 offer which can be reused as a payment destination - example: lnbc15u1p3xnhl2pp5jptserfk3zk4qy42tlucycrfwxhydvlemu9pqr93tuzlv9cc7g3sdqsvfhkcap3xyhx7un8cqzpgxqzjcsp5f8c52y2stc300gl6s4xswtjpc37hrnnr3c9wvtgjfuvqmpm35evq9qyyssqy4lgd8tj637qcjp05rdpxxykjenthxftej7a2zzmwrmrl70fyj9hvj0rewhzj7jfyuwkwcg9g2jpwtk3wkjtwnkdks84hsnu8xps5vsq4gj5hs - lightningAddress: - type: string - description: A lightning address which can be used as a payment destination. Note that for UMA addresses, no external account is needed. You can use the UMA address directly as a destination. - example: john.doe@lightningwallet.com - LightningExternalAccountInfo: - title: Lightning - allOf: - - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/LightningInfo' - SolanaWalletExternalAccountInfo: - title: Solana Wallet - allOf: - - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/SolanaWalletInfo' - TronWalletExternalAccountInfo: - title: Tron Wallet - allOf: - - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/TronWalletInfo' - PolygonWalletExternalAccountInfo: - title: Polygon Wallet - allOf: - - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/PolygonWalletInfo' - BaseWalletExternalAccountInfo: - title: Base Wallet - allOf: - - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/BaseWalletInfo' - EthereumWalletExternalAccountInfo: - title: Ethereum L1 Wallet - allOf: - - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/EthereumWalletInfo' - AedBeneficiary: + SlvBeneficiary: title: Individual Beneficiary type: object required: - beneficiaryType - - address - fullName properties: beneficiaryType: @@ -12362,11 +12483,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - AedExternalAccountInfo: - title: AED Account + SlvExternalAccountInfo: + title: SLV Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/AedAccountInfo' + - $ref: '#/components/schemas/SlvAccountInfo' - type: object required: - beneficiary @@ -12374,15 +12495,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/AedBeneficiary' + $ref: '#/components/schemas/SlvBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/AedBeneficiary' + INDIVIDUAL: '#/components/schemas/SlvBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - BwpBeneficiary: + ThbBeneficiary: title: Individual Beneficiary type: object required: @@ -12413,11 +12534,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - BwpExternalAccountInfo: - title: BWP Account + ThbExternalAccountInfo: + title: THB Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/BwpAccountInfo' + - $ref: '#/components/schemas/ThbAccountInfo' - type: object required: - beneficiary @@ -12425,15 +12546,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/BwpBeneficiary' + $ref: '#/components/schemas/ThbBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/BwpBeneficiary' + INDIVIDUAL: '#/components/schemas/ThbBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - XafBeneficiary: + TzsBeneficiary: title: Individual Beneficiary type: object required: @@ -12464,11 +12585,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - XafExternalAccountInfo: - title: XAF Account + TzsExternalAccountInfo: + title: TZS Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/XafAccountInfo' + - $ref: '#/components/schemas/TzsAccountInfo' - type: object required: - beneficiary @@ -12476,15 +12597,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/XafBeneficiary' + $ref: '#/components/schemas/TzsBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/XafBeneficiary' + INDIVIDUAL: '#/components/schemas/TzsBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - BdtBeneficiary: + UgxBeneficiary: title: Individual Beneficiary type: object required: @@ -12515,11 +12636,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - BdtExternalAccountInfo: - title: BDT Account + UgxExternalAccountInfo: + title: UGX Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/BdtAccountInfo' + - $ref: '#/components/schemas/UgxAccountInfo' - type: object required: - beneficiary @@ -12527,70 +12648,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/BdtBeneficiary' + $ref: '#/components/schemas/UgxBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/BdtBeneficiary' + INDIVIDUAL: '#/components/schemas/UgxBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - CopAccountInfoBase: - type: object - required: - - accountType - description: |- - Required fields depend on the selected paymentRails: - - BANK_TRANSFER: bankName, accountNumber, bankAccountType - - MOBILE_MONEY: phoneNumber - properties: - accountType: - type: string - enum: - - COP_ACCOUNT - bankName: - type: string - description: The name of the bank (BANK_TRANSFER only) - minLength: 1 - maxLength: 255 - accountNumber: - type: string - description: The account number of the bank (BANK_TRANSFER only) - minLength: 1 - maxLength: 34 - bankAccountType: - type: string - description: The bank account type (BANK_TRANSFER only) - enum: - - CHECKING - - SAVINGS - phoneNumber: - type: string - description: The phone number in international format (MOBILE_MONEY only — Nequi, Daviplata) - example: '+1234567890' - minLength: 7 - maxLength: 15 - pattern: ^\+[0-9]{6,14}$ - example: - accountType: COP_ACCOUNT - bankName: Bancolombia - accountNumber: '1234567890' - bankAccountType: CHECKING - CopAccountInfo: - allOf: - - $ref: '#/components/schemas/CopAccountInfoBase' - - type: object - required: - - paymentRails - properties: - paymentRails: - type: array - items: - type: string - enum: - - BANK_TRANSFER - - MOBILE_MONEY - CopBeneficiary: + UsdBeneficiary: title: Individual Beneficiary type: object required: @@ -12621,25 +12687,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - documentType: - type: string - description: 'Identity document type — required by most Colombian banks. CC: Cédula de Ciudadanía, CE: Cédula de Extranjería, TI: Tarjeta de Identidad, NIT: Número de Identificación Tributaria, PP: Passport' - enum: - - CC - - CE - - TI - - NIT - - PP - documentNumber: - type: string - description: Identity document number — required by most Colombian banks - minLength: 1 - maxLength: 50 - CopExternalAccountInfo: - title: COP Account + UsdExternalAccountInfo: + title: USD Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/CopAccountInfo' + - $ref: '#/components/schemas/UsdAccountInfo' - type: object required: - beneficiary @@ -12647,23 +12699,20 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/CopBeneficiary' + $ref: '#/components/schemas/UsdBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/CopBeneficiary' + INDIVIDUAL: '#/components/schemas/UsdBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - EgpBeneficiary: + VndBeneficiary: title: Individual Beneficiary type: object required: - beneficiaryType - - address - - countryOfResidence - fullName - - phoneNumber properties: beneficiaryType: type: string @@ -12689,11 +12738,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - EgpExternalAccountInfo: - title: EGP Account + VndExternalAccountInfo: + title: VND Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/EgpAccountInfo' + - $ref: '#/components/schemas/VndAccountInfo' - type: object required: - beneficiary @@ -12701,15 +12750,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/EgpBeneficiary' + $ref: '#/components/schemas/VndBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/EgpBeneficiary' + INDIVIDUAL: '#/components/schemas/VndBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - GhsBeneficiary: + XafBeneficiary: title: Individual Beneficiary type: object required: @@ -12740,11 +12789,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - GhsExternalAccountInfo: - title: GHS Account + XafExternalAccountInfo: + title: XAF Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/GhsAccountInfo' + - $ref: '#/components/schemas/XafAccountInfo' - type: object required: - beneficiary @@ -12752,22 +12801,20 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/GhsBeneficiary' + $ref: '#/components/schemas/XafBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/GhsBeneficiary' + INDIVIDUAL: '#/components/schemas/XafBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - GtqBeneficiary: + XofBeneficiary: title: Individual Beneficiary type: object required: - beneficiaryType - - countryOfResidence - fullName - - phoneNumber properties: beneficiaryType: type: string @@ -12793,11 +12840,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - GtqExternalAccountInfo: - title: GTQ Account + XofExternalAccountInfo: + title: XOF Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/GtqAccountInfo' + - $ref: '#/components/schemas/XofAccountInfo' - type: object required: - beneficiary @@ -12805,15 +12852,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/GtqBeneficiary' + $ref: '#/components/schemas/XofBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/GtqBeneficiary' + INDIVIDUAL: '#/components/schemas/XofBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - HtgBeneficiary: + ZarBeneficiary: title: Individual Beneficiary type: object required: @@ -12844,11 +12891,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - HtgExternalAccountInfo: - title: HTG Account + ZarExternalAccountInfo: + title: ZAR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/HtgAccountInfo' + - $ref: '#/components/schemas/ZarAccountInfo' - type: object required: - beneficiary @@ -12856,22 +12903,20 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/HtgBeneficiary' + $ref: '#/components/schemas/ZarBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/HtgBeneficiary' + INDIVIDUAL: '#/components/schemas/ZarBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - JmdBeneficiary: + ZmwBeneficiary: title: Individual Beneficiary type: object required: - beneficiaryType - - address - fullName - - phoneNumber properties: beneficiaryType: type: string @@ -12897,11 +12942,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - JmdExternalAccountInfo: - title: JMD Account + ZmwExternalAccountInfo: + title: ZMW Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/JmdAccountInfo' + - $ref: '#/components/schemas/ZmwAccountInfo' - type: object required: - beneficiary @@ -12909,15 +12954,79 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/JmdBeneficiary' + $ref: '#/components/schemas/ZmwBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/JmdBeneficiary' + INDIVIDUAL: '#/components/schemas/ZmwBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - PkrBeneficiary: + SwiftAccountInfoBase: + type: object + required: + - accountType + - swiftCode + - bankName + - country + properties: + accountType: + type: string + enum: + - SWIFT_ACCOUNT + country: + type: string + description: The ISO 3166-1 alpha-2 country code of the bank account + example: NG + minLength: 2 + maxLength: 2 + pattern: ^[A-Z]{2}$ + swiftCode: + type: string + description: The SWIFT/BIC code of the bank + example: DEUTDEFF + minLength: 8 + maxLength: 11 + pattern: ^[A-Z]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?$ + bankName: + type: string + description: The name of the bank + example: Deutsche Bank + minLength: 1 + maxLength: 255 + accountNumber: + type: string + description: The bank account number. Required for most corridors. Use iban instead for IBAN-only corridors (e.g. BR, GB). + example: '1234567890' + minLength: 1 + maxLength: 34 + iban: + type: string + description: The IBAN of the bank account. Required for IBAN-only corridors (e.g. BR, GB). Use accountNumber for all other corridors. + example: GB29NWBK60161331926819 + minLength: 15 + maxLength: 34 + pattern: ^[A-Z]{2}[0-9]{2}[A-Za-z0-9]{11,30}$ + example: + accountType: SWIFT_ACCOUNT + country: NG + swiftCode: DEUTDEFF + bankName: Deutsche Bank + accountNumber: '1234567890' + SwiftAccountInfo: + allOf: + - $ref: '#/components/schemas/SwiftAccountInfoBase' + - type: object + required: + - paymentRails + properties: + paymentRails: + type: array + items: + type: string + enum: + - SWIFT + SwiftBeneficiary: title: Individual Beneficiary type: object required: @@ -12948,11 +13057,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - PkrExternalAccountInfo: - title: PKR Account + SwiftExternalAccountInfo: + title: SWIFT Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/PkrAccountInfo' + - $ref: '#/components/schemas/SwiftAccountInfo' - type: object required: - beneficiary @@ -12960,157 +13069,166 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/PkrBeneficiary' + $ref: '#/components/schemas/SwiftBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/PkrBeneficiary' + INDIVIDUAL: '#/components/schemas/SwiftBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - SlvBeneficiary: - title: Individual Beneficiary + BaseWalletExternalAccountInfo: + title: Base Wallet + allOf: + - $ref: '#/components/schemas/BaseExternalAccountInfo' + - $ref: '#/components/schemas/BaseWalletInfo' + EthereumWalletExternalAccountInfo: + title: Ethereum L1 Wallet + allOf: + - $ref: '#/components/schemas/BaseExternalAccountInfo' + - $ref: '#/components/schemas/EthereumWalletInfo' + LightningInfo: type: object + description: | + Lightning payment destination. Exactly one of `invoice`, `bolt12`, or `lightningAddress` must be provided. required: - - beneficiaryType - - fullName + - accountType properties: - beneficiaryType: + accountType: type: string enum: - - INDIVIDUAL - fullName: - type: string - description: The full name of the beneficiary - birthDate: - type: string - description: The birth date of the beneficiary - nationality: - type: string - description: The nationality of the beneficiary - email: + - LIGHTNING + invoice: type: string - description: The email of the beneficiary - phoneNumber: + description: 1-time use lightning bolt11 invoice payout destination + example: lnbc15u1p3xnhl2pp5jptserfk3zk4qy42tlucycrfwxhydvlemu9pqr93tuzlv9cc7g3sdqsvfhkcap3xyhx7un8cqzpgxqzjcsp5f8c52y2stc300gl6s4xswtjpc37hrnnr3c9wvtgjfuvqmpm35evq9qyyssqy4lgd8tj637qcjp05rdpxxykjenthxftej7a2zzmwrmrl70fyj9hvj0rewhzj7jfyuwkwcg9g2jpwtk3wkjtwnkdks84hsnu8xps5vsq4gj5hs + bolt12: type: string - description: The phone number of the beneficiary - countryOfResidence: + description: A bolt12 offer which can be reused as a payment destination + example: lnbc15u1p3xnhl2pp5jptserfk3zk4qy42tlucycrfwxhydvlemu9pqr93tuzlv9cc7g3sdqsvfhkcap3xyhx7un8cqzpgxqzjcsp5f8c52y2stc300gl6s4xswtjpc37hrnnr3c9wvtgjfuvqmpm35evq9qyyssqy4lgd8tj637qcjp05rdpxxykjenthxftej7a2zzmwrmrl70fyj9hvj0rewhzj7jfyuwkwcg9g2jpwtk3wkjtwnkdks84hsnu8xps5vsq4gj5hs + lightningAddress: type: string - description: The country of residence of the beneficiary - address: - $ref: '#/components/schemas/Address' - SlvExternalAccountInfo: - title: SLV Account + description: A lightning address which can be used as a payment destination. Note that for UMA addresses, no external account is needed. You can use the UMA address directly as a destination. + example: john.doe@lightningwallet.com + LightningExternalAccountInfo: + title: Lightning allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/SlvAccountInfo' - - type: object - required: - - beneficiary - properties: - beneficiary: - oneOf: - - title: Individual Beneficiary - $ref: '#/components/schemas/SlvBeneficiary' - - title: Business Beneficiary - $ref: '#/components/schemas/BusinessBeneficiary' - discriminator: - propertyName: beneficiaryType - mapping: - INDIVIDUAL: '#/components/schemas/SlvBeneficiary' - BUSINESS: '#/components/schemas/BusinessBeneficiary' + - $ref: '#/components/schemas/LightningInfo' + PolygonWalletExternalAccountInfo: + title: Polygon Wallet + allOf: + - $ref: '#/components/schemas/BaseExternalAccountInfo' + - $ref: '#/components/schemas/PolygonWalletInfo' + SolanaWalletExternalAccountInfo: + title: Solana Wallet + allOf: + - $ref: '#/components/schemas/BaseExternalAccountInfo' + - $ref: '#/components/schemas/SolanaWalletInfo' + SparkWalletExternalAccountInfo: + title: Spark Wallet + allOf: + - $ref: '#/components/schemas/BaseExternalAccountInfo' + - $ref: '#/components/schemas/SparkWalletInfo' + TronWalletExternalAccountInfo: + title: Tron Wallet + allOf: + - $ref: '#/components/schemas/BaseExternalAccountInfo' + - $ref: '#/components/schemas/TronWalletInfo' ExternalAccountInfoOneOf: oneOf: + - $ref: '#/components/schemas/AedExternalAccountInfo' + - $ref: '#/components/schemas/BdtExternalAccountInfo' - $ref: '#/components/schemas/BrlExternalAccountInfo' + - $ref: '#/components/schemas/BwpExternalAccountInfo' - $ref: '#/components/schemas/CadExternalAccountInfo' + - $ref: '#/components/schemas/CopExternalAccountInfo' - $ref: '#/components/schemas/DkkExternalAccountInfo' + - $ref: '#/components/schemas/EgpExternalAccountInfo' - $ref: '#/components/schemas/EurExternalAccountInfo' - $ref: '#/components/schemas/GbpExternalAccountInfo' + - $ref: '#/components/schemas/GhsExternalAccountInfo' + - $ref: '#/components/schemas/GtqExternalAccountInfo' - $ref: '#/components/schemas/HkdExternalAccountInfo' + - $ref: '#/components/schemas/HtgExternalAccountInfo' - $ref: '#/components/schemas/IdrExternalAccountInfo' - $ref: '#/components/schemas/InrExternalAccountInfo' + - $ref: '#/components/schemas/JmdExternalAccountInfo' - $ref: '#/components/schemas/KesExternalAccountInfo' - $ref: '#/components/schemas/MwkExternalAccountInfo' - $ref: '#/components/schemas/MxnExternalAccountInfo' - $ref: '#/components/schemas/MyrExternalAccountInfo' - $ref: '#/components/schemas/NgnExternalAccountInfo' - $ref: '#/components/schemas/PhpExternalAccountInfo' + - $ref: '#/components/schemas/PkrExternalAccountInfo' - $ref: '#/components/schemas/RwfExternalAccountInfo' - $ref: '#/components/schemas/SgdExternalAccountInfo' + - $ref: '#/components/schemas/SlvExternalAccountInfo' - $ref: '#/components/schemas/ThbExternalAccountInfo' - $ref: '#/components/schemas/TzsExternalAccountInfo' - $ref: '#/components/schemas/UgxExternalAccountInfo' - $ref: '#/components/schemas/UsdExternalAccountInfo' - $ref: '#/components/schemas/VndExternalAccountInfo' + - $ref: '#/components/schemas/XafExternalAccountInfo' - $ref: '#/components/schemas/XofExternalAccountInfo' - $ref: '#/components/schemas/ZarExternalAccountInfo' - $ref: '#/components/schemas/ZmwExternalAccountInfo' - - $ref: '#/components/schemas/SparkWalletExternalAccountInfo' + - $ref: '#/components/schemas/SwiftExternalAccountInfo' + - $ref: '#/components/schemas/BaseWalletExternalAccountInfo' + - $ref: '#/components/schemas/EthereumWalletExternalAccountInfo' - $ref: '#/components/schemas/LightningExternalAccountInfo' + - $ref: '#/components/schemas/PolygonWalletExternalAccountInfo' - $ref: '#/components/schemas/SolanaWalletExternalAccountInfo' + - $ref: '#/components/schemas/SparkWalletExternalAccountInfo' - $ref: '#/components/schemas/TronWalletExternalAccountInfo' - - $ref: '#/components/schemas/PolygonWalletExternalAccountInfo' - - $ref: '#/components/schemas/BaseWalletExternalAccountInfo' - - $ref: '#/components/schemas/EthereumWalletExternalAccountInfo' - - $ref: '#/components/schemas/AedExternalAccountInfo' - - $ref: '#/components/schemas/BwpExternalAccountInfo' - - $ref: '#/components/schemas/XafExternalAccountInfo' - - $ref: '#/components/schemas/BdtExternalAccountInfo' - - $ref: '#/components/schemas/CopExternalAccountInfo' - - $ref: '#/components/schemas/EgpExternalAccountInfo' - - $ref: '#/components/schemas/GhsExternalAccountInfo' - - $ref: '#/components/schemas/GtqExternalAccountInfo' - - $ref: '#/components/schemas/HtgExternalAccountInfo' - - $ref: '#/components/schemas/JmdExternalAccountInfo' - - $ref: '#/components/schemas/PkrExternalAccountInfo' - - $ref: '#/components/schemas/SlvExternalAccountInfo' discriminator: propertyName: accountType mapping: + AED_ACCOUNT: '#/components/schemas/AedExternalAccountInfo' + BDT_ACCOUNT: '#/components/schemas/BdtExternalAccountInfo' BRL_ACCOUNT: '#/components/schemas/BrlExternalAccountInfo' + BWP_ACCOUNT: '#/components/schemas/BwpExternalAccountInfo' CAD_ACCOUNT: '#/components/schemas/CadExternalAccountInfo' + COP_ACCOUNT: '#/components/schemas/CopExternalAccountInfo' DKK_ACCOUNT: '#/components/schemas/DkkExternalAccountInfo' + EGP_ACCOUNT: '#/components/schemas/EgpExternalAccountInfo' EUR_ACCOUNT: '#/components/schemas/EurExternalAccountInfo' GBP_ACCOUNT: '#/components/schemas/GbpExternalAccountInfo' + GHS_ACCOUNT: '#/components/schemas/GhsExternalAccountInfo' + GTQ_ACCOUNT: '#/components/schemas/GtqExternalAccountInfo' HKD_ACCOUNT: '#/components/schemas/HkdExternalAccountInfo' + HTG_ACCOUNT: '#/components/schemas/HtgExternalAccountInfo' IDR_ACCOUNT: '#/components/schemas/IdrExternalAccountInfo' INR_ACCOUNT: '#/components/schemas/InrExternalAccountInfo' + JMD_ACCOUNT: '#/components/schemas/JmdExternalAccountInfo' KES_ACCOUNT: '#/components/schemas/KesExternalAccountInfo' MWK_ACCOUNT: '#/components/schemas/MwkExternalAccountInfo' MXN_ACCOUNT: '#/components/schemas/MxnExternalAccountInfo' MYR_ACCOUNT: '#/components/schemas/MyrExternalAccountInfo' NGN_ACCOUNT: '#/components/schemas/NgnExternalAccountInfo' PHP_ACCOUNT: '#/components/schemas/PhpExternalAccountInfo' + PKR_ACCOUNT: '#/components/schemas/PkrExternalAccountInfo' RWF_ACCOUNT: '#/components/schemas/RwfExternalAccountInfo' SGD_ACCOUNT: '#/components/schemas/SgdExternalAccountInfo' + SLV_ACCOUNT: '#/components/schemas/SlvExternalAccountInfo' THB_ACCOUNT: '#/components/schemas/ThbExternalAccountInfo' TZS_ACCOUNT: '#/components/schemas/TzsExternalAccountInfo' UGX_ACCOUNT: '#/components/schemas/UgxExternalAccountInfo' USD_ACCOUNT: '#/components/schemas/UsdExternalAccountInfo' VND_ACCOUNT: '#/components/schemas/VndExternalAccountInfo' + XAF_ACCOUNT: '#/components/schemas/XafExternalAccountInfo' XOF_ACCOUNT: '#/components/schemas/XofExternalAccountInfo' ZAR_ACCOUNT: '#/components/schemas/ZarExternalAccountInfo' ZMW_ACCOUNT: '#/components/schemas/ZmwExternalAccountInfo' - SPARK_WALLET: '#/components/schemas/SparkWalletExternalAccountInfo' - LIGHTNING: '#/components/schemas/LightningExternalAccountInfo' - SOLANA_WALLET: '#/components/schemas/SolanaWalletExternalAccountInfo' - TRON_WALLET: '#/components/schemas/TronWalletExternalAccountInfo' - POLYGON_WALLET: '#/components/schemas/PolygonWalletExternalAccountInfo' + SWIFT_ACCOUNT: '#/components/schemas/SwiftExternalAccountInfo' BASE_WALLET: '#/components/schemas/BaseWalletExternalAccountInfo' ETHEREUM_WALLET: '#/components/schemas/EthereumWalletExternalAccountInfo' - AED_ACCOUNT: '#/components/schemas/AedExternalAccountInfo' - BWP_ACCOUNT: '#/components/schemas/BwpExternalAccountInfo' - XAF_ACCOUNT: '#/components/schemas/XafExternalAccountInfo' - BDT_ACCOUNT: '#/components/schemas/BdtExternalAccountInfo' - COP_ACCOUNT: '#/components/schemas/CopExternalAccountInfo' - EGP_ACCOUNT: '#/components/schemas/EgpExternalAccountInfo' - GHS_ACCOUNT: '#/components/schemas/GhsExternalAccountInfo' - GTQ_ACCOUNT: '#/components/schemas/GtqExternalAccountInfo' - HTG_ACCOUNT: '#/components/schemas/HtgExternalAccountInfo' - JMD_ACCOUNT: '#/components/schemas/JmdExternalAccountInfo' + LIGHTNING: '#/components/schemas/LightningExternalAccountInfo' LIGHTNING_ACCOUNT: '#/components/schemas/LightningExternalAccountInfo' - PKR_ACCOUNT: '#/components/schemas/PkrExternalAccountInfo' - SLV_ACCOUNT: '#/components/schemas/SlvExternalAccountInfo' + POLYGON_WALLET: '#/components/schemas/PolygonWalletExternalAccountInfo' + SOLANA_WALLET: '#/components/schemas/SolanaWalletExternalAccountInfo' + SPARK_WALLET: '#/components/schemas/SparkWalletExternalAccountInfo' + TRON_WALLET: '#/components/schemas/TronWalletExternalAccountInfo' ExternalAccount: allOf: - type: object @@ -13192,6 +13310,26 @@ components: mapping: INDIVIDUAL: '#/components/schemas/AedBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' + BdtExternalAccountCreateInfo: + title: BDT Account + allOf: + - $ref: '#/components/schemas/BaseExternalAccountInfo' + - $ref: '#/components/schemas/BdtAccountInfoBase' + - type: object + required: + - beneficiary + properties: + beneficiary: + oneOf: + - title: Individual Beneficiary + $ref: '#/components/schemas/BdtBeneficiary' + - title: Business Beneficiary + $ref: '#/components/schemas/BusinessBeneficiary' + discriminator: + propertyName: beneficiaryType + mapping: + INDIVIDUAL: '#/components/schemas/BdtBeneficiary' + BUSINESS: '#/components/schemas/BusinessBeneficiary' BrlExternalAccountCreateInfo: title: BRL Account allOf: @@ -13252,11 +13390,11 @@ components: mapping: INDIVIDUAL: '#/components/schemas/CadBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - DkkExternalAccountCreateInfo: - title: DKK Account + CopExternalAccountCreateInfo: + title: COP Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/DkkAccountInfoBase' + - $ref: '#/components/schemas/CopAccountInfoBase' - type: object required: - beneficiary @@ -13264,19 +13402,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/DkkBeneficiary' + $ref: '#/components/schemas/CopBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/DkkBeneficiary' + INDIVIDUAL: '#/components/schemas/CopBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - EurExternalAccountCreateInfo: - title: EUR Account + DkkExternalAccountCreateInfo: + title: DKK Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/EurAccountInfoBase' + - $ref: '#/components/schemas/DkkAccountInfoBase' - type: object required: - beneficiary @@ -13284,19 +13422,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/EurBeneficiary' + $ref: '#/components/schemas/DkkBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/EurBeneficiary' + INDIVIDUAL: '#/components/schemas/DkkBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - GbpExternalAccountCreateInfo: - title: GBP Account + EgpExternalAccountCreateInfo: + title: EGP Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/GbpAccountInfoBase' + - $ref: '#/components/schemas/EgpAccountInfoBase' - type: object required: - beneficiary @@ -13304,19 +13442,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/GbpBeneficiary' + $ref: '#/components/schemas/EgpBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/GbpBeneficiary' + INDIVIDUAL: '#/components/schemas/EgpBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - HkdExternalAccountCreateInfo: - title: HKD Account + EurExternalAccountCreateInfo: + title: EUR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/HkdAccountInfoBase' + - $ref: '#/components/schemas/EurAccountInfoBase' - type: object required: - beneficiary @@ -13324,19 +13462,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/HkdBeneficiary' + $ref: '#/components/schemas/EurBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/HkdBeneficiary' + INDIVIDUAL: '#/components/schemas/EurBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - IdrExternalAccountCreateInfo: - title: IDR Account + GbpExternalAccountCreateInfo: + title: GBP Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/IdrAccountInfoBase' + - $ref: '#/components/schemas/GbpAccountInfoBase' - type: object required: - beneficiary @@ -13344,19 +13482,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/IdrBeneficiary' + $ref: '#/components/schemas/GbpBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/IdrBeneficiary' + INDIVIDUAL: '#/components/schemas/GbpBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - InrExternalAccountCreateInfo: - title: INR Account + GhsExternalAccountCreateInfo: + title: GHS Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/InrAccountInfoBase' + - $ref: '#/components/schemas/GhsAccountInfoBase' - type: object required: - beneficiary @@ -13364,19 +13502,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/InrBeneficiary' + $ref: '#/components/schemas/GhsBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/InrBeneficiary' + INDIVIDUAL: '#/components/schemas/GhsBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - KesExternalAccountCreateInfo: - title: KES Account + GtqExternalAccountCreateInfo: + title: GTQ Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/KesAccountInfoBase' + - $ref: '#/components/schemas/GtqAccountInfoBase' - type: object required: - beneficiary @@ -13384,19 +13522,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/KesBeneficiary' + $ref: '#/components/schemas/GtqBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/KesBeneficiary' + INDIVIDUAL: '#/components/schemas/GtqBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - MwkExternalAccountCreateInfo: - title: MWK Account + HkdExternalAccountCreateInfo: + title: HKD Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/MwkAccountInfoBase' + - $ref: '#/components/schemas/HkdAccountInfoBase' - type: object required: - beneficiary @@ -13404,19 +13542,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/MwkBeneficiary' + $ref: '#/components/schemas/HkdBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/MwkBeneficiary' + INDIVIDUAL: '#/components/schemas/HkdBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - MxnExternalAccountCreateInfo: - title: MXN Account + HtgExternalAccountCreateInfo: + title: HTG Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/MxnAccountInfoBase' + - $ref: '#/components/schemas/HtgAccountInfoBase' - type: object required: - beneficiary @@ -13424,19 +13562,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/MxnBeneficiary' + $ref: '#/components/schemas/HtgBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/MxnBeneficiary' + INDIVIDUAL: '#/components/schemas/HtgBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - MyrExternalAccountCreateInfo: - title: MYR Account + IdrExternalAccountCreateInfo: + title: IDR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/MyrAccountInfoBase' + - $ref: '#/components/schemas/IdrAccountInfoBase' - type: object required: - beneficiary @@ -13444,19 +13582,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/MyrBeneficiary' + $ref: '#/components/schemas/IdrBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/MyrBeneficiary' + INDIVIDUAL: '#/components/schemas/IdrBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - NgnExternalAccountCreateInfo: - title: NGN Account + InrExternalAccountCreateInfo: + title: INR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/NgnAccountInfoBase' + - $ref: '#/components/schemas/InrAccountInfoBase' - type: object required: - beneficiary @@ -13464,19 +13602,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/NgnBeneficiary' + $ref: '#/components/schemas/InrBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/NgnBeneficiary' - BUSINESS: '#/components/schemas/BusinessBeneficiary' - PhpExternalAccountCreateInfo: - title: PHP Account + INDIVIDUAL: '#/components/schemas/InrBeneficiary' + BUSINESS: '#/components/schemas/BusinessBeneficiary' + JmdExternalAccountCreateInfo: + title: JMD Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/PhpAccountInfoBase' + - $ref: '#/components/schemas/JmdAccountInfoBase' - type: object required: - beneficiary @@ -13484,19 +13622,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/PhpBeneficiary' + $ref: '#/components/schemas/JmdBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/PhpBeneficiary' + INDIVIDUAL: '#/components/schemas/JmdBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - RwfExternalAccountCreateInfo: - title: RWF Account + KesExternalAccountCreateInfo: + title: KES Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/RwfAccountInfoBase' + - $ref: '#/components/schemas/KesAccountInfoBase' - type: object required: - beneficiary @@ -13504,19 +13642,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/RwfBeneficiary' + $ref: '#/components/schemas/KesBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/RwfBeneficiary' + INDIVIDUAL: '#/components/schemas/KesBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - SgdExternalAccountCreateInfo: - title: SGD Account + MwkExternalAccountCreateInfo: + title: MWK Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/SgdAccountInfoBase' + - $ref: '#/components/schemas/MwkAccountInfoBase' - type: object required: - beneficiary @@ -13524,19 +13662,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/SgdBeneficiary' + $ref: '#/components/schemas/MwkBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/SgdBeneficiary' + INDIVIDUAL: '#/components/schemas/MwkBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - ThbExternalAccountCreateInfo: - title: THB Account + MxnExternalAccountCreateInfo: + title: MXN Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/ThbAccountInfoBase' + - $ref: '#/components/schemas/MxnAccountInfoBase' - type: object required: - beneficiary @@ -13544,19 +13682,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/ThbBeneficiary' + $ref: '#/components/schemas/MxnBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/ThbBeneficiary' + INDIVIDUAL: '#/components/schemas/MxnBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - TzsExternalAccountCreateInfo: - title: TZS Account + MyrExternalAccountCreateInfo: + title: MYR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/TzsAccountInfoBase' + - $ref: '#/components/schemas/MyrAccountInfoBase' - type: object required: - beneficiary @@ -13564,19 +13702,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/TzsBeneficiary' + $ref: '#/components/schemas/MyrBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/TzsBeneficiary' + INDIVIDUAL: '#/components/schemas/MyrBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - UgxExternalAccountCreateInfo: - title: UGX Account + NgnExternalAccountCreateInfo: + title: NGN Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/UgxAccountInfoBase' + - $ref: '#/components/schemas/NgnAccountInfoBase' - type: object required: - beneficiary @@ -13584,19 +13722,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/UgxBeneficiary' + $ref: '#/components/schemas/NgnBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/UgxBeneficiary' + INDIVIDUAL: '#/components/schemas/NgnBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - UsdExternalAccountCreateInfo: - title: USD Account + PhpExternalAccountCreateInfo: + title: PHP Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/UsdAccountInfoBase' + - $ref: '#/components/schemas/PhpAccountInfoBase' - type: object required: - beneficiary @@ -13604,19 +13742,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/UsdBeneficiary' + $ref: '#/components/schemas/PhpBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/UsdBeneficiary' + INDIVIDUAL: '#/components/schemas/PhpBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - VndExternalAccountCreateInfo: - title: VND Account + PkrExternalAccountCreateInfo: + title: PKR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/VndAccountInfoBase' + - $ref: '#/components/schemas/PkrAccountInfoBase' - type: object required: - beneficiary @@ -13624,19 +13762,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/VndBeneficiary' + $ref: '#/components/schemas/PkrBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/VndBeneficiary' + INDIVIDUAL: '#/components/schemas/PkrBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - XafExternalAccountCreateInfo: - title: XAF Account + RwfExternalAccountCreateInfo: + title: RWF Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/XafAccountInfoBase' + - $ref: '#/components/schemas/RwfAccountInfoBase' - type: object required: - beneficiary @@ -13644,19 +13782,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/XafBeneficiary' + $ref: '#/components/schemas/RwfBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/XafBeneficiary' + INDIVIDUAL: '#/components/schemas/RwfBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - XofExternalAccountCreateInfo: - title: XOF Account + SgdExternalAccountCreateInfo: + title: SGD Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/XofAccountInfoBase' + - $ref: '#/components/schemas/SgdAccountInfoBase' - type: object required: - beneficiary @@ -13664,19 +13802,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/XofBeneficiary' + $ref: '#/components/schemas/SgdBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/XofBeneficiary' + INDIVIDUAL: '#/components/schemas/SgdBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - ZarExternalAccountCreateInfo: - title: ZAR Account + SlvExternalAccountCreateInfo: + title: SLV Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/ZarAccountInfoBase' + - $ref: '#/components/schemas/SlvAccountInfoBase' - type: object required: - beneficiary @@ -13684,19 +13822,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/ZarBeneficiary' + $ref: '#/components/schemas/SlvBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/ZarBeneficiary' + INDIVIDUAL: '#/components/schemas/SlvBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - ZmwExternalAccountCreateInfo: - title: ZMW Account + ThbExternalAccountCreateInfo: + title: THB Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/ZmwAccountInfoBase' + - $ref: '#/components/schemas/ThbAccountInfoBase' - type: object required: - beneficiary @@ -13704,19 +13842,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/ZmwBeneficiary' + $ref: '#/components/schemas/ThbBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/ZmwBeneficiary' + INDIVIDUAL: '#/components/schemas/ThbBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - BdtExternalAccountCreateInfo: - title: BDT Account + TzsExternalAccountCreateInfo: + title: TZS Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/BdtAccountInfoBase' + - $ref: '#/components/schemas/TzsAccountInfoBase' - type: object required: - beneficiary @@ -13724,19 +13862,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/BdtBeneficiary' + $ref: '#/components/schemas/TzsBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/BdtBeneficiary' + INDIVIDUAL: '#/components/schemas/TzsBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - CopExternalAccountCreateInfo: - title: COP Account + UgxExternalAccountCreateInfo: + title: UGX Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/CopAccountInfoBase' + - $ref: '#/components/schemas/UgxAccountInfoBase' - type: object required: - beneficiary @@ -13744,19 +13882,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/CopBeneficiary' + $ref: '#/components/schemas/UgxBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/CopBeneficiary' + INDIVIDUAL: '#/components/schemas/UgxBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - EgpExternalAccountCreateInfo: - title: EGP Account + UsdExternalAccountCreateInfo: + title: USD Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/EgpAccountInfoBase' + - $ref: '#/components/schemas/UsdAccountInfoBase' - type: object required: - beneficiary @@ -13764,19 +13902,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/EgpBeneficiary' + $ref: '#/components/schemas/UsdBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/EgpBeneficiary' + INDIVIDUAL: '#/components/schemas/UsdBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - GhsExternalAccountCreateInfo: - title: GHS Account + VndExternalAccountCreateInfo: + title: VND Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/GhsAccountInfoBase' + - $ref: '#/components/schemas/VndAccountInfoBase' - type: object required: - beneficiary @@ -13784,19 +13922,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/GhsBeneficiary' + $ref: '#/components/schemas/VndBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/GhsBeneficiary' + INDIVIDUAL: '#/components/schemas/VndBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - GtqExternalAccountCreateInfo: - title: GTQ Account + XafExternalAccountCreateInfo: + title: XAF Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/GtqAccountInfoBase' + - $ref: '#/components/schemas/XafAccountInfoBase' - type: object required: - beneficiary @@ -13804,19 +13942,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/GtqBeneficiary' + $ref: '#/components/schemas/XafBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/GtqBeneficiary' + INDIVIDUAL: '#/components/schemas/XafBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - HtgExternalAccountCreateInfo: - title: HTG Account + XofExternalAccountCreateInfo: + title: XOF Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/HtgAccountInfoBase' + - $ref: '#/components/schemas/XofAccountInfoBase' - type: object required: - beneficiary @@ -13824,19 +13962,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/HtgBeneficiary' + $ref: '#/components/schemas/XofBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/HtgBeneficiary' + INDIVIDUAL: '#/components/schemas/XofBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - JmdExternalAccountCreateInfo: - title: JMD Account + ZarExternalAccountCreateInfo: + title: ZAR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/JmdAccountInfoBase' + - $ref: '#/components/schemas/ZarAccountInfoBase' - type: object required: - beneficiary @@ -13844,19 +13982,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/JmdBeneficiary' + $ref: '#/components/schemas/ZarBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/JmdBeneficiary' + INDIVIDUAL: '#/components/schemas/ZarBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - PkrExternalAccountCreateInfo: - title: PKR Account + ZmwExternalAccountCreateInfo: + title: ZMW Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/PkrAccountInfoBase' + - $ref: '#/components/schemas/ZmwAccountInfoBase' - type: object required: - beneficiary @@ -13864,19 +14002,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/PkrBeneficiary' + $ref: '#/components/schemas/ZmwBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/PkrBeneficiary' + INDIVIDUAL: '#/components/schemas/ZmwBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - SlvExternalAccountCreateInfo: - title: SLV Account + SwiftExternalAccountCreateInfo: + title: SWIFT Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/SlvAccountInfoBase' + - $ref: '#/components/schemas/SwiftAccountInfoBase' - type: object required: - beneficiary @@ -13884,34 +14022,43 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/SlvBeneficiary' + $ref: '#/components/schemas/SwiftBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/SlvBeneficiary' + INDIVIDUAL: '#/components/schemas/SwiftBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' ExternalAccountCreateInfoOneOf: oneOf: - $ref: '#/components/schemas/AedExternalAccountCreateInfo' + - $ref: '#/components/schemas/BdtExternalAccountCreateInfo' - $ref: '#/components/schemas/BrlExternalAccountCreateInfo' - $ref: '#/components/schemas/BwpExternalAccountCreateInfo' - $ref: '#/components/schemas/CadExternalAccountCreateInfo' + - $ref: '#/components/schemas/CopExternalAccountCreateInfo' - $ref: '#/components/schemas/DkkExternalAccountCreateInfo' + - $ref: '#/components/schemas/EgpExternalAccountCreateInfo' - $ref: '#/components/schemas/EurExternalAccountCreateInfo' - $ref: '#/components/schemas/GbpExternalAccountCreateInfo' + - $ref: '#/components/schemas/GhsExternalAccountCreateInfo' + - $ref: '#/components/schemas/GtqExternalAccountCreateInfo' - $ref: '#/components/schemas/HkdExternalAccountCreateInfo' + - $ref: '#/components/schemas/HtgExternalAccountCreateInfo' - $ref: '#/components/schemas/IdrExternalAccountCreateInfo' - $ref: '#/components/schemas/InrExternalAccountCreateInfo' + - $ref: '#/components/schemas/JmdExternalAccountCreateInfo' - $ref: '#/components/schemas/KesExternalAccountCreateInfo' - $ref: '#/components/schemas/MwkExternalAccountCreateInfo' - $ref: '#/components/schemas/MxnExternalAccountCreateInfo' - $ref: '#/components/schemas/MyrExternalAccountCreateInfo' - $ref: '#/components/schemas/NgnExternalAccountCreateInfo' - $ref: '#/components/schemas/PhpExternalAccountCreateInfo' + - $ref: '#/components/schemas/PkrExternalAccountCreateInfo' - $ref: '#/components/schemas/RwfExternalAccountCreateInfo' - $ref: '#/components/schemas/SgdExternalAccountCreateInfo' + - $ref: '#/components/schemas/SlvExternalAccountCreateInfo' - $ref: '#/components/schemas/ThbExternalAccountCreateInfo' - $ref: '#/components/schemas/TzsExternalAccountCreateInfo' - $ref: '#/components/schemas/UgxExternalAccountCreateInfo' @@ -13921,43 +14068,44 @@ components: - $ref: '#/components/schemas/XofExternalAccountCreateInfo' - $ref: '#/components/schemas/ZarExternalAccountCreateInfo' - $ref: '#/components/schemas/ZmwExternalAccountCreateInfo' - - $ref: '#/components/schemas/BdtExternalAccountCreateInfo' - - $ref: '#/components/schemas/CopExternalAccountCreateInfo' - - $ref: '#/components/schemas/EgpExternalAccountCreateInfo' - - $ref: '#/components/schemas/GhsExternalAccountCreateInfo' - - $ref: '#/components/schemas/GtqExternalAccountCreateInfo' - - $ref: '#/components/schemas/HtgExternalAccountCreateInfo' - - $ref: '#/components/schemas/JmdExternalAccountCreateInfo' - - $ref: '#/components/schemas/PkrExternalAccountCreateInfo' - - $ref: '#/components/schemas/SlvExternalAccountCreateInfo' - - $ref: '#/components/schemas/SparkWalletExternalAccountInfo' + - $ref: '#/components/schemas/SwiftExternalAccountCreateInfo' + - $ref: '#/components/schemas/BaseWalletExternalAccountInfo' + - $ref: '#/components/schemas/EthereumWalletExternalAccountInfo' - $ref: '#/components/schemas/LightningExternalAccountInfo' + - $ref: '#/components/schemas/PolygonWalletExternalAccountInfo' - $ref: '#/components/schemas/SolanaWalletExternalAccountInfo' + - $ref: '#/components/schemas/SparkWalletExternalAccountInfo' - $ref: '#/components/schemas/TronWalletExternalAccountInfo' - - $ref: '#/components/schemas/PolygonWalletExternalAccountInfo' - - $ref: '#/components/schemas/BaseWalletExternalAccountInfo' - - $ref: '#/components/schemas/EthereumWalletExternalAccountInfo' discriminator: propertyName: accountType mapping: AED_ACCOUNT: '#/components/schemas/AedExternalAccountCreateInfo' + BDT_ACCOUNT: '#/components/schemas/BdtExternalAccountCreateInfo' BRL_ACCOUNT: '#/components/schemas/BrlExternalAccountCreateInfo' BWP_ACCOUNT: '#/components/schemas/BwpExternalAccountCreateInfo' CAD_ACCOUNT: '#/components/schemas/CadExternalAccountCreateInfo' + COP_ACCOUNT: '#/components/schemas/CopExternalAccountCreateInfo' DKK_ACCOUNT: '#/components/schemas/DkkExternalAccountCreateInfo' + EGP_ACCOUNT: '#/components/schemas/EgpExternalAccountCreateInfo' EUR_ACCOUNT: '#/components/schemas/EurExternalAccountCreateInfo' GBP_ACCOUNT: '#/components/schemas/GbpExternalAccountCreateInfo' + GHS_ACCOUNT: '#/components/schemas/GhsExternalAccountCreateInfo' + GTQ_ACCOUNT: '#/components/schemas/GtqExternalAccountCreateInfo' HKD_ACCOUNT: '#/components/schemas/HkdExternalAccountCreateInfo' + HTG_ACCOUNT: '#/components/schemas/HtgExternalAccountCreateInfo' IDR_ACCOUNT: '#/components/schemas/IdrExternalAccountCreateInfo' INR_ACCOUNT: '#/components/schemas/InrExternalAccountCreateInfo' + JMD_ACCOUNT: '#/components/schemas/JmdExternalAccountCreateInfo' KES_ACCOUNT: '#/components/schemas/KesExternalAccountCreateInfo' MWK_ACCOUNT: '#/components/schemas/MwkExternalAccountCreateInfo' MXN_ACCOUNT: '#/components/schemas/MxnExternalAccountCreateInfo' MYR_ACCOUNT: '#/components/schemas/MyrExternalAccountCreateInfo' NGN_ACCOUNT: '#/components/schemas/NgnExternalAccountCreateInfo' PHP_ACCOUNT: '#/components/schemas/PhpExternalAccountCreateInfo' + PKR_ACCOUNT: '#/components/schemas/PkrExternalAccountCreateInfo' RWF_ACCOUNT: '#/components/schemas/RwfExternalAccountCreateInfo' SGD_ACCOUNT: '#/components/schemas/SgdExternalAccountCreateInfo' + SLV_ACCOUNT: '#/components/schemas/SlvExternalAccountCreateInfo' THB_ACCOUNT: '#/components/schemas/ThbExternalAccountCreateInfo' TZS_ACCOUNT: '#/components/schemas/TzsExternalAccountCreateInfo' UGX_ACCOUNT: '#/components/schemas/UgxExternalAccountCreateInfo' @@ -13967,22 +14115,14 @@ components: XOF_ACCOUNT: '#/components/schemas/XofExternalAccountCreateInfo' ZAR_ACCOUNT: '#/components/schemas/ZarExternalAccountCreateInfo' ZMW_ACCOUNT: '#/components/schemas/ZmwExternalAccountCreateInfo' - BDT_ACCOUNT: '#/components/schemas/BdtExternalAccountCreateInfo' - COP_ACCOUNT: '#/components/schemas/CopExternalAccountCreateInfo' - EGP_ACCOUNT: '#/components/schemas/EgpExternalAccountCreateInfo' - GHS_ACCOUNT: '#/components/schemas/GhsExternalAccountCreateInfo' - GTQ_ACCOUNT: '#/components/schemas/GtqExternalAccountCreateInfo' - HTG_ACCOUNT: '#/components/schemas/HtgExternalAccountCreateInfo' - JMD_ACCOUNT: '#/components/schemas/JmdExternalAccountCreateInfo' - PKR_ACCOUNT: '#/components/schemas/PkrExternalAccountCreateInfo' - SLV_ACCOUNT: '#/components/schemas/SlvExternalAccountCreateInfo' - SPARK_WALLET: '#/components/schemas/SparkWalletExternalAccountInfo' + SWIFT_ACCOUNT: '#/components/schemas/SwiftExternalAccountCreateInfo' + BASE_WALLET: '#/components/schemas/BaseWalletExternalAccountInfo' + ETHEREUM_WALLET: '#/components/schemas/EthereumWalletExternalAccountInfo' LIGHTNING: '#/components/schemas/LightningExternalAccountInfo' + POLYGON_WALLET: '#/components/schemas/PolygonWalletExternalAccountInfo' SOLANA_WALLET: '#/components/schemas/SolanaWalletExternalAccountInfo' + SPARK_WALLET: '#/components/schemas/SparkWalletExternalAccountInfo' TRON_WALLET: '#/components/schemas/TronWalletExternalAccountInfo' - POLYGON_WALLET: '#/components/schemas/PolygonWalletExternalAccountInfo' - BASE_WALLET: '#/components/schemas/BaseWalletExternalAccountInfo' - ETHEREUM_WALLET: '#/components/schemas/EthereumWalletExternalAccountInfo' ExternalAccountCreateRequest: allOf: - type: object diff --git a/openapi.yaml b/openapi.yaml index 17f3215e..8cfd7437 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -10911,31 +10911,33 @@ components: ExternalAccountType: type: string enum: - - GBP_ACCOUNT - - PHP_ACCOUNT - - SGD_ACCOUNT - - SPARK_WALLET - - LIGHTNING - - SOLANA_WALLET - - TRON_WALLET - - POLYGON_WALLET - - BASE_WALLET - - ETHEREUM_WALLET - AED_ACCOUNT + - BDT_ACCOUNT - BRL_ACCOUNT - BWP_ACCOUNT - CAD_ACCOUNT + - COP_ACCOUNT - DKK_ACCOUNT + - EGP_ACCOUNT - EUR_ACCOUNT + - GBP_ACCOUNT + - GHS_ACCOUNT + - GTQ_ACCOUNT - HKD_ACCOUNT + - HTG_ACCOUNT - IDR_ACCOUNT - INR_ACCOUNT + - JMD_ACCOUNT - KES_ACCOUNT - MWK_ACCOUNT - MXN_ACCOUNT - MYR_ACCOUNT - NGN_ACCOUNT + - PHP_ACCOUNT + - PKR_ACCOUNT - RWF_ACCOUNT + - SGD_ACCOUNT + - SLV_ACCOUNT - THB_ACCOUNT - TZS_ACCOUNT - UGX_ACCOUNT @@ -10945,17 +10947,16 @@ components: - XOF_ACCOUNT - ZAR_ACCOUNT - ZMW_ACCOUNT - - BDT_ACCOUNT - - COP_ACCOUNT - - EGP_ACCOUNT - - GHS_ACCOUNT - - GTQ_ACCOUNT - - HTG_ACCOUNT - - JMD_ACCOUNT - - PKR_ACCOUNT - - SLV_ACCOUNT + - SWIFT_ACCOUNT + - BASE_WALLET + - ETHEREUM_WALLET + - LIGHTNING + - POLYGON_WALLET + - SOLANA_WALLET + - SPARK_WALLET + - TRON_WALLET description: Type of external account or wallet - example: GBP_ACCOUNT + example: AED_ACCOUNT BaseExternalAccountInfo: type: object required: @@ -10963,6 +10964,140 @@ components: properties: accountType: $ref: '#/components/schemas/ExternalAccountType' + AedBeneficiary: + title: Individual Beneficiary + type: object + required: + - beneficiaryType + - address + - fullName + properties: + beneficiaryType: + type: string + enum: + - INDIVIDUAL + fullName: + type: string + description: The full name of the beneficiary + birthDate: + type: string + description: The birth date of the beneficiary + nationality: + type: string + description: The nationality of the beneficiary + email: + type: string + description: The email of the beneficiary + phoneNumber: + type: string + description: The phone number of the beneficiary + countryOfResidence: + type: string + description: The country of residence of the beneficiary + address: + $ref: '#/components/schemas/Address' + BusinessBeneficiary: + title: Business Beneficiary + type: object + required: + - beneficiaryType + - legalName + properties: + beneficiaryType: + type: string + enum: + - BUSINESS + legalName: + type: string + description: The legal name of the business + registrationNumber: + type: string + description: The registration number of the business + taxId: + type: string + description: The tax identification number of the business + email: + type: string + description: The email of the beneficiary + phoneNumber: + type: string + description: The phone number of the beneficiary + countryOfResidence: + type: string + description: The country of residence of the beneficiary + address: + $ref: '#/components/schemas/Address' + AedExternalAccountInfo: + title: AED Account + allOf: + - $ref: '#/components/schemas/BaseExternalAccountInfo' + - $ref: '#/components/schemas/AedAccountInfo' + - type: object + required: + - beneficiary + properties: + beneficiary: + oneOf: + - title: Individual Beneficiary + $ref: '#/components/schemas/AedBeneficiary' + - title: Business Beneficiary + $ref: '#/components/schemas/BusinessBeneficiary' + discriminator: + propertyName: beneficiaryType + mapping: + INDIVIDUAL: '#/components/schemas/AedBeneficiary' + BUSINESS: '#/components/schemas/BusinessBeneficiary' + BdtBeneficiary: + title: Individual Beneficiary + type: object + required: + - beneficiaryType + - fullName + properties: + beneficiaryType: + type: string + enum: + - INDIVIDUAL + fullName: + type: string + description: The full name of the beneficiary + birthDate: + type: string + description: The birth date of the beneficiary + nationality: + type: string + description: The nationality of the beneficiary + email: + type: string + description: The email of the beneficiary + phoneNumber: + type: string + description: The phone number of the beneficiary + countryOfResidence: + type: string + description: The country of residence of the beneficiary + address: + $ref: '#/components/schemas/Address' + BdtExternalAccountInfo: + title: BDT Account + allOf: + - $ref: '#/components/schemas/BaseExternalAccountInfo' + - $ref: '#/components/schemas/BdtAccountInfo' + - type: object + required: + - beneficiary + properties: + beneficiary: + oneOf: + - title: Individual Beneficiary + $ref: '#/components/schemas/BdtBeneficiary' + - title: Business Beneficiary + $ref: '#/components/schemas/BusinessBeneficiary' + discriminator: + propertyName: beneficiaryType + mapping: + INDIVIDUAL: '#/components/schemas/BdtBeneficiary' + BUSINESS: '#/components/schemas/BusinessBeneficiary' BrlAccountInfoBase: type: object required: @@ -11044,37 +11179,6 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - BusinessBeneficiary: - title: Business Beneficiary - type: object - required: - - beneficiaryType - - legalName - properties: - beneficiaryType: - type: string - enum: - - BUSINESS - legalName: - type: string - description: The legal name of the business - registrationNumber: - type: string - description: The registration number of the business - taxId: - type: string - description: The tax identification number of the business - email: - type: string - description: The email of the beneficiary - phoneNumber: - type: string - description: The phone number of the beneficiary - countryOfResidence: - type: string - description: The country of residence of the beneficiary - address: - $ref: '#/components/schemas/Address' BrlExternalAccountInfo: title: BRL Account allOf: @@ -11095,7 +11199,7 @@ components: mapping: INDIVIDUAL: '#/components/schemas/BrlBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - CadBeneficiary: + BwpBeneficiary: title: Individual Beneficiary type: object required: @@ -11121,19 +11225,16 @@ components: phoneNumber: type: string description: The phone number of the beneficiary - registrationNumber: - type: string - description: The registration number of the beneficiary countryOfResidence: type: string description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - CadExternalAccountInfo: - title: CAD Account + BwpExternalAccountInfo: + title: BWP Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/CadAccountInfo' + - $ref: '#/components/schemas/BwpAccountInfo' - type: object required: - beneficiary @@ -11141,15 +11242,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/CadBeneficiary' + $ref: '#/components/schemas/BwpBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/CadBeneficiary' + INDIVIDUAL: '#/components/schemas/BwpBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - DkkBeneficiary: + CadBeneficiary: title: Individual Beneficiary type: object required: @@ -11175,16 +11276,19 @@ components: phoneNumber: type: string description: The phone number of the beneficiary + registrationNumber: + type: string + description: The registration number of the beneficiary countryOfResidence: type: string description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - DkkExternalAccountInfo: - title: DKK Account + CadExternalAccountInfo: + title: CAD Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/DkkAccountInfo' + - $ref: '#/components/schemas/CadAccountInfo' - type: object required: - beneficiary @@ -11192,20 +11296,74 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/DkkBeneficiary' + $ref: '#/components/schemas/CadBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/DkkBeneficiary' + INDIVIDUAL: '#/components/schemas/CadBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - EurBeneficiary: + CopAccountInfoBase: + type: object + required: + - accountType + description: |- + Required fields depend on the selected paymentRails: + - BANK_TRANSFER: bankName, accountNumber, bankAccountType + - MOBILE_MONEY: phoneNumber + properties: + accountType: + type: string + enum: + - COP_ACCOUNT + bankName: + type: string + description: The name of the bank (BANK_TRANSFER only) + minLength: 1 + maxLength: 255 + accountNumber: + type: string + description: The account number of the bank (BANK_TRANSFER only) + minLength: 1 + maxLength: 34 + bankAccountType: + type: string + description: The bank account type (BANK_TRANSFER only) + enum: + - CHECKING + - SAVINGS + phoneNumber: + type: string + description: The phone number in international format (MOBILE_MONEY only — Nequi, Daviplata) + example: '+1234567890' + minLength: 7 + maxLength: 15 + pattern: ^\+[0-9]{6,14}$ + example: + accountType: COP_ACCOUNT + bankName: Bancolombia + accountNumber: '1234567890' + bankAccountType: CHECKING + CopAccountInfo: + allOf: + - $ref: '#/components/schemas/CopAccountInfoBase' + - type: object + required: + - paymentRails + properties: + paymentRails: + type: array + items: + type: string + enum: + - BANK_TRANSFER + - MOBILE_MONEY + CopBeneficiary: title: Individual Beneficiary type: object required: - beneficiaryType - - address - fullName properties: beneficiaryType: @@ -11232,11 +11390,25 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - EurExternalAccountInfo: - title: EUR Account + documentType: + type: string + description: 'Identity document type — required by most Colombian banks. CC: Cédula de Ciudadanía, CE: Cédula de Extranjería, TI: Tarjeta de Identidad, NIT: Número de Identificación Tributaria, PP: Passport' + enum: + - CC + - CE + - TI + - NIT + - PP + documentNumber: + type: string + description: Identity document number — required by most Colombian banks + minLength: 1 + maxLength: 50 + CopExternalAccountInfo: + title: COP Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/EurAccountInfo' + - $ref: '#/components/schemas/CopAccountInfo' - type: object required: - beneficiary @@ -11244,15 +11416,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/EurBeneficiary' + $ref: '#/components/schemas/CopBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/EurBeneficiary' + INDIVIDUAL: '#/components/schemas/CopBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - GbpBeneficiary: + DkkBeneficiary: title: Individual Beneficiary type: object required: @@ -11283,11 +11455,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - GbpExternalAccountInfo: - title: GBP Account + DkkExternalAccountInfo: + title: DKK Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/GbpAccountInfo' + - $ref: '#/components/schemas/DkkAccountInfo' - type: object required: - beneficiary @@ -11295,20 +11467,23 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/GbpBeneficiary' + $ref: '#/components/schemas/DkkBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/GbpBeneficiary' + INDIVIDUAL: '#/components/schemas/DkkBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - HkdBeneficiary: + EgpBeneficiary: title: Individual Beneficiary type: object required: - beneficiaryType + - address + - countryOfResidence - fullName + - phoneNumber properties: beneficiaryType: type: string @@ -11334,11 +11509,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - HkdExternalAccountInfo: - title: HKD Account + EgpExternalAccountInfo: + title: EGP Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/HkdAccountInfo' + - $ref: '#/components/schemas/EgpAccountInfo' - type: object required: - beneficiary @@ -11346,19 +11521,20 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/HkdBeneficiary' + $ref: '#/components/schemas/EgpBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/HkdBeneficiary' + INDIVIDUAL: '#/components/schemas/EgpBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - IdrBeneficiary: + EurBeneficiary: title: Individual Beneficiary type: object required: - beneficiaryType + - address - fullName properties: beneficiaryType: @@ -11385,11 +11561,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - IdrExternalAccountInfo: - title: IDR Account + EurExternalAccountInfo: + title: EUR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/IdrAccountInfo' + - $ref: '#/components/schemas/EurAccountInfo' - type: object required: - beneficiary @@ -11397,15 +11573,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/IdrBeneficiary' + $ref: '#/components/schemas/EurBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/IdrBeneficiary' + INDIVIDUAL: '#/components/schemas/EurBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - InrBeneficiary: + GbpBeneficiary: title: Individual Beneficiary type: object required: @@ -11436,11 +11612,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - InrExternalAccountInfo: - title: INR Account + GbpExternalAccountInfo: + title: GBP Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/InrAccountInfo' + - $ref: '#/components/schemas/GbpAccountInfo' - type: object required: - beneficiary @@ -11448,15 +11624,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/InrBeneficiary' + $ref: '#/components/schemas/GbpBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/InrBeneficiary' + INDIVIDUAL: '#/components/schemas/GbpBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - KesBeneficiary: + GhsBeneficiary: title: Individual Beneficiary type: object required: @@ -11487,11 +11663,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - KesExternalAccountInfo: - title: KES Account + GhsExternalAccountInfo: + title: GHS Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/KesAccountInfo' + - $ref: '#/components/schemas/GhsAccountInfo' - type: object required: - beneficiary @@ -11499,20 +11675,22 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/KesBeneficiary' + $ref: '#/components/schemas/GhsBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/KesBeneficiary' + INDIVIDUAL: '#/components/schemas/GhsBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - MwkBeneficiary: + GtqBeneficiary: title: Individual Beneficiary type: object required: - beneficiaryType + - countryOfResidence - fullName + - phoneNumber properties: beneficiaryType: type: string @@ -11538,11 +11716,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - MwkExternalAccountInfo: - title: MWK Account + GtqExternalAccountInfo: + title: GTQ Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/MwkAccountInfo' + - $ref: '#/components/schemas/GtqAccountInfo' - type: object required: - beneficiary @@ -11550,15 +11728,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/MwkBeneficiary' + $ref: '#/components/schemas/GtqBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/MwkBeneficiary' + INDIVIDUAL: '#/components/schemas/GtqBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - MxnBeneficiary: + HkdBeneficiary: title: Individual Beneficiary type: object required: @@ -11589,11 +11767,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - MxnExternalAccountInfo: - title: MXN Account + HkdExternalAccountInfo: + title: HKD Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/MxnAccountInfo' + - $ref: '#/components/schemas/HkdAccountInfo' - type: object required: - beneficiary @@ -11601,15 +11779,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/MxnBeneficiary' + $ref: '#/components/schemas/HkdBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/MxnBeneficiary' + INDIVIDUAL: '#/components/schemas/HkdBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - MyrBeneficiary: + HtgBeneficiary: title: Individual Beneficiary type: object required: @@ -11640,11 +11818,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - MyrExternalAccountInfo: - title: MYR Account + HtgExternalAccountInfo: + title: HTG Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/MyrAccountInfo' + - $ref: '#/components/schemas/HtgAccountInfo' - type: object required: - beneficiary @@ -11652,15 +11830,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/MyrBeneficiary' + $ref: '#/components/schemas/HtgBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/MyrBeneficiary' + INDIVIDUAL: '#/components/schemas/HtgBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - NgnBeneficiary: + IdrBeneficiary: title: Individual Beneficiary type: object required: @@ -11691,11 +11869,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - NgnExternalAccountInfo: - title: NGN Account + IdrExternalAccountInfo: + title: IDR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/NgnAccountInfo' + - $ref: '#/components/schemas/IdrAccountInfo' - type: object required: - beneficiary @@ -11703,15 +11881,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/NgnBeneficiary' + $ref: '#/components/schemas/IdrBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/NgnBeneficiary' + INDIVIDUAL: '#/components/schemas/IdrBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - PhpBeneficiary: + InrBeneficiary: title: Individual Beneficiary type: object required: @@ -11742,11 +11920,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - PhpExternalAccountInfo: - title: PHP Account + InrExternalAccountInfo: + title: INR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/PhpAccountInfo' + - $ref: '#/components/schemas/InrAccountInfo' - type: object required: - beneficiary @@ -11754,20 +11932,22 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/PhpBeneficiary' + $ref: '#/components/schemas/InrBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/PhpBeneficiary' + INDIVIDUAL: '#/components/schemas/InrBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - RwfBeneficiary: + JmdBeneficiary: title: Individual Beneficiary type: object required: - beneficiaryType + - address - fullName + - phoneNumber properties: beneficiaryType: type: string @@ -11793,11 +11973,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - RwfExternalAccountInfo: - title: RWF Account + JmdExternalAccountInfo: + title: JMD Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/RwfAccountInfo' + - $ref: '#/components/schemas/JmdAccountInfo' - type: object required: - beneficiary @@ -11805,15 +11985,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/RwfBeneficiary' + $ref: '#/components/schemas/JmdBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/RwfBeneficiary' + INDIVIDUAL: '#/components/schemas/JmdBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - SgdBeneficiary: + KesBeneficiary: title: Individual Beneficiary type: object required: @@ -11844,11 +12024,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - SgdExternalAccountInfo: - title: SGD Account + KesExternalAccountInfo: + title: KES Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/SgdAccountInfo' + - $ref: '#/components/schemas/KesAccountInfo' - type: object required: - beneficiary @@ -11856,15 +12036,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/SgdBeneficiary' + $ref: '#/components/schemas/KesBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/SgdBeneficiary' + INDIVIDUAL: '#/components/schemas/KesBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - ThbBeneficiary: + MwkBeneficiary: title: Individual Beneficiary type: object required: @@ -11895,11 +12075,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - ThbExternalAccountInfo: - title: THB Account + MwkExternalAccountInfo: + title: MWK Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/ThbAccountInfo' + - $ref: '#/components/schemas/MwkAccountInfo' - type: object required: - beneficiary @@ -11907,15 +12087,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/ThbBeneficiary' + $ref: '#/components/schemas/MwkBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/ThbBeneficiary' + INDIVIDUAL: '#/components/schemas/MwkBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - TzsBeneficiary: + MxnBeneficiary: title: Individual Beneficiary type: object required: @@ -11946,11 +12126,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - TzsExternalAccountInfo: - title: TZS Account + MxnExternalAccountInfo: + title: MXN Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/TzsAccountInfo' + - $ref: '#/components/schemas/MxnAccountInfo' - type: object required: - beneficiary @@ -11958,15 +12138,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/TzsBeneficiary' + $ref: '#/components/schemas/MxnBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/TzsBeneficiary' + INDIVIDUAL: '#/components/schemas/MxnBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - UgxBeneficiary: + MyrBeneficiary: title: Individual Beneficiary type: object required: @@ -11997,11 +12177,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - UgxExternalAccountInfo: - title: UGX Account + MyrExternalAccountInfo: + title: MYR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/UgxAccountInfo' + - $ref: '#/components/schemas/MyrAccountInfo' - type: object required: - beneficiary @@ -12009,15 +12189,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/UgxBeneficiary' + $ref: '#/components/schemas/MyrBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/UgxBeneficiary' + INDIVIDUAL: '#/components/schemas/MyrBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - UsdBeneficiary: + NgnBeneficiary: title: Individual Beneficiary type: object required: @@ -12048,11 +12228,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - UsdExternalAccountInfo: - title: USD Account + NgnExternalAccountInfo: + title: NGN Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/UsdAccountInfo' + - $ref: '#/components/schemas/NgnAccountInfo' - type: object required: - beneficiary @@ -12060,15 +12240,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/UsdBeneficiary' + $ref: '#/components/schemas/NgnBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/UsdBeneficiary' + INDIVIDUAL: '#/components/schemas/NgnBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - VndBeneficiary: + PhpBeneficiary: title: Individual Beneficiary type: object required: @@ -12099,11 +12279,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - VndExternalAccountInfo: - title: VND Account + PhpExternalAccountInfo: + title: PHP Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/VndAccountInfo' + - $ref: '#/components/schemas/PhpAccountInfo' - type: object required: - beneficiary @@ -12111,15 +12291,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/VndBeneficiary' + $ref: '#/components/schemas/PhpBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/VndBeneficiary' + INDIVIDUAL: '#/components/schemas/PhpBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - XofBeneficiary: + PkrBeneficiary: title: Individual Beneficiary type: object required: @@ -12150,11 +12330,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - XofExternalAccountInfo: - title: XOF Account + PkrExternalAccountInfo: + title: PKR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/XofAccountInfo' + - $ref: '#/components/schemas/PkrAccountInfo' - type: object required: - beneficiary @@ -12162,15 +12342,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/XofBeneficiary' + $ref: '#/components/schemas/PkrBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/XofBeneficiary' + INDIVIDUAL: '#/components/schemas/PkrBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - ZarBeneficiary: + RwfBeneficiary: title: Individual Beneficiary type: object required: @@ -12201,11 +12381,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - ZarExternalAccountInfo: - title: ZAR Account + RwfExternalAccountInfo: + title: RWF Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/ZarAccountInfo' + - $ref: '#/components/schemas/RwfAccountInfo' - type: object required: - beneficiary @@ -12213,15 +12393,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/ZarBeneficiary' + $ref: '#/components/schemas/RwfBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/ZarBeneficiary' + INDIVIDUAL: '#/components/schemas/RwfBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - ZmwBeneficiary: + SgdBeneficiary: title: Individual Beneficiary type: object required: @@ -12252,11 +12432,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - ZmwExternalAccountInfo: - title: ZMW Account + SgdExternalAccountInfo: + title: SGD Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/ZmwAccountInfo' + - $ref: '#/components/schemas/SgdAccountInfo' - type: object required: - beneficiary @@ -12264,78 +12444,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/ZmwBeneficiary' + $ref: '#/components/schemas/SgdBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/ZmwBeneficiary' + INDIVIDUAL: '#/components/schemas/SgdBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - SparkWalletExternalAccountInfo: - title: Spark Wallet - allOf: - - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/SparkWalletInfo' - LightningInfo: - type: object - description: | - Lightning payment destination. Exactly one of `invoice`, `bolt12`, or `lightningAddress` must be provided. - required: - - accountType - properties: - accountType: - type: string - enum: - - LIGHTNING - invoice: - type: string - description: 1-time use lightning bolt11 invoice payout destination - example: lnbc15u1p3xnhl2pp5jptserfk3zk4qy42tlucycrfwxhydvlemu9pqr93tuzlv9cc7g3sdqsvfhkcap3xyhx7un8cqzpgxqzjcsp5f8c52y2stc300gl6s4xswtjpc37hrnnr3c9wvtgjfuvqmpm35evq9qyyssqy4lgd8tj637qcjp05rdpxxykjenthxftej7a2zzmwrmrl70fyj9hvj0rewhzj7jfyuwkwcg9g2jpwtk3wkjtwnkdks84hsnu8xps5vsq4gj5hs - bolt12: - type: string - description: A bolt12 offer which can be reused as a payment destination - example: lnbc15u1p3xnhl2pp5jptserfk3zk4qy42tlucycrfwxhydvlemu9pqr93tuzlv9cc7g3sdqsvfhkcap3xyhx7un8cqzpgxqzjcsp5f8c52y2stc300gl6s4xswtjpc37hrnnr3c9wvtgjfuvqmpm35evq9qyyssqy4lgd8tj637qcjp05rdpxxykjenthxftej7a2zzmwrmrl70fyj9hvj0rewhzj7jfyuwkwcg9g2jpwtk3wkjtwnkdks84hsnu8xps5vsq4gj5hs - lightningAddress: - type: string - description: A lightning address which can be used as a payment destination. Note that for UMA addresses, no external account is needed. You can use the UMA address directly as a destination. - example: john.doe@lightningwallet.com - LightningExternalAccountInfo: - title: Lightning - allOf: - - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/LightningInfo' - SolanaWalletExternalAccountInfo: - title: Solana Wallet - allOf: - - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/SolanaWalletInfo' - TronWalletExternalAccountInfo: - title: Tron Wallet - allOf: - - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/TronWalletInfo' - PolygonWalletExternalAccountInfo: - title: Polygon Wallet - allOf: - - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/PolygonWalletInfo' - BaseWalletExternalAccountInfo: - title: Base Wallet - allOf: - - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/BaseWalletInfo' - EthereumWalletExternalAccountInfo: - title: Ethereum L1 Wallet - allOf: - - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/EthereumWalletInfo' - AedBeneficiary: + SlvBeneficiary: title: Individual Beneficiary type: object required: - beneficiaryType - - address - fullName properties: beneficiaryType: @@ -12362,11 +12483,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - AedExternalAccountInfo: - title: AED Account + SlvExternalAccountInfo: + title: SLV Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/AedAccountInfo' + - $ref: '#/components/schemas/SlvAccountInfo' - type: object required: - beneficiary @@ -12374,15 +12495,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/AedBeneficiary' + $ref: '#/components/schemas/SlvBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/AedBeneficiary' + INDIVIDUAL: '#/components/schemas/SlvBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - BwpBeneficiary: + ThbBeneficiary: title: Individual Beneficiary type: object required: @@ -12413,11 +12534,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - BwpExternalAccountInfo: - title: BWP Account + ThbExternalAccountInfo: + title: THB Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/BwpAccountInfo' + - $ref: '#/components/schemas/ThbAccountInfo' - type: object required: - beneficiary @@ -12425,15 +12546,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/BwpBeneficiary' + $ref: '#/components/schemas/ThbBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/BwpBeneficiary' + INDIVIDUAL: '#/components/schemas/ThbBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - XafBeneficiary: + TzsBeneficiary: title: Individual Beneficiary type: object required: @@ -12464,11 +12585,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - XafExternalAccountInfo: - title: XAF Account + TzsExternalAccountInfo: + title: TZS Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/XafAccountInfo' + - $ref: '#/components/schemas/TzsAccountInfo' - type: object required: - beneficiary @@ -12476,15 +12597,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/XafBeneficiary' + $ref: '#/components/schemas/TzsBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/XafBeneficiary' + INDIVIDUAL: '#/components/schemas/TzsBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - BdtBeneficiary: + UgxBeneficiary: title: Individual Beneficiary type: object required: @@ -12515,11 +12636,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - BdtExternalAccountInfo: - title: BDT Account + UgxExternalAccountInfo: + title: UGX Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/BdtAccountInfo' + - $ref: '#/components/schemas/UgxAccountInfo' - type: object required: - beneficiary @@ -12527,70 +12648,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/BdtBeneficiary' + $ref: '#/components/schemas/UgxBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/BdtBeneficiary' + INDIVIDUAL: '#/components/schemas/UgxBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - CopAccountInfoBase: - type: object - required: - - accountType - description: |- - Required fields depend on the selected paymentRails: - - BANK_TRANSFER: bankName, accountNumber, bankAccountType - - MOBILE_MONEY: phoneNumber - properties: - accountType: - type: string - enum: - - COP_ACCOUNT - bankName: - type: string - description: The name of the bank (BANK_TRANSFER only) - minLength: 1 - maxLength: 255 - accountNumber: - type: string - description: The account number of the bank (BANK_TRANSFER only) - minLength: 1 - maxLength: 34 - bankAccountType: - type: string - description: The bank account type (BANK_TRANSFER only) - enum: - - CHECKING - - SAVINGS - phoneNumber: - type: string - description: The phone number in international format (MOBILE_MONEY only — Nequi, Daviplata) - example: '+1234567890' - minLength: 7 - maxLength: 15 - pattern: ^\+[0-9]{6,14}$ - example: - accountType: COP_ACCOUNT - bankName: Bancolombia - accountNumber: '1234567890' - bankAccountType: CHECKING - CopAccountInfo: - allOf: - - $ref: '#/components/schemas/CopAccountInfoBase' - - type: object - required: - - paymentRails - properties: - paymentRails: - type: array - items: - type: string - enum: - - BANK_TRANSFER - - MOBILE_MONEY - CopBeneficiary: + UsdBeneficiary: title: Individual Beneficiary type: object required: @@ -12621,25 +12687,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - documentType: - type: string - description: 'Identity document type — required by most Colombian banks. CC: Cédula de Ciudadanía, CE: Cédula de Extranjería, TI: Tarjeta de Identidad, NIT: Número de Identificación Tributaria, PP: Passport' - enum: - - CC - - CE - - TI - - NIT - - PP - documentNumber: - type: string - description: Identity document number — required by most Colombian banks - minLength: 1 - maxLength: 50 - CopExternalAccountInfo: - title: COP Account + UsdExternalAccountInfo: + title: USD Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/CopAccountInfo' + - $ref: '#/components/schemas/UsdAccountInfo' - type: object required: - beneficiary @@ -12647,23 +12699,20 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/CopBeneficiary' + $ref: '#/components/schemas/UsdBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/CopBeneficiary' + INDIVIDUAL: '#/components/schemas/UsdBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - EgpBeneficiary: + VndBeneficiary: title: Individual Beneficiary type: object required: - beneficiaryType - - address - - countryOfResidence - fullName - - phoneNumber properties: beneficiaryType: type: string @@ -12689,11 +12738,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - EgpExternalAccountInfo: - title: EGP Account + VndExternalAccountInfo: + title: VND Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/EgpAccountInfo' + - $ref: '#/components/schemas/VndAccountInfo' - type: object required: - beneficiary @@ -12701,15 +12750,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/EgpBeneficiary' + $ref: '#/components/schemas/VndBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/EgpBeneficiary' + INDIVIDUAL: '#/components/schemas/VndBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - GhsBeneficiary: + XafBeneficiary: title: Individual Beneficiary type: object required: @@ -12740,11 +12789,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - GhsExternalAccountInfo: - title: GHS Account + XafExternalAccountInfo: + title: XAF Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/GhsAccountInfo' + - $ref: '#/components/schemas/XafAccountInfo' - type: object required: - beneficiary @@ -12752,22 +12801,20 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/GhsBeneficiary' + $ref: '#/components/schemas/XafBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/GhsBeneficiary' + INDIVIDUAL: '#/components/schemas/XafBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - GtqBeneficiary: + XofBeneficiary: title: Individual Beneficiary type: object required: - beneficiaryType - - countryOfResidence - fullName - - phoneNumber properties: beneficiaryType: type: string @@ -12793,11 +12840,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - GtqExternalAccountInfo: - title: GTQ Account + XofExternalAccountInfo: + title: XOF Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/GtqAccountInfo' + - $ref: '#/components/schemas/XofAccountInfo' - type: object required: - beneficiary @@ -12805,15 +12852,15 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/GtqBeneficiary' + $ref: '#/components/schemas/XofBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/GtqBeneficiary' + INDIVIDUAL: '#/components/schemas/XofBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - HtgBeneficiary: + ZarBeneficiary: title: Individual Beneficiary type: object required: @@ -12844,11 +12891,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - HtgExternalAccountInfo: - title: HTG Account + ZarExternalAccountInfo: + title: ZAR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/HtgAccountInfo' + - $ref: '#/components/schemas/ZarAccountInfo' - type: object required: - beneficiary @@ -12856,22 +12903,20 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/HtgBeneficiary' + $ref: '#/components/schemas/ZarBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/HtgBeneficiary' + INDIVIDUAL: '#/components/schemas/ZarBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - JmdBeneficiary: + ZmwBeneficiary: title: Individual Beneficiary type: object required: - beneficiaryType - - address - fullName - - phoneNumber properties: beneficiaryType: type: string @@ -12897,11 +12942,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - JmdExternalAccountInfo: - title: JMD Account + ZmwExternalAccountInfo: + title: ZMW Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/JmdAccountInfo' + - $ref: '#/components/schemas/ZmwAccountInfo' - type: object required: - beneficiary @@ -12909,15 +12954,79 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/JmdBeneficiary' + $ref: '#/components/schemas/ZmwBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/JmdBeneficiary' + INDIVIDUAL: '#/components/schemas/ZmwBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - PkrBeneficiary: + SwiftAccountInfoBase: + type: object + required: + - accountType + - swiftCode + - bankName + - country + properties: + accountType: + type: string + enum: + - SWIFT_ACCOUNT + country: + type: string + description: The ISO 3166-1 alpha-2 country code of the bank account + example: NG + minLength: 2 + maxLength: 2 + pattern: ^[A-Z]{2}$ + swiftCode: + type: string + description: The SWIFT/BIC code of the bank + example: DEUTDEFF + minLength: 8 + maxLength: 11 + pattern: ^[A-Z]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?$ + bankName: + type: string + description: The name of the bank + example: Deutsche Bank + minLength: 1 + maxLength: 255 + accountNumber: + type: string + description: The bank account number. Required for most corridors. Use iban instead for IBAN-only corridors (e.g. BR, GB). + example: '1234567890' + minLength: 1 + maxLength: 34 + iban: + type: string + description: The IBAN of the bank account. Required for IBAN-only corridors (e.g. BR, GB). Use accountNumber for all other corridors. + example: GB29NWBK60161331926819 + minLength: 15 + maxLength: 34 + pattern: ^[A-Z]{2}[0-9]{2}[A-Za-z0-9]{11,30}$ + example: + accountType: SWIFT_ACCOUNT + country: NG + swiftCode: DEUTDEFF + bankName: Deutsche Bank + accountNumber: '1234567890' + SwiftAccountInfo: + allOf: + - $ref: '#/components/schemas/SwiftAccountInfoBase' + - type: object + required: + - paymentRails + properties: + paymentRails: + type: array + items: + type: string + enum: + - SWIFT + SwiftBeneficiary: title: Individual Beneficiary type: object required: @@ -12948,11 +13057,11 @@ components: description: The country of residence of the beneficiary address: $ref: '#/components/schemas/Address' - PkrExternalAccountInfo: - title: PKR Account + SwiftExternalAccountInfo: + title: SWIFT Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/PkrAccountInfo' + - $ref: '#/components/schemas/SwiftAccountInfo' - type: object required: - beneficiary @@ -12960,157 +13069,166 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/PkrBeneficiary' + $ref: '#/components/schemas/SwiftBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/PkrBeneficiary' + INDIVIDUAL: '#/components/schemas/SwiftBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - SlvBeneficiary: - title: Individual Beneficiary + BaseWalletExternalAccountInfo: + title: Base Wallet + allOf: + - $ref: '#/components/schemas/BaseExternalAccountInfo' + - $ref: '#/components/schemas/BaseWalletInfo' + EthereumWalletExternalAccountInfo: + title: Ethereum L1 Wallet + allOf: + - $ref: '#/components/schemas/BaseExternalAccountInfo' + - $ref: '#/components/schemas/EthereumWalletInfo' + LightningInfo: type: object + description: | + Lightning payment destination. Exactly one of `invoice`, `bolt12`, or `lightningAddress` must be provided. required: - - beneficiaryType - - fullName + - accountType properties: - beneficiaryType: + accountType: type: string enum: - - INDIVIDUAL - fullName: - type: string - description: The full name of the beneficiary - birthDate: - type: string - description: The birth date of the beneficiary - nationality: - type: string - description: The nationality of the beneficiary - email: + - LIGHTNING + invoice: type: string - description: The email of the beneficiary - phoneNumber: + description: 1-time use lightning bolt11 invoice payout destination + example: lnbc15u1p3xnhl2pp5jptserfk3zk4qy42tlucycrfwxhydvlemu9pqr93tuzlv9cc7g3sdqsvfhkcap3xyhx7un8cqzpgxqzjcsp5f8c52y2stc300gl6s4xswtjpc37hrnnr3c9wvtgjfuvqmpm35evq9qyyssqy4lgd8tj637qcjp05rdpxxykjenthxftej7a2zzmwrmrl70fyj9hvj0rewhzj7jfyuwkwcg9g2jpwtk3wkjtwnkdks84hsnu8xps5vsq4gj5hs + bolt12: type: string - description: The phone number of the beneficiary - countryOfResidence: + description: A bolt12 offer which can be reused as a payment destination + example: lnbc15u1p3xnhl2pp5jptserfk3zk4qy42tlucycrfwxhydvlemu9pqr93tuzlv9cc7g3sdqsvfhkcap3xyhx7un8cqzpgxqzjcsp5f8c52y2stc300gl6s4xswtjpc37hrnnr3c9wvtgjfuvqmpm35evq9qyyssqy4lgd8tj637qcjp05rdpxxykjenthxftej7a2zzmwrmrl70fyj9hvj0rewhzj7jfyuwkwcg9g2jpwtk3wkjtwnkdks84hsnu8xps5vsq4gj5hs + lightningAddress: type: string - description: The country of residence of the beneficiary - address: - $ref: '#/components/schemas/Address' - SlvExternalAccountInfo: - title: SLV Account + description: A lightning address which can be used as a payment destination. Note that for UMA addresses, no external account is needed. You can use the UMA address directly as a destination. + example: john.doe@lightningwallet.com + LightningExternalAccountInfo: + title: Lightning allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/SlvAccountInfo' - - type: object - required: - - beneficiary - properties: - beneficiary: - oneOf: - - title: Individual Beneficiary - $ref: '#/components/schemas/SlvBeneficiary' - - title: Business Beneficiary - $ref: '#/components/schemas/BusinessBeneficiary' - discriminator: - propertyName: beneficiaryType - mapping: - INDIVIDUAL: '#/components/schemas/SlvBeneficiary' - BUSINESS: '#/components/schemas/BusinessBeneficiary' + - $ref: '#/components/schemas/LightningInfo' + PolygonWalletExternalAccountInfo: + title: Polygon Wallet + allOf: + - $ref: '#/components/schemas/BaseExternalAccountInfo' + - $ref: '#/components/schemas/PolygonWalletInfo' + SolanaWalletExternalAccountInfo: + title: Solana Wallet + allOf: + - $ref: '#/components/schemas/BaseExternalAccountInfo' + - $ref: '#/components/schemas/SolanaWalletInfo' + SparkWalletExternalAccountInfo: + title: Spark Wallet + allOf: + - $ref: '#/components/schemas/BaseExternalAccountInfo' + - $ref: '#/components/schemas/SparkWalletInfo' + TronWalletExternalAccountInfo: + title: Tron Wallet + allOf: + - $ref: '#/components/schemas/BaseExternalAccountInfo' + - $ref: '#/components/schemas/TronWalletInfo' ExternalAccountInfoOneOf: oneOf: + - $ref: '#/components/schemas/AedExternalAccountInfo' + - $ref: '#/components/schemas/BdtExternalAccountInfo' - $ref: '#/components/schemas/BrlExternalAccountInfo' + - $ref: '#/components/schemas/BwpExternalAccountInfo' - $ref: '#/components/schemas/CadExternalAccountInfo' + - $ref: '#/components/schemas/CopExternalAccountInfo' - $ref: '#/components/schemas/DkkExternalAccountInfo' + - $ref: '#/components/schemas/EgpExternalAccountInfo' - $ref: '#/components/schemas/EurExternalAccountInfo' - $ref: '#/components/schemas/GbpExternalAccountInfo' + - $ref: '#/components/schemas/GhsExternalAccountInfo' + - $ref: '#/components/schemas/GtqExternalAccountInfo' - $ref: '#/components/schemas/HkdExternalAccountInfo' + - $ref: '#/components/schemas/HtgExternalAccountInfo' - $ref: '#/components/schemas/IdrExternalAccountInfo' - $ref: '#/components/schemas/InrExternalAccountInfo' + - $ref: '#/components/schemas/JmdExternalAccountInfo' - $ref: '#/components/schemas/KesExternalAccountInfo' - $ref: '#/components/schemas/MwkExternalAccountInfo' - $ref: '#/components/schemas/MxnExternalAccountInfo' - $ref: '#/components/schemas/MyrExternalAccountInfo' - $ref: '#/components/schemas/NgnExternalAccountInfo' - $ref: '#/components/schemas/PhpExternalAccountInfo' + - $ref: '#/components/schemas/PkrExternalAccountInfo' - $ref: '#/components/schemas/RwfExternalAccountInfo' - $ref: '#/components/schemas/SgdExternalAccountInfo' + - $ref: '#/components/schemas/SlvExternalAccountInfo' - $ref: '#/components/schemas/ThbExternalAccountInfo' - $ref: '#/components/schemas/TzsExternalAccountInfo' - $ref: '#/components/schemas/UgxExternalAccountInfo' - $ref: '#/components/schemas/UsdExternalAccountInfo' - $ref: '#/components/schemas/VndExternalAccountInfo' + - $ref: '#/components/schemas/XafExternalAccountInfo' - $ref: '#/components/schemas/XofExternalAccountInfo' - $ref: '#/components/schemas/ZarExternalAccountInfo' - $ref: '#/components/schemas/ZmwExternalAccountInfo' - - $ref: '#/components/schemas/SparkWalletExternalAccountInfo' + - $ref: '#/components/schemas/SwiftExternalAccountInfo' + - $ref: '#/components/schemas/BaseWalletExternalAccountInfo' + - $ref: '#/components/schemas/EthereumWalletExternalAccountInfo' - $ref: '#/components/schemas/LightningExternalAccountInfo' + - $ref: '#/components/schemas/PolygonWalletExternalAccountInfo' - $ref: '#/components/schemas/SolanaWalletExternalAccountInfo' + - $ref: '#/components/schemas/SparkWalletExternalAccountInfo' - $ref: '#/components/schemas/TronWalletExternalAccountInfo' - - $ref: '#/components/schemas/PolygonWalletExternalAccountInfo' - - $ref: '#/components/schemas/BaseWalletExternalAccountInfo' - - $ref: '#/components/schemas/EthereumWalletExternalAccountInfo' - - $ref: '#/components/schemas/AedExternalAccountInfo' - - $ref: '#/components/schemas/BwpExternalAccountInfo' - - $ref: '#/components/schemas/XafExternalAccountInfo' - - $ref: '#/components/schemas/BdtExternalAccountInfo' - - $ref: '#/components/schemas/CopExternalAccountInfo' - - $ref: '#/components/schemas/EgpExternalAccountInfo' - - $ref: '#/components/schemas/GhsExternalAccountInfo' - - $ref: '#/components/schemas/GtqExternalAccountInfo' - - $ref: '#/components/schemas/HtgExternalAccountInfo' - - $ref: '#/components/schemas/JmdExternalAccountInfo' - - $ref: '#/components/schemas/PkrExternalAccountInfo' - - $ref: '#/components/schemas/SlvExternalAccountInfo' discriminator: propertyName: accountType mapping: + AED_ACCOUNT: '#/components/schemas/AedExternalAccountInfo' + BDT_ACCOUNT: '#/components/schemas/BdtExternalAccountInfo' BRL_ACCOUNT: '#/components/schemas/BrlExternalAccountInfo' + BWP_ACCOUNT: '#/components/schemas/BwpExternalAccountInfo' CAD_ACCOUNT: '#/components/schemas/CadExternalAccountInfo' + COP_ACCOUNT: '#/components/schemas/CopExternalAccountInfo' DKK_ACCOUNT: '#/components/schemas/DkkExternalAccountInfo' + EGP_ACCOUNT: '#/components/schemas/EgpExternalAccountInfo' EUR_ACCOUNT: '#/components/schemas/EurExternalAccountInfo' GBP_ACCOUNT: '#/components/schemas/GbpExternalAccountInfo' + GHS_ACCOUNT: '#/components/schemas/GhsExternalAccountInfo' + GTQ_ACCOUNT: '#/components/schemas/GtqExternalAccountInfo' HKD_ACCOUNT: '#/components/schemas/HkdExternalAccountInfo' + HTG_ACCOUNT: '#/components/schemas/HtgExternalAccountInfo' IDR_ACCOUNT: '#/components/schemas/IdrExternalAccountInfo' INR_ACCOUNT: '#/components/schemas/InrExternalAccountInfo' + JMD_ACCOUNT: '#/components/schemas/JmdExternalAccountInfo' KES_ACCOUNT: '#/components/schemas/KesExternalAccountInfo' MWK_ACCOUNT: '#/components/schemas/MwkExternalAccountInfo' MXN_ACCOUNT: '#/components/schemas/MxnExternalAccountInfo' MYR_ACCOUNT: '#/components/schemas/MyrExternalAccountInfo' NGN_ACCOUNT: '#/components/schemas/NgnExternalAccountInfo' PHP_ACCOUNT: '#/components/schemas/PhpExternalAccountInfo' + PKR_ACCOUNT: '#/components/schemas/PkrExternalAccountInfo' RWF_ACCOUNT: '#/components/schemas/RwfExternalAccountInfo' SGD_ACCOUNT: '#/components/schemas/SgdExternalAccountInfo' + SLV_ACCOUNT: '#/components/schemas/SlvExternalAccountInfo' THB_ACCOUNT: '#/components/schemas/ThbExternalAccountInfo' TZS_ACCOUNT: '#/components/schemas/TzsExternalAccountInfo' UGX_ACCOUNT: '#/components/schemas/UgxExternalAccountInfo' USD_ACCOUNT: '#/components/schemas/UsdExternalAccountInfo' VND_ACCOUNT: '#/components/schemas/VndExternalAccountInfo' + XAF_ACCOUNT: '#/components/schemas/XafExternalAccountInfo' XOF_ACCOUNT: '#/components/schemas/XofExternalAccountInfo' ZAR_ACCOUNT: '#/components/schemas/ZarExternalAccountInfo' ZMW_ACCOUNT: '#/components/schemas/ZmwExternalAccountInfo' - SPARK_WALLET: '#/components/schemas/SparkWalletExternalAccountInfo' - LIGHTNING: '#/components/schemas/LightningExternalAccountInfo' - SOLANA_WALLET: '#/components/schemas/SolanaWalletExternalAccountInfo' - TRON_WALLET: '#/components/schemas/TronWalletExternalAccountInfo' - POLYGON_WALLET: '#/components/schemas/PolygonWalletExternalAccountInfo' + SWIFT_ACCOUNT: '#/components/schemas/SwiftExternalAccountInfo' BASE_WALLET: '#/components/schemas/BaseWalletExternalAccountInfo' ETHEREUM_WALLET: '#/components/schemas/EthereumWalletExternalAccountInfo' - AED_ACCOUNT: '#/components/schemas/AedExternalAccountInfo' - BWP_ACCOUNT: '#/components/schemas/BwpExternalAccountInfo' - XAF_ACCOUNT: '#/components/schemas/XafExternalAccountInfo' - BDT_ACCOUNT: '#/components/schemas/BdtExternalAccountInfo' - COP_ACCOUNT: '#/components/schemas/CopExternalAccountInfo' - EGP_ACCOUNT: '#/components/schemas/EgpExternalAccountInfo' - GHS_ACCOUNT: '#/components/schemas/GhsExternalAccountInfo' - GTQ_ACCOUNT: '#/components/schemas/GtqExternalAccountInfo' - HTG_ACCOUNT: '#/components/schemas/HtgExternalAccountInfo' - JMD_ACCOUNT: '#/components/schemas/JmdExternalAccountInfo' + LIGHTNING: '#/components/schemas/LightningExternalAccountInfo' LIGHTNING_ACCOUNT: '#/components/schemas/LightningExternalAccountInfo' - PKR_ACCOUNT: '#/components/schemas/PkrExternalAccountInfo' - SLV_ACCOUNT: '#/components/schemas/SlvExternalAccountInfo' + POLYGON_WALLET: '#/components/schemas/PolygonWalletExternalAccountInfo' + SOLANA_WALLET: '#/components/schemas/SolanaWalletExternalAccountInfo' + SPARK_WALLET: '#/components/schemas/SparkWalletExternalAccountInfo' + TRON_WALLET: '#/components/schemas/TronWalletExternalAccountInfo' ExternalAccount: allOf: - type: object @@ -13192,6 +13310,26 @@ components: mapping: INDIVIDUAL: '#/components/schemas/AedBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' + BdtExternalAccountCreateInfo: + title: BDT Account + allOf: + - $ref: '#/components/schemas/BaseExternalAccountInfo' + - $ref: '#/components/schemas/BdtAccountInfoBase' + - type: object + required: + - beneficiary + properties: + beneficiary: + oneOf: + - title: Individual Beneficiary + $ref: '#/components/schemas/BdtBeneficiary' + - title: Business Beneficiary + $ref: '#/components/schemas/BusinessBeneficiary' + discriminator: + propertyName: beneficiaryType + mapping: + INDIVIDUAL: '#/components/schemas/BdtBeneficiary' + BUSINESS: '#/components/schemas/BusinessBeneficiary' BrlExternalAccountCreateInfo: title: BRL Account allOf: @@ -13252,11 +13390,11 @@ components: mapping: INDIVIDUAL: '#/components/schemas/CadBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - DkkExternalAccountCreateInfo: - title: DKK Account + CopExternalAccountCreateInfo: + title: COP Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/DkkAccountInfoBase' + - $ref: '#/components/schemas/CopAccountInfoBase' - type: object required: - beneficiary @@ -13264,19 +13402,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/DkkBeneficiary' + $ref: '#/components/schemas/CopBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/DkkBeneficiary' + INDIVIDUAL: '#/components/schemas/CopBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - EurExternalAccountCreateInfo: - title: EUR Account + DkkExternalAccountCreateInfo: + title: DKK Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/EurAccountInfoBase' + - $ref: '#/components/schemas/DkkAccountInfoBase' - type: object required: - beneficiary @@ -13284,19 +13422,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/EurBeneficiary' + $ref: '#/components/schemas/DkkBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/EurBeneficiary' + INDIVIDUAL: '#/components/schemas/DkkBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - GbpExternalAccountCreateInfo: - title: GBP Account + EgpExternalAccountCreateInfo: + title: EGP Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/GbpAccountInfoBase' + - $ref: '#/components/schemas/EgpAccountInfoBase' - type: object required: - beneficiary @@ -13304,19 +13442,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/GbpBeneficiary' + $ref: '#/components/schemas/EgpBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/GbpBeneficiary' + INDIVIDUAL: '#/components/schemas/EgpBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - HkdExternalAccountCreateInfo: - title: HKD Account + EurExternalAccountCreateInfo: + title: EUR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/HkdAccountInfoBase' + - $ref: '#/components/schemas/EurAccountInfoBase' - type: object required: - beneficiary @@ -13324,19 +13462,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/HkdBeneficiary' + $ref: '#/components/schemas/EurBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/HkdBeneficiary' + INDIVIDUAL: '#/components/schemas/EurBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - IdrExternalAccountCreateInfo: - title: IDR Account + GbpExternalAccountCreateInfo: + title: GBP Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/IdrAccountInfoBase' + - $ref: '#/components/schemas/GbpAccountInfoBase' - type: object required: - beneficiary @@ -13344,19 +13482,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/IdrBeneficiary' + $ref: '#/components/schemas/GbpBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/IdrBeneficiary' + INDIVIDUAL: '#/components/schemas/GbpBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - InrExternalAccountCreateInfo: - title: INR Account + GhsExternalAccountCreateInfo: + title: GHS Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/InrAccountInfoBase' + - $ref: '#/components/schemas/GhsAccountInfoBase' - type: object required: - beneficiary @@ -13364,19 +13502,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/InrBeneficiary' + $ref: '#/components/schemas/GhsBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/InrBeneficiary' + INDIVIDUAL: '#/components/schemas/GhsBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - KesExternalAccountCreateInfo: - title: KES Account + GtqExternalAccountCreateInfo: + title: GTQ Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/KesAccountInfoBase' + - $ref: '#/components/schemas/GtqAccountInfoBase' - type: object required: - beneficiary @@ -13384,19 +13522,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/KesBeneficiary' + $ref: '#/components/schemas/GtqBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/KesBeneficiary' + INDIVIDUAL: '#/components/schemas/GtqBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - MwkExternalAccountCreateInfo: - title: MWK Account + HkdExternalAccountCreateInfo: + title: HKD Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/MwkAccountInfoBase' + - $ref: '#/components/schemas/HkdAccountInfoBase' - type: object required: - beneficiary @@ -13404,19 +13542,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/MwkBeneficiary' + $ref: '#/components/schemas/HkdBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/MwkBeneficiary' + INDIVIDUAL: '#/components/schemas/HkdBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - MxnExternalAccountCreateInfo: - title: MXN Account + HtgExternalAccountCreateInfo: + title: HTG Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/MxnAccountInfoBase' + - $ref: '#/components/schemas/HtgAccountInfoBase' - type: object required: - beneficiary @@ -13424,19 +13562,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/MxnBeneficiary' + $ref: '#/components/schemas/HtgBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/MxnBeneficiary' + INDIVIDUAL: '#/components/schemas/HtgBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - MyrExternalAccountCreateInfo: - title: MYR Account + IdrExternalAccountCreateInfo: + title: IDR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/MyrAccountInfoBase' + - $ref: '#/components/schemas/IdrAccountInfoBase' - type: object required: - beneficiary @@ -13444,19 +13582,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/MyrBeneficiary' + $ref: '#/components/schemas/IdrBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/MyrBeneficiary' + INDIVIDUAL: '#/components/schemas/IdrBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - NgnExternalAccountCreateInfo: - title: NGN Account + InrExternalAccountCreateInfo: + title: INR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/NgnAccountInfoBase' + - $ref: '#/components/schemas/InrAccountInfoBase' - type: object required: - beneficiary @@ -13464,19 +13602,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/NgnBeneficiary' + $ref: '#/components/schemas/InrBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/NgnBeneficiary' - BUSINESS: '#/components/schemas/BusinessBeneficiary' - PhpExternalAccountCreateInfo: - title: PHP Account + INDIVIDUAL: '#/components/schemas/InrBeneficiary' + BUSINESS: '#/components/schemas/BusinessBeneficiary' + JmdExternalAccountCreateInfo: + title: JMD Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/PhpAccountInfoBase' + - $ref: '#/components/schemas/JmdAccountInfoBase' - type: object required: - beneficiary @@ -13484,19 +13622,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/PhpBeneficiary' + $ref: '#/components/schemas/JmdBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/PhpBeneficiary' + INDIVIDUAL: '#/components/schemas/JmdBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - RwfExternalAccountCreateInfo: - title: RWF Account + KesExternalAccountCreateInfo: + title: KES Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/RwfAccountInfoBase' + - $ref: '#/components/schemas/KesAccountInfoBase' - type: object required: - beneficiary @@ -13504,19 +13642,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/RwfBeneficiary' + $ref: '#/components/schemas/KesBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/RwfBeneficiary' + INDIVIDUAL: '#/components/schemas/KesBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - SgdExternalAccountCreateInfo: - title: SGD Account + MwkExternalAccountCreateInfo: + title: MWK Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/SgdAccountInfoBase' + - $ref: '#/components/schemas/MwkAccountInfoBase' - type: object required: - beneficiary @@ -13524,19 +13662,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/SgdBeneficiary' + $ref: '#/components/schemas/MwkBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/SgdBeneficiary' + INDIVIDUAL: '#/components/schemas/MwkBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - ThbExternalAccountCreateInfo: - title: THB Account + MxnExternalAccountCreateInfo: + title: MXN Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/ThbAccountInfoBase' + - $ref: '#/components/schemas/MxnAccountInfoBase' - type: object required: - beneficiary @@ -13544,19 +13682,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/ThbBeneficiary' + $ref: '#/components/schemas/MxnBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/ThbBeneficiary' + INDIVIDUAL: '#/components/schemas/MxnBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - TzsExternalAccountCreateInfo: - title: TZS Account + MyrExternalAccountCreateInfo: + title: MYR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/TzsAccountInfoBase' + - $ref: '#/components/schemas/MyrAccountInfoBase' - type: object required: - beneficiary @@ -13564,19 +13702,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/TzsBeneficiary' + $ref: '#/components/schemas/MyrBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/TzsBeneficiary' + INDIVIDUAL: '#/components/schemas/MyrBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - UgxExternalAccountCreateInfo: - title: UGX Account + NgnExternalAccountCreateInfo: + title: NGN Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/UgxAccountInfoBase' + - $ref: '#/components/schemas/NgnAccountInfoBase' - type: object required: - beneficiary @@ -13584,19 +13722,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/UgxBeneficiary' + $ref: '#/components/schemas/NgnBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/UgxBeneficiary' + INDIVIDUAL: '#/components/schemas/NgnBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - UsdExternalAccountCreateInfo: - title: USD Account + PhpExternalAccountCreateInfo: + title: PHP Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/UsdAccountInfoBase' + - $ref: '#/components/schemas/PhpAccountInfoBase' - type: object required: - beneficiary @@ -13604,19 +13742,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/UsdBeneficiary' + $ref: '#/components/schemas/PhpBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/UsdBeneficiary' + INDIVIDUAL: '#/components/schemas/PhpBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - VndExternalAccountCreateInfo: - title: VND Account + PkrExternalAccountCreateInfo: + title: PKR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/VndAccountInfoBase' + - $ref: '#/components/schemas/PkrAccountInfoBase' - type: object required: - beneficiary @@ -13624,19 +13762,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/VndBeneficiary' + $ref: '#/components/schemas/PkrBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/VndBeneficiary' + INDIVIDUAL: '#/components/schemas/PkrBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - XafExternalAccountCreateInfo: - title: XAF Account + RwfExternalAccountCreateInfo: + title: RWF Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/XafAccountInfoBase' + - $ref: '#/components/schemas/RwfAccountInfoBase' - type: object required: - beneficiary @@ -13644,19 +13782,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/XafBeneficiary' + $ref: '#/components/schemas/RwfBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/XafBeneficiary' + INDIVIDUAL: '#/components/schemas/RwfBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - XofExternalAccountCreateInfo: - title: XOF Account + SgdExternalAccountCreateInfo: + title: SGD Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/XofAccountInfoBase' + - $ref: '#/components/schemas/SgdAccountInfoBase' - type: object required: - beneficiary @@ -13664,19 +13802,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/XofBeneficiary' + $ref: '#/components/schemas/SgdBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/XofBeneficiary' + INDIVIDUAL: '#/components/schemas/SgdBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - ZarExternalAccountCreateInfo: - title: ZAR Account + SlvExternalAccountCreateInfo: + title: SLV Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/ZarAccountInfoBase' + - $ref: '#/components/schemas/SlvAccountInfoBase' - type: object required: - beneficiary @@ -13684,19 +13822,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/ZarBeneficiary' + $ref: '#/components/schemas/SlvBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/ZarBeneficiary' + INDIVIDUAL: '#/components/schemas/SlvBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - ZmwExternalAccountCreateInfo: - title: ZMW Account + ThbExternalAccountCreateInfo: + title: THB Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/ZmwAccountInfoBase' + - $ref: '#/components/schemas/ThbAccountInfoBase' - type: object required: - beneficiary @@ -13704,19 +13842,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/ZmwBeneficiary' + $ref: '#/components/schemas/ThbBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/ZmwBeneficiary' + INDIVIDUAL: '#/components/schemas/ThbBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - BdtExternalAccountCreateInfo: - title: BDT Account + TzsExternalAccountCreateInfo: + title: TZS Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/BdtAccountInfoBase' + - $ref: '#/components/schemas/TzsAccountInfoBase' - type: object required: - beneficiary @@ -13724,19 +13862,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/BdtBeneficiary' + $ref: '#/components/schemas/TzsBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/BdtBeneficiary' + INDIVIDUAL: '#/components/schemas/TzsBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - CopExternalAccountCreateInfo: - title: COP Account + UgxExternalAccountCreateInfo: + title: UGX Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/CopAccountInfoBase' + - $ref: '#/components/schemas/UgxAccountInfoBase' - type: object required: - beneficiary @@ -13744,19 +13882,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/CopBeneficiary' + $ref: '#/components/schemas/UgxBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/CopBeneficiary' + INDIVIDUAL: '#/components/schemas/UgxBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - EgpExternalAccountCreateInfo: - title: EGP Account + UsdExternalAccountCreateInfo: + title: USD Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/EgpAccountInfoBase' + - $ref: '#/components/schemas/UsdAccountInfoBase' - type: object required: - beneficiary @@ -13764,19 +13902,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/EgpBeneficiary' + $ref: '#/components/schemas/UsdBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/EgpBeneficiary' + INDIVIDUAL: '#/components/schemas/UsdBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - GhsExternalAccountCreateInfo: - title: GHS Account + VndExternalAccountCreateInfo: + title: VND Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/GhsAccountInfoBase' + - $ref: '#/components/schemas/VndAccountInfoBase' - type: object required: - beneficiary @@ -13784,19 +13922,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/GhsBeneficiary' + $ref: '#/components/schemas/VndBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/GhsBeneficiary' + INDIVIDUAL: '#/components/schemas/VndBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - GtqExternalAccountCreateInfo: - title: GTQ Account + XafExternalAccountCreateInfo: + title: XAF Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/GtqAccountInfoBase' + - $ref: '#/components/schemas/XafAccountInfoBase' - type: object required: - beneficiary @@ -13804,19 +13942,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/GtqBeneficiary' + $ref: '#/components/schemas/XafBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/GtqBeneficiary' + INDIVIDUAL: '#/components/schemas/XafBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - HtgExternalAccountCreateInfo: - title: HTG Account + XofExternalAccountCreateInfo: + title: XOF Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/HtgAccountInfoBase' + - $ref: '#/components/schemas/XofAccountInfoBase' - type: object required: - beneficiary @@ -13824,19 +13962,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/HtgBeneficiary' + $ref: '#/components/schemas/XofBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/HtgBeneficiary' + INDIVIDUAL: '#/components/schemas/XofBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - JmdExternalAccountCreateInfo: - title: JMD Account + ZarExternalAccountCreateInfo: + title: ZAR Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/JmdAccountInfoBase' + - $ref: '#/components/schemas/ZarAccountInfoBase' - type: object required: - beneficiary @@ -13844,19 +13982,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/JmdBeneficiary' + $ref: '#/components/schemas/ZarBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/JmdBeneficiary' + INDIVIDUAL: '#/components/schemas/ZarBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - PkrExternalAccountCreateInfo: - title: PKR Account + ZmwExternalAccountCreateInfo: + title: ZMW Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/PkrAccountInfoBase' + - $ref: '#/components/schemas/ZmwAccountInfoBase' - type: object required: - beneficiary @@ -13864,19 +14002,19 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/PkrBeneficiary' + $ref: '#/components/schemas/ZmwBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/PkrBeneficiary' + INDIVIDUAL: '#/components/schemas/ZmwBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' - SlvExternalAccountCreateInfo: - title: SLV Account + SwiftExternalAccountCreateInfo: + title: SWIFT Account allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - - $ref: '#/components/schemas/SlvAccountInfoBase' + - $ref: '#/components/schemas/SwiftAccountInfoBase' - type: object required: - beneficiary @@ -13884,34 +14022,43 @@ components: beneficiary: oneOf: - title: Individual Beneficiary - $ref: '#/components/schemas/SlvBeneficiary' + $ref: '#/components/schemas/SwiftBeneficiary' - title: Business Beneficiary $ref: '#/components/schemas/BusinessBeneficiary' discriminator: propertyName: beneficiaryType mapping: - INDIVIDUAL: '#/components/schemas/SlvBeneficiary' + INDIVIDUAL: '#/components/schemas/SwiftBeneficiary' BUSINESS: '#/components/schemas/BusinessBeneficiary' ExternalAccountCreateInfoOneOf: oneOf: - $ref: '#/components/schemas/AedExternalAccountCreateInfo' + - $ref: '#/components/schemas/BdtExternalAccountCreateInfo' - $ref: '#/components/schemas/BrlExternalAccountCreateInfo' - $ref: '#/components/schemas/BwpExternalAccountCreateInfo' - $ref: '#/components/schemas/CadExternalAccountCreateInfo' + - $ref: '#/components/schemas/CopExternalAccountCreateInfo' - $ref: '#/components/schemas/DkkExternalAccountCreateInfo' + - $ref: '#/components/schemas/EgpExternalAccountCreateInfo' - $ref: '#/components/schemas/EurExternalAccountCreateInfo' - $ref: '#/components/schemas/GbpExternalAccountCreateInfo' + - $ref: '#/components/schemas/GhsExternalAccountCreateInfo' + - $ref: '#/components/schemas/GtqExternalAccountCreateInfo' - $ref: '#/components/schemas/HkdExternalAccountCreateInfo' + - $ref: '#/components/schemas/HtgExternalAccountCreateInfo' - $ref: '#/components/schemas/IdrExternalAccountCreateInfo' - $ref: '#/components/schemas/InrExternalAccountCreateInfo' + - $ref: '#/components/schemas/JmdExternalAccountCreateInfo' - $ref: '#/components/schemas/KesExternalAccountCreateInfo' - $ref: '#/components/schemas/MwkExternalAccountCreateInfo' - $ref: '#/components/schemas/MxnExternalAccountCreateInfo' - $ref: '#/components/schemas/MyrExternalAccountCreateInfo' - $ref: '#/components/schemas/NgnExternalAccountCreateInfo' - $ref: '#/components/schemas/PhpExternalAccountCreateInfo' + - $ref: '#/components/schemas/PkrExternalAccountCreateInfo' - $ref: '#/components/schemas/RwfExternalAccountCreateInfo' - $ref: '#/components/schemas/SgdExternalAccountCreateInfo' + - $ref: '#/components/schemas/SlvExternalAccountCreateInfo' - $ref: '#/components/schemas/ThbExternalAccountCreateInfo' - $ref: '#/components/schemas/TzsExternalAccountCreateInfo' - $ref: '#/components/schemas/UgxExternalAccountCreateInfo' @@ -13921,43 +14068,44 @@ components: - $ref: '#/components/schemas/XofExternalAccountCreateInfo' - $ref: '#/components/schemas/ZarExternalAccountCreateInfo' - $ref: '#/components/schemas/ZmwExternalAccountCreateInfo' - - $ref: '#/components/schemas/BdtExternalAccountCreateInfo' - - $ref: '#/components/schemas/CopExternalAccountCreateInfo' - - $ref: '#/components/schemas/EgpExternalAccountCreateInfo' - - $ref: '#/components/schemas/GhsExternalAccountCreateInfo' - - $ref: '#/components/schemas/GtqExternalAccountCreateInfo' - - $ref: '#/components/schemas/HtgExternalAccountCreateInfo' - - $ref: '#/components/schemas/JmdExternalAccountCreateInfo' - - $ref: '#/components/schemas/PkrExternalAccountCreateInfo' - - $ref: '#/components/schemas/SlvExternalAccountCreateInfo' - - $ref: '#/components/schemas/SparkWalletExternalAccountInfo' + - $ref: '#/components/schemas/SwiftExternalAccountCreateInfo' + - $ref: '#/components/schemas/BaseWalletExternalAccountInfo' + - $ref: '#/components/schemas/EthereumWalletExternalAccountInfo' - $ref: '#/components/schemas/LightningExternalAccountInfo' + - $ref: '#/components/schemas/PolygonWalletExternalAccountInfo' - $ref: '#/components/schemas/SolanaWalletExternalAccountInfo' + - $ref: '#/components/schemas/SparkWalletExternalAccountInfo' - $ref: '#/components/schemas/TronWalletExternalAccountInfo' - - $ref: '#/components/schemas/PolygonWalletExternalAccountInfo' - - $ref: '#/components/schemas/BaseWalletExternalAccountInfo' - - $ref: '#/components/schemas/EthereumWalletExternalAccountInfo' discriminator: propertyName: accountType mapping: AED_ACCOUNT: '#/components/schemas/AedExternalAccountCreateInfo' + BDT_ACCOUNT: '#/components/schemas/BdtExternalAccountCreateInfo' BRL_ACCOUNT: '#/components/schemas/BrlExternalAccountCreateInfo' BWP_ACCOUNT: '#/components/schemas/BwpExternalAccountCreateInfo' CAD_ACCOUNT: '#/components/schemas/CadExternalAccountCreateInfo' + COP_ACCOUNT: '#/components/schemas/CopExternalAccountCreateInfo' DKK_ACCOUNT: '#/components/schemas/DkkExternalAccountCreateInfo' + EGP_ACCOUNT: '#/components/schemas/EgpExternalAccountCreateInfo' EUR_ACCOUNT: '#/components/schemas/EurExternalAccountCreateInfo' GBP_ACCOUNT: '#/components/schemas/GbpExternalAccountCreateInfo' + GHS_ACCOUNT: '#/components/schemas/GhsExternalAccountCreateInfo' + GTQ_ACCOUNT: '#/components/schemas/GtqExternalAccountCreateInfo' HKD_ACCOUNT: '#/components/schemas/HkdExternalAccountCreateInfo' + HTG_ACCOUNT: '#/components/schemas/HtgExternalAccountCreateInfo' IDR_ACCOUNT: '#/components/schemas/IdrExternalAccountCreateInfo' INR_ACCOUNT: '#/components/schemas/InrExternalAccountCreateInfo' + JMD_ACCOUNT: '#/components/schemas/JmdExternalAccountCreateInfo' KES_ACCOUNT: '#/components/schemas/KesExternalAccountCreateInfo' MWK_ACCOUNT: '#/components/schemas/MwkExternalAccountCreateInfo' MXN_ACCOUNT: '#/components/schemas/MxnExternalAccountCreateInfo' MYR_ACCOUNT: '#/components/schemas/MyrExternalAccountCreateInfo' NGN_ACCOUNT: '#/components/schemas/NgnExternalAccountCreateInfo' PHP_ACCOUNT: '#/components/schemas/PhpExternalAccountCreateInfo' + PKR_ACCOUNT: '#/components/schemas/PkrExternalAccountCreateInfo' RWF_ACCOUNT: '#/components/schemas/RwfExternalAccountCreateInfo' SGD_ACCOUNT: '#/components/schemas/SgdExternalAccountCreateInfo' + SLV_ACCOUNT: '#/components/schemas/SlvExternalAccountCreateInfo' THB_ACCOUNT: '#/components/schemas/ThbExternalAccountCreateInfo' TZS_ACCOUNT: '#/components/schemas/TzsExternalAccountCreateInfo' UGX_ACCOUNT: '#/components/schemas/UgxExternalAccountCreateInfo' @@ -13967,22 +14115,14 @@ components: XOF_ACCOUNT: '#/components/schemas/XofExternalAccountCreateInfo' ZAR_ACCOUNT: '#/components/schemas/ZarExternalAccountCreateInfo' ZMW_ACCOUNT: '#/components/schemas/ZmwExternalAccountCreateInfo' - BDT_ACCOUNT: '#/components/schemas/BdtExternalAccountCreateInfo' - COP_ACCOUNT: '#/components/schemas/CopExternalAccountCreateInfo' - EGP_ACCOUNT: '#/components/schemas/EgpExternalAccountCreateInfo' - GHS_ACCOUNT: '#/components/schemas/GhsExternalAccountCreateInfo' - GTQ_ACCOUNT: '#/components/schemas/GtqExternalAccountCreateInfo' - HTG_ACCOUNT: '#/components/schemas/HtgExternalAccountCreateInfo' - JMD_ACCOUNT: '#/components/schemas/JmdExternalAccountCreateInfo' - PKR_ACCOUNT: '#/components/schemas/PkrExternalAccountCreateInfo' - SLV_ACCOUNT: '#/components/schemas/SlvExternalAccountCreateInfo' - SPARK_WALLET: '#/components/schemas/SparkWalletExternalAccountInfo' + SWIFT_ACCOUNT: '#/components/schemas/SwiftExternalAccountCreateInfo' + BASE_WALLET: '#/components/schemas/BaseWalletExternalAccountInfo' + ETHEREUM_WALLET: '#/components/schemas/EthereumWalletExternalAccountInfo' LIGHTNING: '#/components/schemas/LightningExternalAccountInfo' + POLYGON_WALLET: '#/components/schemas/PolygonWalletExternalAccountInfo' SOLANA_WALLET: '#/components/schemas/SolanaWalletExternalAccountInfo' + SPARK_WALLET: '#/components/schemas/SparkWalletExternalAccountInfo' TRON_WALLET: '#/components/schemas/TronWalletExternalAccountInfo' - POLYGON_WALLET: '#/components/schemas/PolygonWalletExternalAccountInfo' - BASE_WALLET: '#/components/schemas/BaseWalletExternalAccountInfo' - ETHEREUM_WALLET: '#/components/schemas/EthereumWalletExternalAccountInfo' ExternalAccountCreateRequest: allOf: - type: object diff --git a/openapi/components/schemas/common/SwiftAccountInfo.yaml b/openapi/components/schemas/common/SwiftAccountInfo.yaml new file mode 100644 index 00000000..aa8abf83 --- /dev/null +++ b/openapi/components/schemas/common/SwiftAccountInfo.yaml @@ -0,0 +1,12 @@ +allOf: +- $ref: ./SwiftAccountInfoBase.yaml +- type: object + required: + - paymentRails + properties: + paymentRails: + type: array + items: + type: string + enum: + - SWIFT diff --git a/openapi/components/schemas/common/SwiftAccountInfoBase.yaml b/openapi/components/schemas/common/SwiftAccountInfoBase.yaml new file mode 100644 index 00000000..d8550a5e --- /dev/null +++ b/openapi/components/schemas/common/SwiftAccountInfoBase.yaml @@ -0,0 +1,54 @@ +type: object +required: +- accountType +- swiftCode +- bankName +- country +properties: + accountType: + type: string + enum: + - SWIFT_ACCOUNT + country: + type: string + description: The ISO 3166-1 alpha-2 country code of the bank account + example: NG + minLength: 2 + maxLength: 2 + pattern: ^[A-Z]{2}$ + swiftCode: + type: string + description: The SWIFT/BIC code of the bank + example: DEUTDEFF + minLength: 8 + maxLength: 11 + pattern: ^[A-Z]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?$ + bankName: + type: string + description: The name of the bank + example: Deutsche Bank + minLength: 1 + maxLength: 255 + accountNumber: + type: string + description: >- + The bank account number. Required for most corridors. + Use iban instead for IBAN-only corridors (e.g. BR, GB). + example: '1234567890' + minLength: 1 + maxLength: 34 + iban: + type: string + description: >- + The IBAN of the bank account. Required for IBAN-only corridors (e.g. BR, GB). + Use accountNumber for all other corridors. + example: GB29NWBK60161331926819 + minLength: 15 + maxLength: 34 + pattern: ^[A-Z]{2}[0-9]{2}[A-Za-z0-9]{11,30}$ +example: + accountType: SWIFT_ACCOUNT + country: NG + swiftCode: DEUTDEFF + bankName: Deutsche Bank + accountNumber: '1234567890' diff --git a/openapi/components/schemas/common/SwiftBeneficiary.yaml b/openapi/components/schemas/common/SwiftBeneficiary.yaml new file mode 100644 index 00000000..d9332d63 --- /dev/null +++ b/openapi/components/schemas/common/SwiftBeneficiary.yaml @@ -0,0 +1,30 @@ +title: Individual Beneficiary +type: object +required: +- beneficiaryType +- fullName +properties: + beneficiaryType: + type: string + enum: + - INDIVIDUAL + fullName: + type: string + description: The full name of the beneficiary + birthDate: + type: string + description: The birth date of the beneficiary + nationality: + type: string + description: The nationality of the beneficiary + email: + type: string + description: The email of the beneficiary + phoneNumber: + type: string + description: The phone number of the beneficiary + countryOfResidence: + type: string + description: The country of residence of the beneficiary + address: + $ref: ./Address.yaml diff --git a/openapi/components/schemas/external_accounts/ExternalAccountCreateInfoOneOf.yaml b/openapi/components/schemas/external_accounts/ExternalAccountCreateInfoOneOf.yaml index bf8da25f..238000ee 100644 --- a/openapi/components/schemas/external_accounts/ExternalAccountCreateInfoOneOf.yaml +++ b/openapi/components/schemas/external_accounts/ExternalAccountCreateInfoOneOf.yaml @@ -1,22 +1,31 @@ oneOf: - $ref: ./AedExternalAccountCreateInfo.yaml +- $ref: ./BdtExternalAccountCreateInfo.yaml - $ref: ./BrlExternalAccountCreateInfo.yaml - $ref: ./BwpExternalAccountCreateInfo.yaml - $ref: ./CadExternalAccountCreateInfo.yaml +- $ref: ./CopExternalAccountCreateInfo.yaml - $ref: ./DkkExternalAccountCreateInfo.yaml +- $ref: ./EgpExternalAccountCreateInfo.yaml - $ref: ./EurExternalAccountCreateInfo.yaml - $ref: ./GbpExternalAccountCreateInfo.yaml +- $ref: ./GhsExternalAccountCreateInfo.yaml +- $ref: ./GtqExternalAccountCreateInfo.yaml - $ref: ./HkdExternalAccountCreateInfo.yaml +- $ref: ./HtgExternalAccountCreateInfo.yaml - $ref: ./IdrExternalAccountCreateInfo.yaml - $ref: ./InrExternalAccountCreateInfo.yaml +- $ref: ./JmdExternalAccountCreateInfo.yaml - $ref: ./KesExternalAccountCreateInfo.yaml - $ref: ./MwkExternalAccountCreateInfo.yaml - $ref: ./MxnExternalAccountCreateInfo.yaml - $ref: ./MyrExternalAccountCreateInfo.yaml - $ref: ./NgnExternalAccountCreateInfo.yaml - $ref: ./PhpExternalAccountCreateInfo.yaml +- $ref: ./PkrExternalAccountCreateInfo.yaml - $ref: ./RwfExternalAccountCreateInfo.yaml - $ref: ./SgdExternalAccountCreateInfo.yaml +- $ref: ./SlvExternalAccountCreateInfo.yaml - $ref: ./ThbExternalAccountCreateInfo.yaml - $ref: ./TzsExternalAccountCreateInfo.yaml - $ref: ./UgxExternalAccountCreateInfo.yaml @@ -26,43 +35,44 @@ oneOf: - $ref: ./XofExternalAccountCreateInfo.yaml - $ref: ./ZarExternalAccountCreateInfo.yaml - $ref: ./ZmwExternalAccountCreateInfo.yaml -- $ref: ./BdtExternalAccountCreateInfo.yaml -- $ref: ./CopExternalAccountCreateInfo.yaml -- $ref: ./EgpExternalAccountCreateInfo.yaml -- $ref: ./GhsExternalAccountCreateInfo.yaml -- $ref: ./GtqExternalAccountCreateInfo.yaml -- $ref: ./HtgExternalAccountCreateInfo.yaml -- $ref: ./JmdExternalAccountCreateInfo.yaml -- $ref: ./PkrExternalAccountCreateInfo.yaml -- $ref: ./SlvExternalAccountCreateInfo.yaml -- $ref: ./SparkWalletExternalAccountInfo.yaml +- $ref: ./SwiftExternalAccountCreateInfo.yaml +- $ref: ./BaseWalletExternalAccountInfo.yaml +- $ref: ./EthereumWalletExternalAccountInfo.yaml - $ref: ./LightningExternalAccountInfo.yaml +- $ref: ./PolygonWalletExternalAccountInfo.yaml - $ref: ./SolanaWalletExternalAccountInfo.yaml +- $ref: ./SparkWalletExternalAccountInfo.yaml - $ref: ./TronWalletExternalAccountInfo.yaml -- $ref: ./PolygonWalletExternalAccountInfo.yaml -- $ref: ./BaseWalletExternalAccountInfo.yaml -- $ref: ./EthereumWalletExternalAccountInfo.yaml discriminator: propertyName: accountType mapping: AED_ACCOUNT: ./AedExternalAccountCreateInfo.yaml + BDT_ACCOUNT: ./BdtExternalAccountCreateInfo.yaml BRL_ACCOUNT: ./BrlExternalAccountCreateInfo.yaml BWP_ACCOUNT: ./BwpExternalAccountCreateInfo.yaml CAD_ACCOUNT: ./CadExternalAccountCreateInfo.yaml + COP_ACCOUNT: ./CopExternalAccountCreateInfo.yaml DKK_ACCOUNT: ./DkkExternalAccountCreateInfo.yaml + EGP_ACCOUNT: ./EgpExternalAccountCreateInfo.yaml EUR_ACCOUNT: ./EurExternalAccountCreateInfo.yaml GBP_ACCOUNT: ./GbpExternalAccountCreateInfo.yaml + GHS_ACCOUNT: ./GhsExternalAccountCreateInfo.yaml + GTQ_ACCOUNT: ./GtqExternalAccountCreateInfo.yaml HKD_ACCOUNT: ./HkdExternalAccountCreateInfo.yaml + HTG_ACCOUNT: ./HtgExternalAccountCreateInfo.yaml IDR_ACCOUNT: ./IdrExternalAccountCreateInfo.yaml INR_ACCOUNT: ./InrExternalAccountCreateInfo.yaml + JMD_ACCOUNT: ./JmdExternalAccountCreateInfo.yaml KES_ACCOUNT: ./KesExternalAccountCreateInfo.yaml MWK_ACCOUNT: ./MwkExternalAccountCreateInfo.yaml MXN_ACCOUNT: ./MxnExternalAccountCreateInfo.yaml MYR_ACCOUNT: ./MyrExternalAccountCreateInfo.yaml NGN_ACCOUNT: ./NgnExternalAccountCreateInfo.yaml PHP_ACCOUNT: ./PhpExternalAccountCreateInfo.yaml + PKR_ACCOUNT: ./PkrExternalAccountCreateInfo.yaml RWF_ACCOUNT: ./RwfExternalAccountCreateInfo.yaml SGD_ACCOUNT: ./SgdExternalAccountCreateInfo.yaml + SLV_ACCOUNT: ./SlvExternalAccountCreateInfo.yaml THB_ACCOUNT: ./ThbExternalAccountCreateInfo.yaml TZS_ACCOUNT: ./TzsExternalAccountCreateInfo.yaml UGX_ACCOUNT: ./UgxExternalAccountCreateInfo.yaml @@ -72,19 +82,11 @@ discriminator: XOF_ACCOUNT: ./XofExternalAccountCreateInfo.yaml ZAR_ACCOUNT: ./ZarExternalAccountCreateInfo.yaml ZMW_ACCOUNT: ./ZmwExternalAccountCreateInfo.yaml - BDT_ACCOUNT: ./BdtExternalAccountCreateInfo.yaml - COP_ACCOUNT: ./CopExternalAccountCreateInfo.yaml - EGP_ACCOUNT: ./EgpExternalAccountCreateInfo.yaml - GHS_ACCOUNT: ./GhsExternalAccountCreateInfo.yaml - GTQ_ACCOUNT: ./GtqExternalAccountCreateInfo.yaml - HTG_ACCOUNT: ./HtgExternalAccountCreateInfo.yaml - JMD_ACCOUNT: ./JmdExternalAccountCreateInfo.yaml - PKR_ACCOUNT: ./PkrExternalAccountCreateInfo.yaml - SLV_ACCOUNT: ./SlvExternalAccountCreateInfo.yaml - SPARK_WALLET: ./SparkWalletExternalAccountInfo.yaml + SWIFT_ACCOUNT: ./SwiftExternalAccountCreateInfo.yaml + BASE_WALLET: ./BaseWalletExternalAccountInfo.yaml + ETHEREUM_WALLET: ./EthereumWalletExternalAccountInfo.yaml LIGHTNING: ./LightningExternalAccountInfo.yaml + POLYGON_WALLET: ./PolygonWalletExternalAccountInfo.yaml SOLANA_WALLET: ./SolanaWalletExternalAccountInfo.yaml + SPARK_WALLET: ./SparkWalletExternalAccountInfo.yaml TRON_WALLET: ./TronWalletExternalAccountInfo.yaml - POLYGON_WALLET: ./PolygonWalletExternalAccountInfo.yaml - BASE_WALLET: ./BaseWalletExternalAccountInfo.yaml - ETHEREUM_WALLET: ./EthereumWalletExternalAccountInfo.yaml diff --git a/openapi/components/schemas/external_accounts/ExternalAccountInfoOneOf.yaml b/openapi/components/schemas/external_accounts/ExternalAccountInfoOneOf.yaml index a3640e0b..03b4f970 100644 --- a/openapi/components/schemas/external_accounts/ExternalAccountInfoOneOf.yaml +++ b/openapi/components/schemas/external_accounts/ExternalAccountInfoOneOf.yaml @@ -1,91 +1,93 @@ oneOf: +- $ref: ./AedExternalAccountInfo.yaml +- $ref: ./BdtExternalAccountInfo.yaml - $ref: ./BrlExternalAccountInfo.yaml +- $ref: ./BwpExternalAccountInfo.yaml - $ref: ./CadExternalAccountInfo.yaml +- $ref: ./CopExternalAccountInfo.yaml - $ref: ./DkkExternalAccountInfo.yaml +- $ref: ./EgpExternalAccountInfo.yaml - $ref: ./EurExternalAccountInfo.yaml - $ref: ./GbpExternalAccountInfo.yaml +- $ref: ./GhsExternalAccountInfo.yaml +- $ref: ./GtqExternalAccountInfo.yaml - $ref: ./HkdExternalAccountInfo.yaml +- $ref: ./HtgExternalAccountInfo.yaml - $ref: ./IdrExternalAccountInfo.yaml - $ref: ./InrExternalAccountInfo.yaml +- $ref: ./JmdExternalAccountInfo.yaml - $ref: ./KesExternalAccountInfo.yaml - $ref: ./MwkExternalAccountInfo.yaml - $ref: ./MxnExternalAccountInfo.yaml - $ref: ./MyrExternalAccountInfo.yaml - $ref: ./NgnExternalAccountInfo.yaml - $ref: ./PhpExternalAccountInfo.yaml +- $ref: ./PkrExternalAccountInfo.yaml - $ref: ./RwfExternalAccountInfo.yaml - $ref: ./SgdExternalAccountInfo.yaml +- $ref: ./SlvExternalAccountInfo.yaml - $ref: ./ThbExternalAccountInfo.yaml - $ref: ./TzsExternalAccountInfo.yaml - $ref: ./UgxExternalAccountInfo.yaml - $ref: ./UsdExternalAccountInfo.yaml - $ref: ./VndExternalAccountInfo.yaml +- $ref: ./XafExternalAccountInfo.yaml - $ref: ./XofExternalAccountInfo.yaml - $ref: ./ZarExternalAccountInfo.yaml - $ref: ./ZmwExternalAccountInfo.yaml -- $ref: ./SparkWalletExternalAccountInfo.yaml +- $ref: ./SwiftExternalAccountInfo.yaml +- $ref: ./BaseWalletExternalAccountInfo.yaml +- $ref: ./EthereumWalletExternalAccountInfo.yaml - $ref: ./LightningExternalAccountInfo.yaml +- $ref: ./PolygonWalletExternalAccountInfo.yaml - $ref: ./SolanaWalletExternalAccountInfo.yaml +- $ref: ./SparkWalletExternalAccountInfo.yaml - $ref: ./TronWalletExternalAccountInfo.yaml -- $ref: ./PolygonWalletExternalAccountInfo.yaml -- $ref: ./BaseWalletExternalAccountInfo.yaml -- $ref: ./EthereumWalletExternalAccountInfo.yaml -- $ref: ./AedExternalAccountInfo.yaml -- $ref: ./BwpExternalAccountInfo.yaml -- $ref: ./XafExternalAccountInfo.yaml -- $ref: ./BdtExternalAccountInfo.yaml -- $ref: ./CopExternalAccountInfo.yaml -- $ref: ./EgpExternalAccountInfo.yaml -- $ref: ./GhsExternalAccountInfo.yaml -- $ref: ./GtqExternalAccountInfo.yaml -- $ref: ./HtgExternalAccountInfo.yaml -- $ref: ./JmdExternalAccountInfo.yaml -- $ref: ./PkrExternalAccountInfo.yaml -- $ref: ./SlvExternalAccountInfo.yaml discriminator: propertyName: accountType mapping: + AED_ACCOUNT: ./AedExternalAccountInfo.yaml + BDT_ACCOUNT: ./BdtExternalAccountInfo.yaml BRL_ACCOUNT: ./BrlExternalAccountInfo.yaml + BWP_ACCOUNT: ./BwpExternalAccountInfo.yaml CAD_ACCOUNT: ./CadExternalAccountInfo.yaml + COP_ACCOUNT: ./CopExternalAccountInfo.yaml DKK_ACCOUNT: ./DkkExternalAccountInfo.yaml + EGP_ACCOUNT: ./EgpExternalAccountInfo.yaml EUR_ACCOUNT: ./EurExternalAccountInfo.yaml GBP_ACCOUNT: ./GbpExternalAccountInfo.yaml + GHS_ACCOUNT: ./GhsExternalAccountInfo.yaml + GTQ_ACCOUNT: ./GtqExternalAccountInfo.yaml HKD_ACCOUNT: ./HkdExternalAccountInfo.yaml + HTG_ACCOUNT: ./HtgExternalAccountInfo.yaml IDR_ACCOUNT: ./IdrExternalAccountInfo.yaml INR_ACCOUNT: ./InrExternalAccountInfo.yaml + JMD_ACCOUNT: ./JmdExternalAccountInfo.yaml KES_ACCOUNT: ./KesExternalAccountInfo.yaml MWK_ACCOUNT: ./MwkExternalAccountInfo.yaml MXN_ACCOUNT: ./MxnExternalAccountInfo.yaml MYR_ACCOUNT: ./MyrExternalAccountInfo.yaml NGN_ACCOUNT: ./NgnExternalAccountInfo.yaml PHP_ACCOUNT: ./PhpExternalAccountInfo.yaml + PKR_ACCOUNT: ./PkrExternalAccountInfo.yaml RWF_ACCOUNT: ./RwfExternalAccountInfo.yaml SGD_ACCOUNT: ./SgdExternalAccountInfo.yaml + SLV_ACCOUNT: ./SlvExternalAccountInfo.yaml THB_ACCOUNT: ./ThbExternalAccountInfo.yaml TZS_ACCOUNT: ./TzsExternalAccountInfo.yaml UGX_ACCOUNT: ./UgxExternalAccountInfo.yaml USD_ACCOUNT: ./UsdExternalAccountInfo.yaml VND_ACCOUNT: ./VndExternalAccountInfo.yaml + XAF_ACCOUNT: ./XafExternalAccountInfo.yaml XOF_ACCOUNT: ./XofExternalAccountInfo.yaml ZAR_ACCOUNT: ./ZarExternalAccountInfo.yaml ZMW_ACCOUNT: ./ZmwExternalAccountInfo.yaml - SPARK_WALLET: ./SparkWalletExternalAccountInfo.yaml - LIGHTNING: ./LightningExternalAccountInfo.yaml - SOLANA_WALLET: ./SolanaWalletExternalAccountInfo.yaml - TRON_WALLET: ./TronWalletExternalAccountInfo.yaml - POLYGON_WALLET: ./PolygonWalletExternalAccountInfo.yaml + SWIFT_ACCOUNT: ./SwiftExternalAccountInfo.yaml BASE_WALLET: ./BaseWalletExternalAccountInfo.yaml ETHEREUM_WALLET: ./EthereumWalletExternalAccountInfo.yaml - AED_ACCOUNT: ./AedExternalAccountInfo.yaml - BWP_ACCOUNT: ./BwpExternalAccountInfo.yaml - XAF_ACCOUNT: ./XafExternalAccountInfo.yaml - BDT_ACCOUNT: ./BdtExternalAccountInfo.yaml - COP_ACCOUNT: ./CopExternalAccountInfo.yaml - EGP_ACCOUNT: ./EgpExternalAccountInfo.yaml - GHS_ACCOUNT: ./GhsExternalAccountInfo.yaml - GTQ_ACCOUNT: ./GtqExternalAccountInfo.yaml - HTG_ACCOUNT: ./HtgExternalAccountInfo.yaml - JMD_ACCOUNT: ./JmdExternalAccountInfo.yaml + LIGHTNING: ./LightningExternalAccountInfo.yaml LIGHTNING_ACCOUNT: ./LightningExternalAccountInfo.yaml - PKR_ACCOUNT: ./PkrExternalAccountInfo.yaml - SLV_ACCOUNT: ./SlvExternalAccountInfo.yaml + POLYGON_WALLET: ./PolygonWalletExternalAccountInfo.yaml + SOLANA_WALLET: ./SolanaWalletExternalAccountInfo.yaml + SPARK_WALLET: ./SparkWalletExternalAccountInfo.yaml + TRON_WALLET: ./TronWalletExternalAccountInfo.yaml diff --git a/openapi/components/schemas/external_accounts/ExternalAccountType.yaml b/openapi/components/schemas/external_accounts/ExternalAccountType.yaml index f60494d0..b8bfb0d3 100644 --- a/openapi/components/schemas/external_accounts/ExternalAccountType.yaml +++ b/openapi/components/schemas/external_accounts/ExternalAccountType.yaml @@ -1,30 +1,32 @@ type: string enum: -- GBP_ACCOUNT -- PHP_ACCOUNT -- SGD_ACCOUNT -- SPARK_WALLET -- LIGHTNING -- SOLANA_WALLET -- TRON_WALLET -- POLYGON_WALLET -- BASE_WALLET -- ETHEREUM_WALLET - AED_ACCOUNT +- BDT_ACCOUNT - BRL_ACCOUNT - BWP_ACCOUNT - CAD_ACCOUNT +- COP_ACCOUNT - DKK_ACCOUNT +- EGP_ACCOUNT - EUR_ACCOUNT +- GBP_ACCOUNT +- GHS_ACCOUNT +- GTQ_ACCOUNT - HKD_ACCOUNT +- HTG_ACCOUNT - IDR_ACCOUNT - INR_ACCOUNT +- JMD_ACCOUNT - KES_ACCOUNT - MWK_ACCOUNT - MXN_ACCOUNT - MYR_ACCOUNT - NGN_ACCOUNT +- PHP_ACCOUNT +- PKR_ACCOUNT - RWF_ACCOUNT +- SGD_ACCOUNT +- SLV_ACCOUNT - THB_ACCOUNT - TZS_ACCOUNT - UGX_ACCOUNT @@ -34,14 +36,13 @@ enum: - XOF_ACCOUNT - ZAR_ACCOUNT - ZMW_ACCOUNT -- BDT_ACCOUNT -- COP_ACCOUNT -- EGP_ACCOUNT -- GHS_ACCOUNT -- GTQ_ACCOUNT -- HTG_ACCOUNT -- JMD_ACCOUNT -- PKR_ACCOUNT -- SLV_ACCOUNT +- SWIFT_ACCOUNT +- BASE_WALLET +- ETHEREUM_WALLET +- LIGHTNING +- POLYGON_WALLET +- SOLANA_WALLET +- SPARK_WALLET +- TRON_WALLET description: Type of external account or wallet -example: GBP_ACCOUNT +example: AED_ACCOUNT diff --git a/openapi/components/schemas/external_accounts/SwiftExternalAccountCreateInfo.yaml b/openapi/components/schemas/external_accounts/SwiftExternalAccountCreateInfo.yaml new file mode 100644 index 00000000..82866d18 --- /dev/null +++ b/openapi/components/schemas/external_accounts/SwiftExternalAccountCreateInfo.yaml @@ -0,0 +1,19 @@ +title: SWIFT Account +allOf: +- $ref: ./BaseExternalAccountInfo.yaml +- $ref: ../common/SwiftAccountInfoBase.yaml +- type: object + required: + - beneficiary + properties: + beneficiary: + oneOf: + - title: Individual Beneficiary + $ref: ../common/SwiftBeneficiary.yaml + - title: Business Beneficiary + $ref: ../common/BusinessBeneficiary.yaml + discriminator: + propertyName: beneficiaryType + mapping: + INDIVIDUAL: ../common/SwiftBeneficiary.yaml + BUSINESS: ../common/BusinessBeneficiary.yaml diff --git a/openapi/components/schemas/external_accounts/SwiftExternalAccountInfo.yaml b/openapi/components/schemas/external_accounts/SwiftExternalAccountInfo.yaml new file mode 100644 index 00000000..44e06134 --- /dev/null +++ b/openapi/components/schemas/external_accounts/SwiftExternalAccountInfo.yaml @@ -0,0 +1,19 @@ +title: SWIFT Account +allOf: +- $ref: ./BaseExternalAccountInfo.yaml +- $ref: ../common/SwiftAccountInfo.yaml +- type: object + required: + - beneficiary + properties: + beneficiary: + oneOf: + - title: Individual Beneficiary + $ref: ../common/SwiftBeneficiary.yaml + - title: Business Beneficiary + $ref: ../common/BusinessBeneficiary.yaml + discriminator: + propertyName: beneficiaryType + mapping: + INDIVIDUAL: ../common/SwiftBeneficiary.yaml + BUSINESS: ../common/BusinessBeneficiary.yaml