GET /api/gateway/customers
Returns a paginated list of customers.Query parameters
Response
GET /api/gateway/customers/
Fetches a single customer by theircus_* ID.
Response
customerId to filter payments and invoices for this customer.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
List and retrieve customer records created during checkout.
curl "https://dash.getopenrails.com/api/gateway/customers?limit=20"
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum number of records to return. Defaults to 20. |
customerId | string | Filter to a specific customer by cus_* ID. |
email | string | Filter by exact email address. |
status | string | Filter by customer status. |
{
"object": "list",
"data": [
{
"id": "cus_7G42M9",
"object": "customer",
"email": "buyer@example.com",
"status": "active",
"created": "2026-05-01T10:00:00Z"
}
],
"hasMore": false
}
cus_* ID.
curl https://dash.getopenrails.com/api/gateway/customers/cus_7G42M9
{
"id": "cus_7G42M9",
"object": "customer",
"email": "buyer@example.com",
"status": "active",
"created": "2026-05-01T10:00:00Z"
}
customerId to filter payments and invoices for this customer.