Skip to main content
GET
List receipts

Authorizations

Authorization
string
header
required

A project key (Developers → API keys). Keep it on your server, not in an app.

Headers

traceparent
string

W3C Trace Context; joins your trace to ours

Query Parameters

limit
integer
default:50

How many items to return, 1 to 200

Required range: 1 <= x <= 200
cursor
string

The next_cursor of the previous page; leave out for the first page

Required string length: 1 - 512
user
string

A usr_… ID, or the brand's own identifier

Required string length: 1 - 256
Example:

"ana@example.com"

rule
string

A rule_… ID or the rule's key

Required string length: 1 - 100
unit
string

Only receipts that changed this unit

Pattern: ^[a-z][a-z0-9_-]{0,63}$
Example:

"points"

cause
enum<string>

Only receipts of this kind: spend, use, send or receive

Available options:
spend,
use,
send,
receive
transfer
string

Only the two receipts of one units.send: the transfer ID of either receipt (the sender's receipt ID)

Pattern: ^act_[0-7][0-9a-hjkmnp-tv-z]{25}$
since
string<date-time>

From this time on, this time included: ISO 8601, UTC

until
string<date-time>

Up to this time, this time included: ISO 8601, UTC

Response

List receipts

data
object[]
required

The items on this page

has_more
boolean
required

Whether there are older items after this page

next_cursor
string | null
required

Pass it as cursor to get the next page; null on the last page