Skip to main content
POST
/
v2
/
account
/
sub-accounts
Create Sub-Account
curl --request POST \
  --url https://api.avenia.io:8443/v2/v2/account/sub-accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "accountType": "<string>",
  "name": "<string>"
}
'
{
  "id": "<string>"
}

Create Sub-Account

POST 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.

Body

application/json
accountType
string
required
name
string
required

Response

Created

id
string
required