Create customer

Creates a new customer.

An email, phone number, or both are required to create a customer. If a customer already exists with the same email or phone number, an HTTP Status 409: Conflict response will be returned.


Authorization Scope

Only the merchant secret key is authorized to call this endpoint.

Body Params
string

The customer's email address.

string

The customer's phone number.

billingDetails
object
required
string

A referral code from another customer that will be claimed as the new customer is created.

json

JSON object of string key-value pairs that you can attach to a customer.

string
Defaults to default

Only used for merchants with the verified wallet feature. The status of the wallet. Possible values are: default, verified

Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json