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

Get Sub-Account by ID

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.

Path Parameters

sub-account-id
string
required

ID of the sub-account

Response

OK

subAccount
object
required