/
Get specific redemption r...
Get current status of a specific redemption redeem with automatic access control based on authentication context. Optionally include related entities (redemption, user, business, transactions).
Security
projectKey or authJWT
- Mock serverhttps://docs.pers.ninja/_mock/swagger/redemptions/redeems/{redeemId}
- https://api.pers.ninja/v2https://api.pers.ninja/v2/redemptions/redeems/{redeemId}
- projectKey
- authJWT
curl -i -X GET \
'https://docs.pers.ninja/_mock/swagger/redemptions/redeems/{redeemId}?include=string' \
-H 'x-project-key: YOUR_API_KEY_HERE'Redemption redeem retrieved successfully
The status of the redemption redeem
Default:"PENDING"
Enum:"PENDING""PROCESSING""COMPLETED""FAILED"
The date and time when processing of the redemption redeem started
The date and time when processing of the redemption redeem was last updated
Message regarding the redemption status (failure reason, success info, etc.)
Analytics tracking: source/channel of this redeem action
Example:
{ "channel": "mobile", "medium": "referral", "campaign": "summer_promo" }
Response
{ "id": "string", "userId": "string", "redemptionId": "string", "userCountryCode": "string", "status": "PENDING", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "message": "string", "dataSource": { "channel": "mobile", "medium": "referral", "campaign": "summer_promo" }, "included": { "redemption": { … }, "user": { … }, "business": { … }, "transactions": [ … ] } }