List a user's reward grants, newest first
A user's reward grants, newest first, each naming the rule that made it and the transaction it credited.
/v1/users/{userId}/rewardsA user's reward grants, newest first, each naming the rule that made it and the transaction it credited. Requires rewards:read; a user token may read only itself (forbidden, 403) and an unknown id gives user_not_found (404). limit is clamped to 1-100.
Authorization
bearerAuth A tenant API key (sk_{env}_{id}_{secret}), a wallet user token, or an IdP access token. Which principal the credential resolves to decides the scopes it carries; see the authentication guide.
In: header
Path Parameters
uuidQuery Parameters
1 <= value <= 10050Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/v1/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/rewards"[ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "rule_id": "728c1541-d6d1-4290-9a53-cdf01dd32d60", "kind": "string", "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5", "source_txn": "935b1748-a1db-4a2a-a331-a24ac858b260", "amount": 0, "txn_id": "3dd6ecc9-94bf-4fc7-98ae-cdbe5b6f62e4", "created_at": "2019-08-24T14:15:22Z" }]Convert points to wallet cash at the tenant rate
Burns loyalty points and credits the user's wallet cash at the tenant's active conversion rule, in one balanced posting.
The tenant's configured tier caps (admin)
The tenant's configured caps per tier: maximum balance, top-up per day and peer-to-peer per day.