Skip to main content
POST
Create a customer

Authorizations

Authorization
string
header
required

API key authentication. Include your API key in the Authorization header as Bearer <api_key>.

Headers

Idempotency-Key
string

Unique key for idempotent requests (24-hour cache)

Body

application/json
type
enum<string>

Customer type

Available options:
consumer,
corporate
email
string

Customer email

phone
string

Customer phone number

name
object
policy
object

Spending policy controls

metadata
object

Response

Customer created

id
string
required

Unique customer ID

type
enum<string>
required

Customer type

Available options:
consumer,
corporate
status
enum<string>
required

Customer status

Available options:
pending,
active,
deleted
email
string | null

Customer email

phone
string | null

Customer phone number

name
object
policy
object

Spending policy controls

metadata
object

Custom metadata

createdAt
string<date-time> | null