Skip to main content
POST
Node.js

Headers

X-Api-Key
string
required

Body

application/json

The details of the sub-account to create.

company_name
string
required

The name of the company associated with the sub-account. This name is used for display purposes only and does not affect the functionality of the sub-account. The length must be between 3 and 128 characters.

handle
string

A unique name for the sub-account to be created. The length must be between 3 and 128 characters, and it may contain only lowercase letters and numbers. If not provided, a random handle will be generated.

Response

The sub-account was successfully created.

enabled
boolean
required
handle
string
required
company_name
string