v1

latestOpenAPI 3.0.0Proprietary2026-07-1313647393.0 KB
Customers

Create a customer

Create a customer profile. The combination of email and contact must be unique per customer. Customer profiles enable saved card tokens, faster checkout, and customer-scoped data.

post/customers

Request body

namestring required

Customer name. 3-50 characters. Allowed: alphanumeric, period, apostrophe, forward slash, @, parentheses.

contactstring

Phone number with country code. Min 8 digits, max 15 chars. Example: +919876543210.

emailstring

Email address. Max 64 characters.

gstinstring

GST Identification Number.

notesNotes

Key-value pairs for storing custom metadata. Maximum 15 pairs. Each key and value must not exceed 256 characters.

Response

Customer created.

idstring

Unique customer identifier. Prefix: cust_

entity'customer'
namestring

Customer name. 3-50 characters. Allowed: alphanumeric, period, apostrophe, forward slash, @, parentheses.

contactstring

Phone number. Max 15 characters. Include country code (e.g. +919876543210). Minimum 8 digits.

emailstring

Email address. Max 64 characters.

gstinstring

Goods and Services Tax Identification Number (optional).

notesNotes

Key-value pairs for storing custom metadata. Maximum 15 pairs. Each key and value must not exceed 256 characters.

created_atinteger

Unix timestamp of customer creation.