Rewards
Redeem a catalogue item for a member; units are burnt at once, above the auto-approve threshold the redemption waits for your approval. 409 insufficient_units / in_debt (scope: rewards:write)
POST
bearerAuthheader
AuthorizationBearer <token>API key as Bearer token
ref*stringcustomer:<uuid> for an end customer of your organization, otherwise your own external id (URL-encode it).
Length
length <= 200Idempotency-Key?stringRequired. Retries with the same key replay the first response instead of starting a second job (24 h).
Length
length <= 200application/json- body
catalogKey*stringLength
length <= 120OK
application/json- response
data*error*nullcurl -X POST "https://example.com/rewards/members/string/redemptions" \ -H "Content-Type: application/json" \ -d '{ "catalogKey": "string" }'{ "data": { "id": 0, "status": "pending_approval", "duplicate": true }, "error": null}