Skip to main content
GET
/
me
/
redemptions
List the user's redemption history
curl --request GET \
  --url http://localhost:4000/me/redemptions \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "voucherId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "outletId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "cycleKey": "<string>",
    "flagReason": "<string>",
    "gpsAvailable": true,
    "gpsDistanceMeters": 123,
    "code": "<string>",
    "redeemedAt": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

Bearer JWT signed by your app, with iss matching the issuer registered on the partner record. Verified against your JWKS URL or static public key.

Response

200 - application/json

Default Response

id
string<uuid>
userId
string<uuid>
voucherId
string<uuid>
outletId
string<uuid>
cycleKey
string
status
enum<string>
Available options:
SUCCESS,
FLAGGED
flagReason
null | string
gpsAvailable
boolean
gpsDistanceMeters
null | number
code
null | string
redeemedAt
string<date-time>