Logoelepay
Customers

Create customer

Creates a customer.

POST
/customers
Name
length ≤ 255
Description of the customer
length ≤ 255
Email address
length ≤ 255
Phone number
length ≤ 255
Remarks
Metadata

Response Body

application/json

Created

TypeScript Definitions

Use the response body type in TypeScript.

response?CustomerDto

Customer object

curl -X POST "https://api.elepay.io/customers" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "string",
  "object": "customer",
  "liveMode": true,
  "defaultSource": "string",
  "name": "string",
  "description": "string",
  "email": "string",
  "phone": "string",
  "remark": "string",
  "operator": "string",
  "status": "active",
  "metadata": {},
  "updateTime": 0
}