Customers API
The Customers API allows you to create and manage customer information. Storing customer data makes it easier to process payments and track customer activity.
The Customer Object
Customer Object Properties
string
Unique identifier for the customer
string
Customer’s full name
string
Customer’s email address
string
Customer’s phone number
object
Additional data attached to the customer
string
Timestamp when the customer was created
string
Timestamp when the customer was last updated
API Endpoints
Create a Customer
Best Practices
Collect Complete Information
Collect as much customer information as possible to improve payment success rates and reduce fraud.Include both email and phone when available.
Use Metadata Effectively
Use the metadata field to store additional information about your customers that’s relevant to your business.This can include user IDs from your system, subscription information, or other custom data.
Validate Customer Data
Validate email addresses and phone numbers before sending them to the API to ensure they’re in the correct format.This helps prevent errors and improves the quality of your customer data.
Implement Customer Search
Use the search parameter when listing customers to quickly find existing customers instead of creating duplicates.Search by email, phone, or name to find matching customers.
Related Resources
Payments API
Create and manage payments for customers
Transfers API
Send money to customers
Webhooks API
Receive notifications about customer events