Skip to main content
GET
/
v2
/
account
/
sub-accounts
Get Sub-Accounts
curl --request GET \
  --url https://api.avenia.io:8443/v2/v2/account/sub-accounts \
  --header 'Authorization: Bearer <token>'
{
  "cursor": "<string>",
  "subAccount": [
    {
      "id": "<string>",
      "accountType": "<string>",
      "name": "<string>",
      "createdAt": "<string>"
    }
  ]
}

Get Sub-Accounts

GET request to /v2/account/sub-accounts

Authorizations

Authorization
string
header
required

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

Query Parameters

createdAfter
integer

Filter sub-accounts created after timestamp

createdBefore
integer

Filter sub-accounts created before timestamp

cursor
string

Cursor for pagination

accountType
string

Filter by account type

name
string

Filter by name

Response

OK

cursor
string
required
subAccount
object[]
required