How Customers Work
Manage your customers effortlessly with Cheqpay. Store customer information, track payment history, and provide a better payment experience for returning customers. Customers are automatically created when you process a payment. You don’t need to create them separately - just include customer information in your payment request.What You Can Store
Contact Information
Full name, email, and phone number
External Reference
Your own customer reference ID
Notification Preferences
Email and SMS notification settings
Payment Methods
Saved cards for future purchases
Customer Identification
Use theexternalId field to link Cheqpay customers with your system:
How It Works
1
First Payment
When you process the first payment, a customer record is created in Cheqpay.
2
Subsequent Payments
On future payments with the same
externalId, we retrieve and update the existing customer.3
No Duplicates
The same
externalId ensures no duplicate customer records are created.Notification Preferences
Control how your customers receive payment confirmations:Available Notifications
- Payment confirmations - Successful payment receipts
- Receipt emails - Detailed transaction receipts
- Refund notifications - Refund confirmation emails
- SPEI transfer instructions - CLABE and payment details
Disable notifications if you prefer to send them from your own system.
Retrieve Customer Information
Access customer details, payment history, and saved payment methods:Customer Fields Reference
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Conditional | Required when referencing an existing customer |
externalId | string | No | Your unique customer identifier |
firstName | string | Conditional | Required when creating a new customer (if id not provided) |
lastName | string | No | Customer’s last name |
email | string | Conditional | Required when creating a new customer (if id not provided) |
phoneNumber | string | No | Phone number with country code |
Conditional Requirements:
- When referencing an existing customer: Only
customer.idis required - When creating a new customer: Both
customer.firstNameandcustomer.emailare required (noidneeded) - The
lastNameandphoneNumberfields are always optional
Best Practices
Always Use External IDs
Always Use External IDs
Link customers to your system by always including your internal customer ID as the
externalId. This makes it easy to match Cheqpay customers with your database.Keep Data Consistent
Keep Data Consistent
Use the same customer information across all payments. Consistency helps with fraud prevention and approval rates.
Respect Privacy Preferences
Respect Privacy Preferences
Honor customer notification preferences. Some customers prefer not to receive emails or SMS notifications.
Update Information
Update Information
If a customer updates their email or phone number in your system, include the updated information in the next payment request.