Endpoint
Request
Headers
Query Parameters
number
default:"20"
Maximum number of payment records to return in a single response. Accepted range:
1 – 100. Use in combination with offset to paginate through large result sets.number
default:"0"
Number of records to skip before returning results. Use this with
limit for cursor-style pagination. For example, to fetch the second page of 20 results, set offset=20&limit=20.string
Filter results to payments in a specific state. Accepted values:
Omit this parameter to return payments in all states.
string
ISO 8601 date-time string. Only payments created at or after this timestamp are returned. Example:
2025-01-01T00:00:00Z.string
ISO 8601 date-time string. Only payments created before or at this timestamp are returned. Example:
2025-01-31T23:59:59Z. Use together with from to define a reporting window.Response
boolean
true when the request completed without error.object
Aggregate statistics computed across the returned ledger snapshot.
array
Ordered list of payment records (newest first). Each element represents a single payment session.
number
Total number of matching records across all pages (accounting for any
status, from, or to filters). Use this value with limit and offset to calculate total page count.boolean
true if there are additional records beyond the current page — i.e. offset + limit < total. Use this flag to drive “Load more” or infinite-scroll pagination in your UI.Examples
Response — Success
Error Response
Notes
The history endpoint fetches up to the latest 50 records in a single pass when no
limit is specified. Pass an explicit limit and offset to implement paginated views. Use hasMore and total to drive pagination UI controls.
