Skip to content

docs: Sync documentation with Ethereum L1 and currency schema changes#288

Open
claude[bot] wants to merge 1 commit intomainfrom
docs/sync-20260321
Open

docs: Sync documentation with Ethereum L1 and currency schema changes#288
claude[bot] wants to merge 1 commit intomainfrom
docs/sync-20260321

Conversation

@claude
Copy link
Contributor

@claude claude bot commented Mar 21, 2026

Summary

  • Add ETHEREUM_WALLET support to Grid Visualizer for Ethereum L1 USDC payments
  • Add missing fiat currencies to Grid Visualizer: AED (UAE), BWP (Botswana), XAF (Central Africa)
  • Add Ethereum L1 wallet example to external-accounts.mdx snippet
  • Fix invalid businessType: FINTECH example in OpenAPI spec (→ FINANCE_AND_INSURANCE)

Context

Syncs documentation with recent OpenAPI schema changes:

  • 9400e77: Add Ethereum L1 external accounts and payment instructions
  • afa928d: Adding KYB schema
  • 5614055: Update BRL payment instructions

Files Changed

Grid Visualizer:

  • components/grid-visualizer/src/data/account-types.ts - Added ETHEREUM_WALLET, AED_ACCOUNT, BWP_ACCOUNT, XAF_ACCOUNT
  • components/grid-visualizer/src/data/crypto.ts - Added ETHEREUM_WALLET for USDC
  • components/grid-visualizer/src/data/currencies.ts - Added AED, BWP, XAF currencies

Mintlify Docs:

  • mintlify/snippets/external-accounts.mdx - Added Ethereum L1 wallet example tab

OpenAPI:

  • openapi/paths/customers/customers.yaml - Fixed invalid businessType example

Test plan

  • Verify Grid Visualizer builds with new account types
  • Verify Mintlify docs render correctly with new external accounts example
  • Run make lint-openapi - passes with no warnings

🤖 Generated with Claude Code

Updates Grid Visualizer and Mintlify docs to reflect recent OpenAPI changes:

- Add ETHEREUM_WALLET support to account-types.ts and crypto.ts for USDC
- Add missing fiat currencies: AED (UAE), BWP (Botswana), XAF (Central Africa)
- Add Ethereum L1 wallet example to external-accounts.mdx snippet
- Fix invalid businessType example (FINTECH → FINANCE_AND_INSURANCE)

Syncs with commits 9400e77 (Ethereum L1), afa928d (KYB schema), 5614055 (BRL).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@mintlify
Copy link

mintlify bot commented Mar 21, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Grid 🟢 Ready View Preview Mar 21, 2026, 8:16 AM

@vercel
Copy link

vercel bot commented Mar 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
grid-flow-builder Ready Ready Preview, Comment Mar 21, 2026 8:15am

Request Review

@github-actions
Copy link
Contributor

github-actions bot commented Mar 21, 2026

✱ Stainless preview builds

This PR will update the grid SDKs with the following commit messages.

kotlin

chore(internal): regenerate SDK with no functional changes

openapi

docs(api): update businessType example value

python

chore(internal): regenerate SDK with no functional changes

typescript

chore(internal): regenerate SDK with no functional changes

Edit this comment to update them. They will appear in their respective SDK's changelogs.

grid-kotlin studio · code · diff

Your SDK build had at least one "note" diagnostic, but this did not represent a regression.
generate ✅build ✅lint ✅test ✅

grid-python studio · code · diff

Your SDK build had at least one "note" diagnostic, but this did not represent a regression.
generate ✅build ✅lint ❗test ✅

pip install https://pkg.stainless.com/s/grid-python/ebfb10700017f88d2210ae5e623af173e3c7a33c/grid-0.0.1-py3-none-any.whl
grid-openapi studio · code · diff

Your SDK build had at least one "note" diagnostic, but this did not represent a regression.
generate ✅

grid-typescript studio · code · diff

Your SDK build had at least one "note" diagnostic, but this did not represent a regression.
generate ✅build ✅lint ❗test ✅

npm install https://pkg.stainless.com/s/grid-typescript/3381215cdad1245cae4cb3ca40fc88466c37a6d0/dist.tar.gz

This comment is auto-generated by GitHub Actions and is automatically kept up to date as you push.
If you push custom code to the preview branch, re-run this workflow to update the comment.
Last updated: 2026-03-21 08:19:01 UTC

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Mar 21, 2026

