diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index f7061081..744f3c15 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -8098,20 +8098,13 @@ components: type: object required: - accountType - - bankName - accountNumber - - branchCode - phoneNumber properties: accountType: type: string enum: - BDT_ACCOUNT - bankName: - type: string - description: The name of the bank - minLength: 1 - maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -8139,7 +8132,6 @@ components: pattern: ^\+[0-9]{6,14}$ example: accountType: BDT_ACCOUNT - bankName: Example Bank accountNumber: '1234567890' branchCode: '11111' swiftCode: DEUTDEFF @@ -8278,7 +8270,6 @@ components: type: object required: - accountType - - bankName - accountNumber - phoneNumber properties: @@ -8286,11 +8277,6 @@ components: type: string enum: - GHS_ACCOUNT - bankName: - type: string - description: The name of the bank - minLength: 1 - maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -8305,7 +8291,6 @@ components: pattern: ^\+[0-9]{6,14}$ example: accountType: GHS_ACCOUNT - bankName: Example Bank accountNumber: '1234567890' phoneNumber: '+1234567890' GhsAccountInfo: @@ -8339,7 +8324,6 @@ components: type: object required: - accountType - - bankName - accountNumber - bankAccountType properties: @@ -8347,11 +8331,6 @@ components: type: string enum: - GTQ_ACCOUNT - bankName: - type: string - description: The name of the bank - minLength: 1 - maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -8365,7 +8344,6 @@ components: - SAVINGS example: accountType: GTQ_ACCOUNT - bankName: Example Bank accountNumber: '1234567890' bankAccountType: CHECKING GtqAccountInfo: @@ -8444,7 +8422,6 @@ components: type: object required: - accountType - - bankName - accountNumber - branchCode - bankAccountType @@ -8453,11 +8430,6 @@ components: type: string enum: - JMD_ACCOUNT - bankName: - type: string - description: The name of the bank - minLength: 1 - maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -8477,7 +8449,6 @@ components: - SAVINGS example: accountType: JMD_ACCOUNT - bankName: Example Bank accountNumber: '1234567890' branchCode: '11111' bankAccountType: CHECKING @@ -8511,19 +8482,14 @@ components: type: object required: - accountType - - bankName - accountNumber - phoneNumber + - bankName properties: accountType: type: string enum: - PKR_ACCOUNT - bankName: - type: string - description: The name of the bank - minLength: 1 - maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -8543,12 +8509,17 @@ components: minLength: 7 maxLength: 15 pattern: ^\+[0-9]{6,14}$ + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 example: accountType: PKR_ACCOUNT - bankName: Example Bank accountNumber: '1234567890' iban: PK36SCBL0000001123456702 phoneNumber: '+1234567890' + bankName: Example Bank PkrAccountInfo: allOf: - $ref: '#/components/schemas/PkrAccountInfoBase' @@ -10381,6 +10352,7 @@ components: type: object required: - beneficiaryType + - countryOfResidence - fullName properties: beneficiaryType: @@ -10591,6 +10563,7 @@ components: type: object required: - beneficiaryType + - countryOfResidence - fullName properties: beneficiaryType: @@ -10644,7 +10617,6 @@ components: - beneficiaryType - countryOfResidence - fullName - - phoneNumber properties: beneficiaryType: type: string @@ -10695,6 +10667,7 @@ components: type: object required: - beneficiaryType + - countryOfResidence - fullName properties: beneficiaryType: @@ -10747,6 +10720,7 @@ components: required: - beneficiaryType - address + - countryOfResidence - fullName - phoneNumber properties: @@ -10799,6 +10773,7 @@ components: type: object required: - beneficiaryType + - countryOfResidence - fullName properties: beneficiaryType: diff --git a/openapi.yaml b/openapi.yaml index f7061081..744f3c15 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -8098,20 +8098,13 @@ components: type: object required: - accountType - - bankName - accountNumber - - branchCode - phoneNumber properties: accountType: type: string enum: - BDT_ACCOUNT - bankName: - type: string - description: The name of the bank - minLength: 1 - maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -8139,7 +8132,6 @@ components: pattern: ^\+[0-9]{6,14}$ example: accountType: BDT_ACCOUNT - bankName: Example Bank accountNumber: '1234567890' branchCode: '11111' swiftCode: DEUTDEFF @@ -8278,7 +8270,6 @@ components: type: object required: - accountType - - bankName - accountNumber - phoneNumber properties: @@ -8286,11 +8277,6 @@ components: type: string enum: - GHS_ACCOUNT - bankName: - type: string - description: The name of the bank - minLength: 1 - maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -8305,7 +8291,6 @@ components: pattern: ^\+[0-9]{6,14}$ example: accountType: GHS_ACCOUNT - bankName: Example Bank accountNumber: '1234567890' phoneNumber: '+1234567890' GhsAccountInfo: @@ -8339,7 +8324,6 @@ components: type: object required: - accountType - - bankName - accountNumber - bankAccountType properties: @@ -8347,11 +8331,6 @@ components: type: string enum: - GTQ_ACCOUNT - bankName: - type: string - description: The name of the bank - minLength: 1 - maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -8365,7 +8344,6 @@ components: - SAVINGS example: accountType: GTQ_ACCOUNT - bankName: Example Bank accountNumber: '1234567890' bankAccountType: CHECKING GtqAccountInfo: @@ -8444,7 +8422,6 @@ components: type: object required: - accountType - - bankName - accountNumber - branchCode - bankAccountType @@ -8453,11 +8430,6 @@ components: type: string enum: - JMD_ACCOUNT - bankName: - type: string - description: The name of the bank - minLength: 1 - maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -8477,7 +8449,6 @@ components: - SAVINGS example: accountType: JMD_ACCOUNT - bankName: Example Bank accountNumber: '1234567890' branchCode: '11111' bankAccountType: CHECKING @@ -8511,19 +8482,14 @@ components: type: object required: - accountType - - bankName - accountNumber - phoneNumber + - bankName properties: accountType: type: string enum: - PKR_ACCOUNT - bankName: - type: string - description: The name of the bank - minLength: 1 - maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -8543,12 +8509,17 @@ components: minLength: 7 maxLength: 15 pattern: ^\+[0-9]{6,14}$ + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 example: accountType: PKR_ACCOUNT - bankName: Example Bank accountNumber: '1234567890' iban: PK36SCBL0000001123456702 phoneNumber: '+1234567890' + bankName: Example Bank PkrAccountInfo: allOf: - $ref: '#/components/schemas/PkrAccountInfoBase' @@ -10381,6 +10352,7 @@ components: type: object required: - beneficiaryType + - countryOfResidence - fullName properties: beneficiaryType: @@ -10591,6 +10563,7 @@ components: type: object required: - beneficiaryType + - countryOfResidence - fullName properties: beneficiaryType: @@ -10644,7 +10617,6 @@ components: - beneficiaryType - countryOfResidence - fullName - - phoneNumber properties: beneficiaryType: type: string @@ -10695,6 +10667,7 @@ components: type: object required: - beneficiaryType + - countryOfResidence - fullName properties: beneficiaryType: @@ -10747,6 +10720,7 @@ components: required: - beneficiaryType - address + - countryOfResidence - fullName - phoneNumber properties: @@ -10799,6 +10773,7 @@ components: type: object required: - beneficiaryType + - countryOfResidence - fullName properties: beneficiaryType: diff --git a/openapi/components/schemas/common/BdtAccountInfoBase.yaml b/openapi/components/schemas/common/BdtAccountInfoBase.yaml index d952928e..6f45730c 100644 --- a/openapi/components/schemas/common/BdtAccountInfoBase.yaml +++ b/openapi/components/schemas/common/BdtAccountInfoBase.yaml @@ -1,20 +1,13 @@ type: object required: - accountType -- bankName - accountNumber -- branchCode - phoneNumber properties: accountType: type: string enum: - BDT_ACCOUNT - bankName: - type: string - description: The name of the bank - minLength: 1 - maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -42,7 +35,6 @@ properties: pattern: ^\+[0-9]{6,14}$ example: accountType: BDT_ACCOUNT - bankName: Example Bank accountNumber: '1234567890' branchCode: '11111' swiftCode: DEUTDEFF diff --git a/openapi/components/schemas/common/BdtBeneficiary.yaml b/openapi/components/schemas/common/BdtBeneficiary.yaml index d9332d63..b834477b 100644 --- a/openapi/components/schemas/common/BdtBeneficiary.yaml +++ b/openapi/components/schemas/common/BdtBeneficiary.yaml @@ -2,6 +2,7 @@ title: Individual Beneficiary type: object required: - beneficiaryType +- countryOfResidence - fullName properties: beneficiaryType: diff --git a/openapi/components/schemas/common/GhsAccountInfoBase.yaml b/openapi/components/schemas/common/GhsAccountInfoBase.yaml index 5e03d24b..ba39a203 100644 --- a/openapi/components/schemas/common/GhsAccountInfoBase.yaml +++ b/openapi/components/schemas/common/GhsAccountInfoBase.yaml @@ -1,7 +1,6 @@ type: object required: - accountType -- bankName - accountNumber - phoneNumber properties: @@ -9,11 +8,6 @@ properties: type: string enum: - GHS_ACCOUNT - bankName: - type: string - description: The name of the bank - minLength: 1 - maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -28,6 +22,5 @@ properties: pattern: ^\+[0-9]{6,14}$ example: accountType: GHS_ACCOUNT - bankName: Example Bank accountNumber: '1234567890' phoneNumber: '+1234567890' diff --git a/openapi/components/schemas/common/GhsBeneficiary.yaml b/openapi/components/schemas/common/GhsBeneficiary.yaml index d9332d63..b834477b 100644 --- a/openapi/components/schemas/common/GhsBeneficiary.yaml +++ b/openapi/components/schemas/common/GhsBeneficiary.yaml @@ -2,6 +2,7 @@ title: Individual Beneficiary type: object required: - beneficiaryType +- countryOfResidence - fullName properties: beneficiaryType: diff --git a/openapi/components/schemas/common/GtqAccountInfoBase.yaml b/openapi/components/schemas/common/GtqAccountInfoBase.yaml index b5465916..026f3e2a 100644 --- a/openapi/components/schemas/common/GtqAccountInfoBase.yaml +++ b/openapi/components/schemas/common/GtqAccountInfoBase.yaml @@ -1,7 +1,6 @@ type: object required: - accountType -- bankName - accountNumber - bankAccountType properties: @@ -9,11 +8,6 @@ properties: type: string enum: - GTQ_ACCOUNT - bankName: - type: string - description: The name of the bank - minLength: 1 - maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -27,6 +21,5 @@ properties: - SAVINGS example: accountType: GTQ_ACCOUNT - bankName: Example Bank accountNumber: '1234567890' bankAccountType: CHECKING diff --git a/openapi/components/schemas/common/GtqBeneficiary.yaml b/openapi/components/schemas/common/GtqBeneficiary.yaml index 6b19c5c2..b834477b 100644 --- a/openapi/components/schemas/common/GtqBeneficiary.yaml +++ b/openapi/components/schemas/common/GtqBeneficiary.yaml @@ -4,7 +4,6 @@ required: - beneficiaryType - countryOfResidence - fullName -- phoneNumber properties: beneficiaryType: type: string diff --git a/openapi/components/schemas/common/HtgBeneficiary.yaml b/openapi/components/schemas/common/HtgBeneficiary.yaml index d9332d63..b834477b 100644 --- a/openapi/components/schemas/common/HtgBeneficiary.yaml +++ b/openapi/components/schemas/common/HtgBeneficiary.yaml @@ -2,6 +2,7 @@ title: Individual Beneficiary type: object required: - beneficiaryType +- countryOfResidence - fullName properties: beneficiaryType: diff --git a/openapi/components/schemas/common/JmdAccountInfoBase.yaml b/openapi/components/schemas/common/JmdAccountInfoBase.yaml index ca88df63..7449ae1d 100644 --- a/openapi/components/schemas/common/JmdAccountInfoBase.yaml +++ b/openapi/components/schemas/common/JmdAccountInfoBase.yaml @@ -1,7 +1,6 @@ type: object required: - accountType -- bankName - accountNumber - branchCode - bankAccountType @@ -10,11 +9,6 @@ properties: type: string enum: - JMD_ACCOUNT - bankName: - type: string - description: The name of the bank - minLength: 1 - maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -34,7 +28,6 @@ properties: - SAVINGS example: accountType: JMD_ACCOUNT - bankName: Example Bank accountNumber: '1234567890' branchCode: '11111' bankAccountType: CHECKING diff --git a/openapi/components/schemas/common/JmdBeneficiary.yaml b/openapi/components/schemas/common/JmdBeneficiary.yaml index f2a97b09..4f4c5496 100644 --- a/openapi/components/schemas/common/JmdBeneficiary.yaml +++ b/openapi/components/schemas/common/JmdBeneficiary.yaml @@ -3,6 +3,7 @@ type: object required: - beneficiaryType - address +- countryOfResidence - fullName - phoneNumber properties: diff --git a/openapi/components/schemas/common/PkrAccountInfoBase.yaml b/openapi/components/schemas/common/PkrAccountInfoBase.yaml index 0d2bceb1..8b5ebeb7 100644 --- a/openapi/components/schemas/common/PkrAccountInfoBase.yaml +++ b/openapi/components/schemas/common/PkrAccountInfoBase.yaml @@ -1,19 +1,14 @@ type: object required: - accountType -- bankName - accountNumber - phoneNumber +- bankName properties: accountType: type: string enum: - PKR_ACCOUNT - bankName: - type: string - description: The name of the bank - minLength: 1 - maxLength: 255 accountNumber: type: string description: The account number of the bank @@ -33,9 +28,14 @@ properties: minLength: 7 maxLength: 15 pattern: ^\+[0-9]{6,14}$ + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 example: accountType: PKR_ACCOUNT - bankName: Example Bank accountNumber: '1234567890' iban: PK36SCBL0000001123456702 phoneNumber: '+1234567890' + bankName: Example Bank diff --git a/openapi/components/schemas/common/PkrBeneficiary.yaml b/openapi/components/schemas/common/PkrBeneficiary.yaml index d9332d63..b834477b 100644 --- a/openapi/components/schemas/common/PkrBeneficiary.yaml +++ b/openapi/components/schemas/common/PkrBeneficiary.yaml @@ -2,6 +2,7 @@ title: Individual Beneficiary type: object required: - beneficiaryType +- countryOfResidence - fullName properties: beneficiaryType: