From 0bf8b4c19b7632d723f01a675f6521d98050b863 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Sat, 18 Apr 2026 16:20:02 -0700 Subject: [PATCH 1/3] Add company legal name to customer info field --- mintlify/openapi.yaml | 1 + openapi.yaml | 1 + openapi/components/schemas/customers/CustomerInfoFieldName.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index 05338991..767d0ca4 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -4304,6 +4304,7 @@ components: - ULTIMATE_INSTITUTION_COUNTRY - IDENTIFIER - BUSINESS_TYPE + - COMPANY_LEGAL_NAME description: Name of a type of field containing info about a platform's customer or counterparty customer. example: FULL_NAME CounterpartyFieldDefinition: diff --git a/openapi.yaml b/openapi.yaml index 05338991..767d0ca4 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -4304,6 +4304,7 @@ components: - ULTIMATE_INSTITUTION_COUNTRY - IDENTIFIER - BUSINESS_TYPE + - COMPANY_LEGAL_NAME description: Name of a type of field containing info about a platform's customer or counterparty customer. example: FULL_NAME CounterpartyFieldDefinition: diff --git a/openapi/components/schemas/customers/CustomerInfoFieldName.yaml b/openapi/components/schemas/customers/CustomerInfoFieldName.yaml index 6649dd48..aa1bcff9 100644 --- a/openapi/components/schemas/customers/CustomerInfoFieldName.yaml +++ b/openapi/components/schemas/customers/CustomerInfoFieldName.yaml @@ -17,6 +17,7 @@ enum: - ULTIMATE_INSTITUTION_COUNTRY - IDENTIFIER - BUSINESS_TYPE + - COMPANY_LEGAL_NAME description: >- Name of a type of field containing info about a platform's customer or counterparty customer. From 773e8bbb7456fec85896978b9f4a79f6861eeffb Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Mon, 20 Apr 2026 14:47:25 -0700 Subject: [PATCH 2/3] Add Thunes COP/USD fields for bankName, document ID, and bankAccountType - COP: Add required bankName to CopAccountInfoBase (AT-4890) - COP: Add documentType/documentNumber to CopBeneficiary (AT-4882) - USD: Add optional bankAccountType to UsdAccountInfoBase for SLV corridor (AT-4884) Co-Authored-By: Claude Opus 4.6 (1M context) --- mintlify/openapi.yaml | 16 ++++++++++++++++ openapi.yaml | 16 ++++++++++++++++ .../schemas/common/CopAccountInfoBase.yaml | 4 ++++ .../schemas/common/CopBeneficiary.yaml | 6 ++++++ .../schemas/common/UsdAccountInfoBase.yaml | 6 ++++++ 5 files changed, 48 insertions(+) diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index 767d0ca4..39bc0893 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -5564,6 +5564,12 @@ components: minLength: 9 maxLength: 9 pattern: ^[0-9]{9}$ + bankAccountType: + type: string + description: The bank account type. Required for certain corridors (e.g., El Salvador). + enum: + - CHECKING + - SAVINGS UsdAccountInfo: allOf: - $ref: '#/components/schemas/UsdAccountInfoBase' @@ -9328,6 +9334,7 @@ components: - accountType - accountNumber - bankAccountType + - bankName - phoneNumber properties: accountType: @@ -9345,6 +9352,9 @@ components: enum: - CHECKING - SAVINGS + bankName: + type: string + description: The name of the bank phoneNumber: type: string description: The phone number in international format @@ -9396,6 +9406,12 @@ components: countryOfResidence: type: string description: The country of residence of the beneficiary + documentType: + type: string + description: The type of identity document (e.g., national ID, passport) + documentNumber: + type: string + description: The identity document number address: $ref: '#/components/schemas/Address' CopExternalAccountInfo: diff --git a/openapi.yaml b/openapi.yaml index 767d0ca4..39bc0893 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -5564,6 +5564,12 @@ components: minLength: 9 maxLength: 9 pattern: ^[0-9]{9}$ + bankAccountType: + type: string + description: The bank account type. Required for certain corridors (e.g., El Salvador). + enum: + - CHECKING + - SAVINGS UsdAccountInfo: allOf: - $ref: '#/components/schemas/UsdAccountInfoBase' @@ -9328,6 +9334,7 @@ components: - accountType - accountNumber - bankAccountType + - bankName - phoneNumber properties: accountType: @@ -9345,6 +9352,9 @@ components: enum: - CHECKING - SAVINGS + bankName: + type: string + description: The name of the bank phoneNumber: type: string description: The phone number in international format @@ -9396,6 +9406,12 @@ components: countryOfResidence: type: string description: The country of residence of the beneficiary + documentType: + type: string + description: The type of identity document (e.g., national ID, passport) + documentNumber: + type: string + description: The identity document number address: $ref: '#/components/schemas/Address' CopExternalAccountInfo: diff --git a/openapi/components/schemas/common/CopAccountInfoBase.yaml b/openapi/components/schemas/common/CopAccountInfoBase.yaml index 8da93898..c10ab581 100644 --- a/openapi/components/schemas/common/CopAccountInfoBase.yaml +++ b/openapi/components/schemas/common/CopAccountInfoBase.yaml @@ -3,6 +3,7 @@ required: - accountType - accountNumber - bankAccountType +- bankName - phoneNumber properties: accountType: @@ -20,6 +21,9 @@ properties: enum: - CHECKING - SAVINGS + bankName: + type: string + description: The name of the bank phoneNumber: type: string description: The phone number in international format diff --git a/openapi/components/schemas/common/CopBeneficiary.yaml b/openapi/components/schemas/common/CopBeneficiary.yaml index b834477b..30db9858 100644 --- a/openapi/components/schemas/common/CopBeneficiary.yaml +++ b/openapi/components/schemas/common/CopBeneficiary.yaml @@ -27,5 +27,11 @@ properties: countryOfResidence: type: string description: The country of residence of the beneficiary + documentType: + type: string + description: The type of identity document (e.g., national ID, passport) + documentNumber: + type: string + description: The identity document number address: $ref: ./Address.yaml diff --git a/openapi/components/schemas/common/UsdAccountInfoBase.yaml b/openapi/components/schemas/common/UsdAccountInfoBase.yaml index e849d396..220a50a4 100644 --- a/openapi/components/schemas/common/UsdAccountInfoBase.yaml +++ b/openapi/components/schemas/common/UsdAccountInfoBase.yaml @@ -20,3 +20,9 @@ properties: minLength: 9 maxLength: 9 pattern: ^[0-9]{9}$ + bankAccountType: + type: string + description: The bank account type. Required for certain corridors (e.g., El Salvador). + enum: + - CHECKING + - SAVINGS From dafcf7e77bafc8fe1110a882836cdc44b19875ae Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Wed, 22 Apr 2026 09:47:08 -0700 Subject: [PATCH 3/3] =?UTF-8?q?Fix=20accountCategory=20=E2=86=92=20bankAcc?= =?UTF-8?q?ountType=20in=20external=20account=20creation=20examples?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The request examples for both platform and customer external account creation used the incorrect field name `accountCategory`. The actual schema field is `bankAccountType`. Co-Authored-By: Claude Opus 4.6 (1M context) --- mintlify/openapi.yaml | 4 ++-- openapi.yaml | 4 ++-- openapi/paths/customers/customers_external_accounts.yaml | 2 +- openapi/paths/platform/platform_external_accounts.yaml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index 39bc0893..391c5c94 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -944,7 +944,7 @@ paths: accountType: USD_ACCOUNT accountNumber: '12345678901' routingNumber: '123456789' - accountCategory: CHECKING + bankAccountType: CHECKING bankName: Chase Bank platformAccountId: ext_acc_123456 beneficiary: @@ -1064,7 +1064,7 @@ paths: accountType: USD_ACCOUNT accountNumber: '12345678901' routingNumber: '123456789' - accountCategory: CHECKING + bankAccountType: CHECKING bankName: Chase Bank platformAccountId: ext_acc_123456 beneficiary: diff --git a/openapi.yaml b/openapi.yaml index 39bc0893..391c5c94 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -944,7 +944,7 @@ paths: accountType: USD_ACCOUNT accountNumber: '12345678901' routingNumber: '123456789' - accountCategory: CHECKING + bankAccountType: CHECKING bankName: Chase Bank platformAccountId: ext_acc_123456 beneficiary: @@ -1064,7 +1064,7 @@ paths: accountType: USD_ACCOUNT accountNumber: '12345678901' routingNumber: '123456789' - accountCategory: CHECKING + bankAccountType: CHECKING bankName: Chase Bank platformAccountId: ext_acc_123456 beneficiary: diff --git a/openapi/paths/customers/customers_external_accounts.yaml b/openapi/paths/customers/customers_external_accounts.yaml index 0af6e2bd..0b057ff6 100644 --- a/openapi/paths/customers/customers_external_accounts.yaml +++ b/openapi/paths/customers/customers_external_accounts.yaml @@ -90,7 +90,7 @@ post: accountType: USD_ACCOUNT accountNumber: "12345678901" routingNumber: "123456789" - accountCategory: CHECKING + bankAccountType: CHECKING bankName: Chase Bank platformAccountId: ext_acc_123456 beneficiary: diff --git a/openapi/paths/platform/platform_external_accounts.yaml b/openapi/paths/platform/platform_external_accounts.yaml index 513de50b..3cd832c4 100644 --- a/openapi/paths/platform/platform_external_accounts.yaml +++ b/openapi/paths/platform/platform_external_accounts.yaml @@ -66,7 +66,7 @@ post: accountType: USD_ACCOUNT accountNumber: "12345678901" routingNumber: "123456789" - accountCategory: CHECKING + bankAccountType: CHECKING bankName: Chase Bank platformAccountId: ext_acc_123456 beneficiary: