GET
/
smart-accounts
/
{smart_account_address}
/
virtual-accounts
curl --request GET \
  --url https://grid.squads.xyz/api/v0/grid/smart-accounts/{smart_account_address}/virtual-accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Grid-Environment: <x-grid-environment>'
[
  {
    "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 get virtual accounts for

Query Parameters

source_currency
string

The source currency to filter virtual accounts by

destination_currency
string

The destination currency to filter virtual accounts by

Response

200
application/json

Successfully retrieved virtual accounts

The response is of type object[].