GET
/
smart-accounts
/
{smart_account_address}
curl --request GET \
  --url https://grid.squads.xyz/api/v0/grid/smart-accounts/{smart_account_address} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Grid-Environment: <x-grid-environment>'
{
  "created_at": "2021-01-01T00:00:00Z",
  "external_accounts": [
    {
      "account": null,
      "account_name": "<string>",
      "account_owner_name": "<string>",
      "account_owner_type": null,
      "account_type": "us",
      "active": true,
      "address": null,
      "bank_name": "<string>",
      "beneficiary_address_valid": true,
      "business_name": "<string>",
      "created_at": "<string>",
      "currency": "usd",
      "customer_id": "<string>",
      "first_name": "<string>",
      "iban": null,
      "id": "<string>",
      "last_4": "<string>",
      "last_name": "<string>",
      "swift": null,
      "updated_at": "<string>"
    }
  ],
  "grid_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "kyc": null,
  "policies": null,
  "smart_account_address": "<string>",
  "virtual_accounts": [
    {
      "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 retrieve

Query Parameters

external_accounts
boolean

Whether to include external accounts

virtual_accounts
boolean

Whether to include virtual accounts

kyc
boolean

Whether to include KYC status

policies
boolean

Whether to include policies

Response

200
application/json

Successfully retrieved smart account details

The response is of type object.