From 57035523b81e76d1c28cdf7c07d4b03ebce42be0 Mon Sep 17 00:00:00 2001 From: Aaryaman Bhute Date: Wed, 25 Feb 2026 14:59:32 -0800 Subject: [PATCH] fix: correct USD external account examples to match schema The usBankAccount examples used invalid accountType "US_ACCOUNT" and were missing required fields. Updated to "USD_ACCOUNT" and added countries and paymentRails to conform to the UsdAccountInfo schema. Co-Authored-By: Claude Opus 4.6 --- mintlify/openapi.yaml | 12 ++++++++++-- openapi.yaml | 12 ++++++++++-- .../paths/customers/customers_external_accounts.yaml | 6 +++++- .../paths/platform/platform_external_accounts.yaml | 6 +++++- 4 files changed, 30 insertions(+), 6 deletions(-) diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index 81b424b9..8bfbefed 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -870,7 +870,11 @@ paths: customerId: Customer:019542f5-b3e7-1d02-0000-000000000001 currency: USD accountInfo: - accountType: US_ACCOUNT + accountType: USD_ACCOUNT + countries: + - US + paymentRails: + - ACH accountNumber: '12345678901' routingNumber: '123456789' accountCategory: CHECKING @@ -1006,7 +1010,11 @@ paths: value: currency: USD accountInfo: - accountType: US_ACCOUNT + accountType: USD_ACCOUNT + countries: + - US + paymentRails: + - ACH accountNumber: '12345678901' routingNumber: '123456789' accountCategory: CHECKING diff --git a/openapi.yaml b/openapi.yaml index 81b424b9..8bfbefed 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -870,7 +870,11 @@ paths: customerId: Customer:019542f5-b3e7-1d02-0000-000000000001 currency: USD accountInfo: - accountType: US_ACCOUNT + accountType: USD_ACCOUNT + countries: + - US + paymentRails: + - ACH accountNumber: '12345678901' routingNumber: '123456789' accountCategory: CHECKING @@ -1006,7 +1010,11 @@ paths: value: currency: USD accountInfo: - accountType: US_ACCOUNT + accountType: USD_ACCOUNT + countries: + - US + paymentRails: + - ACH accountNumber: '12345678901' routingNumber: '123456789' accountCategory: CHECKING diff --git a/openapi/paths/customers/customers_external_accounts.yaml b/openapi/paths/customers/customers_external_accounts.yaml index b9bb0ffd..7118ef5b 100644 --- a/openapi/paths/customers/customers_external_accounts.yaml +++ b/openapi/paths/customers/customers_external_accounts.yaml @@ -124,7 +124,11 @@ post: customerId: Customer:019542f5-b3e7-1d02-0000-000000000001 currency: USD accountInfo: - accountType: US_ACCOUNT + accountType: USD_ACCOUNT + countries: + - US + paymentRails: + - ACH accountNumber: "12345678901" routingNumber: "123456789" accountCategory: CHECKING diff --git a/openapi/paths/platform/platform_external_accounts.yaml b/openapi/paths/platform/platform_external_accounts.yaml index cf9bfed3..2e42770f 100644 --- a/openapi/paths/platform/platform_external_accounts.yaml +++ b/openapi/paths/platform/platform_external_accounts.yaml @@ -86,7 +86,11 @@ post: value: currency: USD accountInfo: - accountType: US_ACCOUNT + accountType: USD_ACCOUNT + countries: + - US + paymentRails: + - ACH accountNumber: "12345678901" routingNumber: "123456789" accountCategory: CHECKING