From ede898e95e3109e89e0062a1cbf084feab87869c Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 30 Jul 2026 20:19:22 +0000 Subject: [PATCH] feat(grid-visualizer): add SWIFT_ACCOUNT to accountTypeSpecs SWIFT_ACCOUNT is defined in the OpenAPI schemas, the Mintlify external account docs, the grid-api skill reference and the generated bank account fields for both wallet demos, but was missing from the visualizer's account type specs. Fields and required/optional split are derived from openapi/components/schemas/common/SwiftAccountInfoBase.yaml; example values match the Nigerian GTBank example in mintlify/snippets/external-accounts.mdx. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01MMnjJ8yWJsui7jLqqrDrL4 --- components/grid-visualizer/src/data/account-types.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/components/grid-visualizer/src/data/account-types.ts b/components/grid-visualizer/src/data/account-types.ts index d25d23c55..123c1fac1 100644 --- a/components/grid-visualizer/src/data/account-types.ts +++ b/components/grid-visualizer/src/data/account-types.ts @@ -386,4 +386,15 @@ export const accountTypeSpecs: Record = { ], beneficiaryRequired: true, }, + SWIFT_ACCOUNT: { + accountType: 'SWIFT_ACCOUNT', + fields: [ + { name: 'country', example: 'NG', description: 'Bank country code (ISO 3166-1 alpha-2)' }, + { name: 'swiftCode', example: 'GTBINGLA' }, + { name: 'bankName', example: 'Guaranty Trust Bank' }, + { name: 'accountNumber', example: '1234567890', description: 'For most corridors' }, + { name: 'iban', example: 'GB29NWBK60161331926819', description: 'For IBAN-only corridors (e.g. BR, GB)' }, + ], + beneficiaryRequired: true, + }, };