Creates a new customer
Creates a new customer.
You can also create customers in the Merchant Dashboard.
Body·
required
application/json
Request parameters for creating a new customer.
- Type: stringFormat: date-timecreatedrequired
Time at which the object was created. Measured in seconds since the Unix epoch.
- Type: booleanlivemoderequired
Has the value
trueif the object exists in live mode or the valuefalseif the object exists in test mode. - Type: string | nullemailmax length:1000
The customer's email address.
- Type: string | nullnamemax length:5000
The customer's full name or business name.
- Type: string | nullphonemax length:5000
The customer's phone number.
- Type: array of string | nullpreferred
_locales max length:5000The customer's preferred locales (languages), ordered by preference.
- Type:addressProperties: 6
The customer's address.
- Type:invoice
_settings Properties: 1Customer invoice settings
- Type: stringtest
_clock ID of a ready test clock to attach to this new customer. Available only in sandbox mode. The association cannot be changed after creation; subscriptions and schedules created for this customer inherit it.
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for post/v1/customers
curl https://api.paypercut.io/v1/customers \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"created": "2026-11-13T07:04:16.100Z",
"livemode": true,
"email": null,
"name": null,
"phone": null,
"preferred_locales": [
""
],
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"invoice_settings": {
"default_payment_method": "01K688H80Z3199KETHDJ4ZAFPS"
},
"test_clock": "clock_01K00000000000000000000001"
}'
{
"created": "2026-11-13T07:04:16.105Z",
"livemode": true,
"email": null,
"name": null,
"phone": null,
"preferred_locales": [
"string"
],
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"invoice_settings": {
"default_payment_method": "01K688H80Z3199KETHDJ4ZAFPS"
},
"id": "string",
"test_clock": "string"
}
