cURL
curl --request POST \ --url https://grid.squads.xyz/api/grid/v1/accounts/{address}/virtual-account \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "currency": "<string>", "grid_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } '
{}
Create a virtual account for off-chain transactions associated with a smart account
Your Grid API key from the Grid Dashboard
Smart account address
(Deprecated) User ID is derived automatically from the smart account address. This field is optional and only validated if provided.
Virtual account created successfully
Was this page helpful?