The customer object
string
Unique identifier with
cust_ prefix (e.g., cust_abc123def456).string
The customer’s email address. Automatically converted to lowercase.
string
The customer’s first name.
string
The customer’s last name.
string
When the customer was created (ISO 8601).
string
When the customer was last updated (ISO 8601).
List customers
integer
default:"1"
Page number for pagination. Results are returned 25 items per page.
Response
Get customer
string
required
The customer’s ID (e.g.,
cust_abc123def456).Response
Create customer
string
required
The customer’s email address. Must be a valid email format. Automatically converted to lowercase. Must be unique within your account.
string
The customer’s first name.
string
The customer’s last name.
Response
Validation errors
Email cannot be blank
Invalid email format
Duplicate email
Update customer
string
required
The customer’s ID (e.g.,
cust_abc123def456).string
The customer’s email address. Must be a valid email format.
string
The customer’s first name.
string
The customer’s last name.
Response
Delete customer
string
required
The customer’s ID (e.g.,
cust_abc123def456).204 No Content on successful deletion.
Customer features
Automatic wallet creation
When a customer is created, a cryptocurrency wallet is automatically created for them. This wallet can hold multiple cryptocurrency addresses for receiving payments.Email validation
- Email addresses must be in a valid format.
- Email addresses are automatically converted to lowercase.
- Email addresses must be unique within your account (but can be duplicated across different accounts).
Prefixed IDs
All customer IDs are returned with the prefixcust_ followed by a unique identifier (e.g., cust_abc123def456). This makes it easy to identify customer IDs in your application.
Pagination
By default, the API returns 25 customers per page. Use thepage query parameter to navigate through pages.
The pagination object in the response includes:
integer
Current page number.
integer
Total number of pages.
integer
Total number of items across all pages.
Integration example
Sandbox support
The API respects sandbox scoping. If your API token is associated with a sandbox, you can only access customers created in that sandbox. Email uniqueness is enforced separately within each sandbox.