Skip to main content
POST
Create Customer

Authorizations

Authorization
string
header
required

Bearer API Key authentication. Format: Authorization: Bearer {your_api_key}

Headers

Request-Id
string
default:008e3967-a1b5-48bb-be14-d5bff5092e61
required

The unique identifier of the request

Body

application/json
email
string

Customer email, mutually exclusive with payer_id

phone
string

Customer phone number

name
string

Customer name

address
object

Customer address

metadata
object

A set of key-value pairs that can be attached to an object, allowing you to store additional information in a structured format.

payer_id
string

Third-party customer ID

email_subscription
integer<int32>

Whether to subscribe to marketing email notifications

  • 1: Do not subscribe
  • 2: Subscribe

Response

200 - application/json

OK

code
string

error code

message
string

error message

data
object