Skip to main content
POST
/
v2
/
account
/
sub-accounts
Create sub-account
curl --request POST \
  --url https://api.example.com/v2/account/sub-accounts/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
accountType
enum<string>
required
Available options:
INDIVIDUAL,
COMPANY
name
string
required

Response

OK

id
string<uuid>