Commit 5dd160b
chore: Sync docs and samples with recent schema changes (#314)
## Summary
- Add 12 missing account types to Grid Visualizer data (AED_ACCOUNT,
BWP_ACCOUNT, XAF_ACCOUNT, BDT_ACCOUNT, COP_ACCOUNT, EGP_ACCOUNT,
GHS_ACCOUNT, GTQ_ACCOUNT, HTG_ACCOUNT, JMD_ACCOUNT, PKR_ACCOUNT,
ETHEREUM_WALLET)
- Add UNSUPPORTED and CHECKED_BY_RECEIVING_FI beneficiary verification
statuses to sandbox documentation with test suffixes 106/107
- Fix missing imports in Kotlin sample app ExternalAccounts.kt for
buildAccountInfo helper function
## Changes by Area
### Grid Visualizer
(`components/grid-visualizer/src/data/account-types.ts`)
Added 12 account types that were present in the OpenAPI
ExternalAccountType enum but missing from the visualizer data:
- ETHEREUM_WALLET (crypto)
- AED_ACCOUNT, EGP_ACCOUNT (MENA region)
- BWP_ACCOUNT, XAF_ACCOUNT (Africa mobile money)
- BDT_ACCOUNT, PKR_ACCOUNT (South Asia)
- COP_ACCOUNT (Latin America)
- GHS_ACCOUNT, GTQ_ACCOUNT, HTG_ACCOUNT, JMD_ACCOUNT (emerging markets)
### Mintlify Docs
(`mintlify/snippets/sandbox-beneficiary-verification.mdx`)
Added two verification statuses that were in the
BeneficiaryVerificationStatus enum but missing from the sandbox testing
documentation:
- `106` → UNSUPPORTED (payment rail doesn't support name verification)
- `107` → CHECKED_BY_RECEIVING_FI (deferred to receiving FI, e.g., ACH)
### Kotlin Sample (`samples/kotlin/.../ExternalAccounts.kt`)
Added missing imports required by the buildAccountInfo helper function:
- UsdBeneficiary, UsdExternalAccountInfo
- BrlBeneficiary, BrlExternalAccountInfo
- MxnBeneficiary, MxnExternalAccountInfo
- GbpBeneficiary, GbpExternalAccountInfo
- ExternalAccountInfoOneOf
## Test plan
- [ ] Verify Grid Visualizer builds successfully with `npm run build` in
`components/grid-visualizer`
- [ ] Verify OpenAPI lint passes with `make lint-openapi`
- [ ] Verify Kotlin sample compiles with `./gradlew build` in
`samples/kotlin`
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 1fdceed commit 5dd160b
3 files changed
Lines changed: 123 additions & 0 deletions
File tree
- components/grid-visualizer/src/data
- mintlify/snippets
- samples/kotlin/src/main/kotlin/com/grid/sample/routes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
280 | 392 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
7 | 12 | | |
8 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
9 | 18 | | |
10 | 19 | | |
11 | 20 | | |
| |||
0 commit comments