From 0bf8b4c19b7632d723f01a675f6521d98050b863 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Sat, 18 Apr 2026 16:20:02 -0700 Subject: [PATCH 1/2] 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/2] 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