From 6301a87dcbc975946d453f18498ff16566a66545 Mon Sep 17 00:00:00 2001 From: Admin Date: Mon, 29 Jun 2026 12:32:06 -0700 Subject: [PATCH] Add bankName as a required field to GTQ and JMD account types GTQ and JMD corridors have multiple bank payers, so bank_name is needed to disambiguate the destination during payout discovery. Add bankName (string, 1-255) as a required field on GtqAccountInfoBase and JmdAccountInfoBase; derived create/info types inherit it via allOf. Rebundled openapi.yaml. --- mintlify/openapi.yaml | 16 ++++++++++++++++ openapi.yaml | 16 ++++++++++++++++ .../schemas/common/GtqAccountInfoBase.yaml | 8 ++++++++ .../schemas/common/JmdAccountInfoBase.yaml | 8 ++++++++ 4 files changed, 48 insertions(+) diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index d93a10d11..2097a8d86 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -12254,6 +12254,7 @@ components: - accountType - accountNumber - bankAccountType + - bankName properties: accountType: type: string @@ -12270,10 +12271,17 @@ components: enum: - CHECKING - SAVINGS + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 + example: Banco GYT Continental example: accountType: GTQ_ACCOUNT accountNumber: '1234567890' bankAccountType: CHECKING + bankName: Banco GYT Continental GtqAccountInfo: allOf: - $ref: '#/components/schemas/GtqAccountInfoBase' @@ -12353,6 +12361,7 @@ components: - accountNumber - branchCode - bankAccountType + - bankName properties: accountType: type: string @@ -12375,11 +12384,18 @@ components: enum: - CHECKING - SAVINGS + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 + example: Bank of Nova Scotia example: accountType: JMD_ACCOUNT accountNumber: '1234567890' branchCode: '11111' bankAccountType: CHECKING + bankName: Bank of Nova Scotia JmdAccountInfo: allOf: - $ref: '#/components/schemas/JmdAccountInfoBase' diff --git a/openapi.yaml b/openapi.yaml index d93a10d11..2097a8d86 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -12254,6 +12254,7 @@ components: - accountType - accountNumber - bankAccountType + - bankName properties: accountType: type: string @@ -12270,10 +12271,17 @@ components: enum: - CHECKING - SAVINGS + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 + example: Banco GYT Continental example: accountType: GTQ_ACCOUNT accountNumber: '1234567890' bankAccountType: CHECKING + bankName: Banco GYT Continental GtqAccountInfo: allOf: - $ref: '#/components/schemas/GtqAccountInfoBase' @@ -12353,6 +12361,7 @@ components: - accountNumber - branchCode - bankAccountType + - bankName properties: accountType: type: string @@ -12375,11 +12384,18 @@ components: enum: - CHECKING - SAVINGS + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 + example: Bank of Nova Scotia example: accountType: JMD_ACCOUNT accountNumber: '1234567890' branchCode: '11111' bankAccountType: CHECKING + bankName: Bank of Nova Scotia JmdAccountInfo: allOf: - $ref: '#/components/schemas/JmdAccountInfoBase' diff --git a/openapi/components/schemas/common/GtqAccountInfoBase.yaml b/openapi/components/schemas/common/GtqAccountInfoBase.yaml index 026f3e2a2..8cf8e1be6 100644 --- a/openapi/components/schemas/common/GtqAccountInfoBase.yaml +++ b/openapi/components/schemas/common/GtqAccountInfoBase.yaml @@ -3,6 +3,7 @@ required: - accountType - accountNumber - bankAccountType +- bankName properties: accountType: type: string @@ -19,7 +20,14 @@ properties: enum: - CHECKING - SAVINGS + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 + example: Banco GYT Continental example: accountType: GTQ_ACCOUNT accountNumber: '1234567890' bankAccountType: CHECKING + bankName: Banco GYT Continental diff --git a/openapi/components/schemas/common/JmdAccountInfoBase.yaml b/openapi/components/schemas/common/JmdAccountInfoBase.yaml index 7449ae1d1..0df2fc8fa 100644 --- a/openapi/components/schemas/common/JmdAccountInfoBase.yaml +++ b/openapi/components/schemas/common/JmdAccountInfoBase.yaml @@ -4,6 +4,7 @@ required: - accountNumber - branchCode - bankAccountType +- bankName properties: accountType: type: string @@ -26,8 +27,15 @@ properties: enum: - CHECKING - SAVINGS + bankName: + type: string + description: The name of the bank + minLength: 1 + maxLength: 255 + example: Bank of Nova Scotia example: accountType: JMD_ACCOUNT accountNumber: '1234567890' branchCode: '11111' bankAccountType: CHECKING + bankName: Bank of Nova Scotia