Create a customer

Create a customer under your account. Optionally assign the customer to a merchant group on creation with merchantGroupId. Send a unique Idempotency-Key header so the request can be safely retried.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length ≤ 255
string
required
length ≤ 255
string
length ≤ 255
string
required
length ≤ 255
string
required
length ≤ 15
^\+[1-9][0-9]{1,14}$
string
required
^[0-9]{2}/[0-9]{2}/[0-9]{4}$
string
required
length ≤ 255
string
length ≤ 255
string
required
length ≤ 255
string
required
length ≤ 20
string
required
length ≤ 100
string
required
^[A-Za-z]{3}$
string
length ≤ 255

Required for every companyType except INDIVIDUAL.

string
enum
required
Allowed:
string
length ≤ 255

Required when companyType is PRIVATE_COMPANY, PUBLIC_COMPANY, or TRUST.

string
length ≤ 255

Optional. Defaults to your company's active default merchant group when omitted.

Headers
string
required

Unique key for this request, exactly 32 characters. Reusing a key with a different body, or while the first request is still in flight, returns 409.

string
required
Responses

401

Missing, invalid, or expired token

403

Insufficient token scope, client certificate/source IP not allowed, or the merchant group belongs to another company

404

Merchant group not found

409

A customer with this email already exists for your company, or the Idempotency-Key was reused for a different request or is still in progress

500

Internal server error

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json