POST
/
smart-accounts
/
{smart_account_address}
/
virtual-accounts
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"
  },
  "developer_fee_percent": "0.02",
  "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"
}

Authorizations

Authorization
string
header
required

API Key for authentication

Headers

X-Grid-Environment
string
required

The environment you’re using. Can be sandbox or production.

Path Parameters

smart_account_address
string
required

The address of the smart account to request virtual account for

Body

application/json

Response

200
application/json

Successfully requested virtual account

The response is of type object.