Pagination
List endpoints are cursor-paginated. Pass an opaque cursor and an optional
page_size (max 100):
curl "https://api.starpay.example/api/v1/transactions?page_size=50" \
-H "Authorization: Bearer sk_live_..."
The response envelope carries the next cursor in meta:
{
"status": true,
"message": "OK",
"data": [ { "id": "txn_1" }, { "id": "txn_2" } ],
"meta": { "next_cursor": "eyJpZCI6IDQ1Nn0" }
}
Pass next_cursor back as ?cursor= to fetch the following page. A null
next_cursor means you've reached the end. Cursors are stable under inserts,
so you won't skip or duplicate rows while paging.