diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index 05338991..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: @@ -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: @@ -5563,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' @@ -9327,6 +9334,7 @@ components: - accountType - accountNumber - bankAccountType + - bankName - phoneNumber properties: accountType: @@ -9344,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 @@ -9395,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 05338991..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: @@ -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: @@ -5563,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' @@ -9327,6 +9334,7 @@ components: - accountType - accountNumber - bankAccountType + - bankName - phoneNumber properties: accountType: @@ -9344,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 @@ -9395,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 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. 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: