Rewards
Claim a reward
POST
/v1/rewards/{claimId}/claimPays everything the reward holds at once: points land on the balance straight away, and each catalog item is sent to your webhook as a fulfilment, the same as an item paid without a claim.
Claiming twice pays once, and the second call answers with the reward as the first left it. A reward past its deadline is refused.
Authorization
ApiKey AuthorizationBearer <token>
Paste a project API key (no 'Bearer ' prefix). Create one in the dashboard under API keys.
In: header
Path Parameters
claimId*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Body for claiming a reward.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/rewards/497f6eca-6276-4993-bfeb-53cbbbba6f08/claim" \ -H "Content-Type: application/json" \ -d '{ "playerId": "string" }'{ "claimId": "88057929-7728-4a26-8396-f965dcc8b947", "sourceType": "Mission", "sourceKey": "string", "sourceId": "797f5a94-3689-4ac8-82fd-d749511ea2b2", "rewards": [ { "kind": "Points", "pointsAmount": null, "catalogItemKey": null, "catalogItemValue": null } ], "earnedAtUtc": "2019-08-24T14:15:22Z", "expiresAtUtc": null, "claimedAtUtc": null}