cURL
Customer
Create Customer
Create a new customer in the xPay system
POST
cURL
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Headers
A unique key for making the request idempotent. Must match pattern: ^[a-zA-Z0-9\-_:\.]+$. See Idempotent Requests for more details.
Maximum string length:
255Pattern:
^[a-zA-Z0-9\-_:\.]+$Body
application/json
Create Customer
Response
Customer created successfully
Unique identifier for the created customer
Example:
"cus_Tfd3Jq1tZxPjYVhRQW2r3"