Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions components/grid-visualizer/src/data/crypto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export const cryptoAssets: CryptoAsset[] = [
{ type: 'SOLANA_WALLET', label: 'Wallet', network: 'Solana' },
{ type: 'POLYGON_WALLET', label: 'Wallet', network: 'Polygon' },
{ type: 'BASE_WALLET', label: 'Wallet', network: 'Base' },
{ type: 'ETHEREUM_WALLET', label: 'Wallet', network: 'Ethereum' },
],
examplePerson: { fullName: 'Alex Rivera', nationality: 'US' },
},
Expand Down
30 changes: 30 additions & 0 deletions components/grid-visualizer/src/data/currencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,4 +255,34 @@ export const currencies: FiatCurrency[] = [
allRails: ['Mobile Money'],
examplePerson: { fullName: 'Amadou Diallo', nationality: 'SN' },
},
{
code: 'AED',
name: 'UAE Dirham',
countryCode: 'ae',
accountType: 'AED_ACCOUNT',
accountLabel: 'UAE Bank Account',
instantRails: [],
allRails: ['Bank Transfer'],
examplePerson: { fullName: 'Ahmed Al-Rashid', nationality: 'AE' },
},
{
code: 'BWP',
name: 'Botswana Pula',
countryCode: 'bw',
accountType: 'BWP_ACCOUNT',
accountLabel: 'Mobile Money',
instantRails: [],
allRails: ['Mobile Money'],
examplePerson: { fullName: 'Kelebogile Mosweu', nationality: 'BW' },
},
{
code: 'XAF',
name: 'Central African CFA Franc',
countryCode: 'cm',
accountType: 'XAF_ACCOUNT',
accountLabel: 'Mobile Money',
instantRails: [],
allRails: ['Mobile Money'],
examplePerson: { fullName: 'Jean-Pierre Mbarga', nationality: 'CM' },
},
];
24 changes: 23 additions & 1 deletion mintlify/snippets/external-accounts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ curl -X POST 'https://api.lightspark.com/grid/2025-10-13/customers/external-acco
</Note>
</Tab>

<Tab title="Cryptocurrency">
<Tab title="Bitcoin">
**Bitcoin Lightning (Spark Wallet)**

```bash cURL
Expand All @@ -664,6 +664,28 @@ curl -X POST 'https://api.lightspark.com/grid/2025-10-13/customers/external-acco
Spark wallets don't require beneficiary information as they are self-custody wallets.
</Note>
</Tab>

<Tab title="Ethereum">
**Ethereum L1 (USDC)**

```bash cURL
curl -X POST 'https://api.lightspark.com/grid/2025-10-13/customers/external-accounts' \
-H 'Authorization: Basic $GRID_CLIENT_ID:$GRID_CLIENT_SECRET' \
-H 'Content-Type: application/json' \
-d '{
"currency": "USDC",
"platformAccountId": "usdc_eth_001",
"accountInfo": {
"accountType": "ETHEREUM_WALLET",
"address": "0xAbCDEF1234567890aBCdEf1234567890ABcDef12"
}
}'
```

<Note>
Ethereum wallets support USDC on Ethereum L1. No beneficiary information required.
</Note>
</Tab>
</Tabs>
<Tip>Use `platformAccountId` to tie your internal id with the external account.</Tip>

Expand Down
Loading