Customers API
Create, retrieve, and manage customer information with the Notch Pay API
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
Unique identifier for the customer
Customer’s full name
Customer’s email address
Customer’s phone number
Additional data attached to the customer
Timestamp when the customer was created
Timestamp when the customer was last updated
API Endpoints
List All Customers
Retrieve a list of customers with pagination.
Query Parameters
Number of items per page (default: 30, max: 100)
Page number (default: 1)
Search by name, email, or phone
Create a Customer
Create a new customer.
Request Parameters
Customer’s full name
Customer’s email address (required if phone
is not provided)
Customer’s phone number (required if email
is not provided)
Additional data to attach to the customer
Example Request
Update a Customer
Update an existing customer.
Path Parameters
ID of the customer to update
Request Parameters
Customer’s full name
Customer’s email address
Customer’s phone number
Additional data to attach to the customer
Example Request
List Customer Payments
Retrieve a list of payments made by a specific customer.
Path Parameters
ID of the customer
Query Parameters
Number of items per page (default: 30, max: 100)
Page number (default: 1)
Filter by payment status
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.