Goto Home
🌍 POST /reward-hashes/:id/consume
Description
- Increment the consume count
- Mark the
isConsumed of the hash as true
- Update the remaining count
- If already consumed, then reject with status
409
- If completed, then set
expiredAt also
- Send socket notification with event
reward-consumed
Links
Goto Home