Skip to main content
GET
/
v1
/
sub-accounts
/
{id}
Get sub-account
curl --request GET \
  --url https://api.zavu.dev/v1/sub-accounts/{id} \
  --header 'Authorization: Bearer <token>'
{
  "subAccount": {
    "id": "<string>",
    "name": "Client ABC",
    "status": "active",
    "totalSpent": 123,
    "createdAt": "2023-11-07T05:31:56Z",
    "externalId": "<string>",
    "creditLimit": 123,
    "metadata": {},
    "apiKey": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Sub-account ID.

Response

Sub-account details.

subAccount
object
required