Greptile Summary

This PR syncs documentation with recent OpenAPI schema changes by adding Ethereum L1 (USDC) wallet support and three new fiat currencies (AED, BWP, XAF) to the Grid Visualizer, extending the external accounts MDX snippet with a new Ethereum tab, and fixing an invalid businessType: FINTECH example across the OpenAPI specs.

All changes are additive and strictly follow existing conventions:

  • Grid VisualizerETHEREUM_WALLET, AED_ACCOUNT, BWP_ACCOUNT, and XAF_ACCOUNT specs are correctly structured; crypto wallets have no paymentRails and beneficiaryRequired: false, matching the existing SPARK_WALLET/BASE_WALLET/POLYGON_WALLET pattern.
  • external-accounts.mdx — The "Cryptocurrency" tab is renamed to "Bitcoin" (more accurate) and a new "Ethereum" tab is added in the same format as all other tabs, with a valid 42-character EVM address example.
  • OpenAPI — The FINTECHFINANCE_AND_INSURANCE fix is correctly made in the source file (openapi/paths/customers/customers.yaml) and the generated bundles (openapi.yaml, mintlify/openapi.yaml) are updated consistently, indicating make build was run as required by the repo's CLAUDE.md guidelines.

No issues found — the PR is clean and safe to merge.

Confidence Score: 5/5

  • This PR is safe to merge — all changes are additive documentation updates that follow existing patterns with no logic errors or breaking changes.
  • All seven changed files contain straightforward, pattern-consistent additions. The OpenAPI fix corrects an invalid enum value, the new account types mirror existing structure, and the new MDX tab follows the established format. Generated bundle files (openapi.yaml, mintlify/openapi.yaml) are correctly updated alongside the source change, indicating the build step was run.
  • No files require special attention.

Important Files Changed

Filename Overview
components/grid-visualizer/src/data/account-types.ts Adds ETHEREUM_WALLET, AED_ACCOUNT, BWP_ACCOUNT, and XAF_ACCOUNT specs; follows existing patterns correctly with no paymentRails for crypto wallets and beneficiaryRequired: false only for ETHEREUM_WALLET
components/grid-visualizer/src/data/crypto.ts Adds ETHEREUM_WALLET entry to the USDC crypto asset, consistent with existing Solana/Polygon/Base wallet entries
components/grid-visualizer/src/data/currencies.ts Adds AED, BWP, and XAF currency entries; AED uses Bank Transfer correctly, BWP and XAF use Mobile Money; XAF countryCode is 'cm' (Cameroon) which is appropriate as a representative country for the multi-country CFA franc
mintlify/snippets/external-accounts.mdx Renames "Cryptocurrency" tab to "Bitcoin" and adds a new "Ethereum" tab with an L1 USDC cURL example; follows existing tab structure and formatting conventions
openapi/paths/customers/customers.yaml Fixes invalid businessType example from FINTECH to FINANCE_AND_INSURANCE in the source OpenAPI spec
openapi.yaml Generated bundle file updated by make build; same FINTECH → FINANCE_AND_INSURANCE fix propagated from source
mintlify/openapi.yaml Generated Mintlify bundle updated by make build; same FINTECH → FINANCE_AND_INSURANCE fix propagated from source

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[POST /customers/external-accounts] --> B{accountType}

    B --> C[Fiat - Bank Transfer]
    B --> D[Fiat - Mobile Money]
    B --> E[Crypto Wallets]

    C --> C1[US_ACCOUNT\nEUR_ACCOUNT\nGBP_ACCOUNT\n...]
    C --> C2["🆕 AED_ACCOUNT\nIBAN + optional swiftCode\nbeneficiary required"]

    D --> D1[KES_ACCOUNT\nTZS_ACCOUNT\nXOF_ACCOUNT\n...]
    D --> D2["🆕 BWP_ACCOUNT\nphoneNumber + ORANGE provider\nbeneficiary required"]
    D --> D3["🆕 XAF_ACCOUNT\nphoneNumber + MTN provider\nregion: CM or CG\nbeneficiary required"]

    E --> E1[SPARK_WALLET\nSOLANA_WALLET\nPOLYGON_WALLET\nBASE_WALLET\n...]
    E --> E2["🆕 ETHEREUM_WALLET\naddress: 0x...\nno beneficiary required\nUSeDC on Ethereum L1"]
Loading

Last reviewed commit: "docs: Sync documenta..."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants