cURL
curl --request POST \ --url https://grid.squads.xyz/api/v0/grid/smart-accounts/{smart_account_address}/virtual-accounts \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-Grid-Environment: <x-grid-environment>' \ --data ' { "currency": "usd", "grid_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } '
{ "customer_id": "<string>", "destination": { "address": "<string>", "currency": "usd", "payment_rail": "ach" }, "id": "<string>", "source_deposit_instructions": { "bank_account_number": "<string>", "bank_address": "<string>", "bank_beneficiary_name": "<string>", "bank_name": "<string>", "bank_routing_number": "<string>", "currency": "usd", "payment_rails": [ "ach" ] }, "status": "activated", "developer_fee_percent": "0.02" }
API Key for authentication
The environment you’re using. Can be sandbox or production.
sandbox
production
The address of the smart account to request virtual account for
usd
eur
mxn
usdc
usdt
usdb
dai
pyusd
eurc
Successfully requested virtual account
Show child attributes
activated
deactivated
"0.02"
Was this page helpful?