Skip to main content
POST
/
api
/
v1
/
customers
curl -X POST "https://api-sandbox.paywithsoap.com/api/v1/customers" \
  -H "Authorization:  YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "[email protected]",
    "first_name": "John",
    "last_name": "Doe",
    "phone_number": "15551234567",
    "date_of_birth": "1990-01-01",
    "internal_id": "3f1b8c4e-7c2e-4c2c-8d2f-179cf0efb36b"
  }'
{
  "id": "cus_A3GuXEbThpqk2t6UTxEuoceVJyUEAX7V",
  "internal_id": "cust_123",
  "email": "[email protected]",
  "first_name": "John",
  "last_name": "Doe",
  "phone_number": "1234567890",
  "date_of_birth": "1990-01-01",
  "created_at": "2025-03-10T16:08:14.427Z"
}
Creates a new customer with the provided information. The customer can then be used for creating checkouts and other operations.
curl -X POST "https://api-sandbox.paywithsoap.com/api/v1/customers" \
  -H "Authorization:  YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "[email protected]",
    "first_name": "John",
    "last_name": "Doe",
    "phone_number": "15551234567",
    "date_of_birth": "1990-01-01",
    "internal_id": "3f1b8c4e-7c2e-4c2c-8d2f-179cf0efb36b"
  }'
{
  "id": "cus_A3GuXEbThpqk2t6UTxEuoceVJyUEAX7V",
  "internal_id": "cust_123",
  "email": "[email protected]",
  "first_name": "John",
  "last_name": "Doe",
  "phone_number": "1234567890",
  "date_of_birth": "1990-01-01",
  "created_at": "2025-03-10T16:08:14.427Z"
}

Authorizations

Authorization
string
header
required

Body

application/json
email
string
required
Example:
first_name
string
required
Example:
last_name
string
required
Example:
phone_number
string
Example:
date_of_birth
string<date>
Example:
internal_id
string
Example:

Response

id
string
Example:
internal_id
string
Example:
email
string
Example:
first_name
string
Example:
last_name
string
Example:
phone_number
string
Example:
date_of_birth
string<date>
Example:
created_at
string<date-time>
Example: