Features
Refunds
Tokenization
Recurring Payments
POST/customers

Create Customer

Create a new customer profile

Request Body

4 parameters

email

stringrequired

Customer email address

name

stringrequired

Customer full name

phone

string

Customer phone number

address

object

Customer billing address

Request Preview
{
  "email": "customer@example.com",
  "name": "John Doe",
  "phone": "+1234567890",
  "address": {
    "street": "123 Main St",
    "city": "New York",
    "state": "NY",
    "zip": "10001",
    "country": "US"
  }
}

Responses

200

Customer created successfully

{
  "id": "cust_1234567890",
  "email": "customer@example.com",
  "name": "John Doe",
  "phone": "+1234567890",
  "address": {
    "street": "123 Main St",
    "city": "New York",
    "state": "NY",
    "zip": "10001",
    "country": "US"
  },
  "created": 1647875400
}
Log in to use your API keys with Try It!
REQUEST
123456789101112131415