Accounts
Create account
Creates a pending sub-account (a master’s end-customer) under the caller’s master. The parent is resolved from the API key, never from the body. Pass Idempotency-Key; replaying the same key returns the original 201 instead of creating a duplicate. Emits the account.created webhook.
POST
Create account
Authorizations
Enter Auth0 JWT token
Headers
Client-generated idempotency key (UUID)
Body
application/json
Response
Available options:
master, sub ISO-3166 alpha-2
Example:
"SN"
Account record id
The master that owns this account. Derived from the API key.
Available options:
pending, active, suspended, closed Create account