customerEmail value — you do not need to create customers manually.
Use this API to look up a buyer’s payment history, verify past purchases, or retrieve a customer ID for cross-referencing with your own user database.
The Customers resource uses page-based pagination (via
page and limit query parameters), not the cursor-based pagination used by other resources such as Payment Links and Checkout Sessions.The Customer object
Unique identifier for the customer, e.g.
"cus_01HXYZ".Always
"customer".The customer’s email address as provided in the checkout session.
Arbitrary key-value pairs attached to the customer record.
null if no metadata has been set.ISO 8601 timestamp of when the customer record was first created.
ISO 8601 timestamp of the most recent update to the customer record.
GET /customers
Returns a page-based list of customer records for your account, ordered by creation time, most recent first. Required scope:customers:read
Query parameters
Number of results per page. Between
1 and 100. Defaults to 25.Page number to retrieve, starting at
1. Defaults to 1.Filter results to the customer with this exact email address. Useful for looking up a specific buyer.
Example request — list all customers
Example request — look up by email
Example response 200
Always
"list".Array of customer objects for the current page.
The total number of customers matching your query, across all pages.
The current page number.
The number of results per page as requested.
GET /customers/{id}
Retrieves a single customer by their ID. Required scope:customers:read
Path parameters
The ID of the customer to retrieve, e.g.
"cus_01HXYZ".