Skip to main content

Pagination Reference

All list endpoints use cursor-based pagination. See the Pagination guide for detailed examples.

Parameters​

ParameterTypeDescription
limitintegerNumber of objects to return (1–100). Default: 10.
starting_afterstringReturn objects after this ID (page forward).
ending_beforestringReturn objects before this ID (page backward).

Response format​

{
"object": "list",
"data": [...],
"has_more": true,
"url": "/v1/customers"
}

Example​

# Page 1
curl "https://api.meridian.dev/v1/customers?limit=10" \
-u sk_test_4eC39HqL...:

# Page 2 (use last id from page 1)
curl "https://api.meridian.dev/v1/customers?limit=10&starting_after=cus_LastIdFromPage1" \
-u sk_test_4eC39HqL...: