Skip to main content
POST
Create a customer

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Create a customer

subMerchantId
string

Unique identifier of the submerchant.

name
string

Display name.

email
string

Email address.

phone
string

The customer's phone number: 7 to 15 digits, optionally starting with +. Digits only after the optional + — spaces, dashes, parentheses, and other separators are not accepted. For example, 4155550123 or +14155550123.

Required string length: 7 - 16
Pattern: ^\+?[0-9]{7,15}$
Example:

"+14155550123"

Response

200 - application/json

Customer created successfully.

subMerchantId
string

Unique identifier of the submerchant.

name
string

Display name.

email
string

Email address.

phone
string

The customer's phone number: 7 to 15 digits, optionally starting with +. Digits only after the optional + — spaces, dashes, parentheses, and other separators are not accepted. For example, 4155550123 or +14155550123.

Required string length: 7 - 16
Pattern: ^\+?[0-9]{7,15}$
Example:

"+14155550123"