Skip to main content
POST
Create account

Authorizations

Authorization
string
header
required

Enter Auth0 JWT token

Headers

Idempotency-Key
string
required

Client-generated idempotency key (UUID)

Body

application/json
country
string
required

Country of the account, ISO-3166 alpha-2

Example:

"SN"

name
string
required

Human-readable account name

Maximum string length: 255
Example:

"Trans-Sahel Logistics SARL"

Response

accountType
enum<string>
required
Available options:
master,
sub
country
string
required

ISO-3166 alpha-2

Example:

"SN"

createdAt
string<date-time>
required
id
string<uuid>
required

Account record id

parentAccountId
string<uuid>
required

The master that owns this account. Derived from the API key.

status
enum<string>
required
Available options:
pending,
active,
suspended,
closed