Paginate balance transactions
Walk a merchant's full ledger history page by page.
List endpoints return the Stripe list envelope — a data array, a has_more
boolean, and the canonical url. Page forward by passing the last id you saw as
starting_after. The Node and Python SDKs ship auto-paging helpers so you rarely
manage the cursor by hand.
Cursors are merchant-scoped; an unknown or cross-merchant cursor returns
invalid_request_error and never leaks another merchant’s rows. The same cursor
pattern works for any list endpoint (/v1/refunds, /v1/customers, …).