Pagination
GET /v1/customers/{channel}/{externalId}/history is Tessera’s one paginated list endpoint today,
and it uses a cursor, not page numbers.
Request
Section titled “Request”| Query param | Meaning |
|---|---|
limit | Page size, 1–100 (optional; the API applies a default when omitted). |
cursor | Opaque cursor from a previous page’s page.next_cursor. Omit for the first page. |
type | Filter to one or more ledger entry types — comma-separated, e.g. type=earn,burn. |
since / until | ISO-8601 bounds on created_at. |
GET /v1/customers/shopify/cust_5512/history?limit=20&type=earn,burnResponse
Section titled “Response”{ "data": [ { "id": "...", "type": "earn", "currency": "spendable", "amount": 100, "state": "confirmed", "source_channel": "shopify", "source_ref": "ord_9001", "source_event_id": "evt_...", "created_at": "2026-07-24T12:00:00Z" } ], "page": { "next_cursor": "eyJ...", "has_more": true }}Keep paging while page.has_more is true: pass page.next_cursor back as the next request’s
cursor. When has_more is false, next_cursor is null and you’ve reached the end.
Ledger entry type values you may see: earn, maturation, burn, expiry, adjustment,
reversal, clawback, burn_reversal, transfer.
With the SDK
Section titled “With the SDK”member.history() returns a pager that’s both directly awaitable (the first page) and
async-iterable (it follows the cursor for you):
// Every entry, across every page:for await (const entry of member.history()) { console.log(entry.type, entry.currency, entry.amount);}
// Or just the first page, with filters:const page = await member.history({ limit: 50, types: ['earn', 'burn'] });console.log(page.data.length, 'entries; more?', page.page.hasMore);See Reading balances for history alongside balance and status reads.