Get list of customers
API Refs
- Staging: Get list of customers
Request parameters
Name | Type | Description | Required |
---|---|---|---|
limit | number | Maximum number of customers to return (default: 50, max: 100) | no |
offset | number | Number of customers to skip for pagination | no |
include_subscriptions | boolean | Whether to include subscription data for each customer (default: false) | no |
Response body
Returns a paginated response with:
data
: Array of customer objects, each containing:id
: StripeCustomerIDemail
: Customer emailfirstName
: Customer first namelastName
: Customer last namephone
: Customer phone numberstripeCustomerId
: Stripe StripeCustomerIDhasActiveSubscription
: Whether customer has active subscriptionssubscriptions
: Array of subscription details (only when include_subscriptions=true)createdAt
: Creation timestampupdatedAt
: Last update timestamp
pagination
: Pagination detailstotal
: Total number of customerslimit
: Number of items returnedoffset
: Number of items skippedhasMore
: Whether more items exist
Description
This endpoint retrieves a paginated list of all customers in your merchant account. The response includes basic customer information and optionally their subscription details when include_subscriptions=true
. The pagination uses offset-based navigation to browse through large customer lists.
Updated 3 days ago