POST
Create an account

Authorizations

Authorization
string
header
required

A project API key, alt_live_… or alt_test_….

Headers

Idempotency-Key
string

Up to 255 characters. Repeating a request with the same key replays the stored response for 24 hours; the same key with a different request is a 409.

Maximum string length: 255

Body

application/json
name
string
required
Required string length: 1 - 200
external_ref
string

Your own id for this customer. Unique within the project.

Maximum string length: 255
metadata
object

Free-form JSON object, at most 8 KB.

Response

The new account.

id
string
required
object
string
required
Allowed value: "account"
name
string
required
external_ref
string | null
required
metadata
object
required
created_at
string<date-time>
required