Invoke this endpoint to return an array of rewards that were redeemed while associated with a specified wallet address.
the wallet address
GET /partner-api/wallets/{wallet_address}/redemptions HTTP/1.1 Host: X-API-Key: YOUR_API_KEY Accept: */*
OK
{ "redemptions": [ { "date": 1, "token_id": "text", "description": "text", "code": "text" } ] }
Utilize this endpoint to generate a redemption code for a given reward.
the reward uuid
the token id
POST /partner-api/wallets/{wallet_address}/redemptions HTTP/1.1 Host: X-API-Key: YOUR_API_KEY Content-Type: application/x-www-form-urlencoded Accept: */* Content-Length: 38 "reward_id='text'&token_id='text'"
{ "redemption": { "uuid": "text", "code": "text", "promo_code": "text", "state": "text", "expires_at": 1 } }