Reward state management APIs control the lifecycle of an issued reward transaction. An issued reward can be redeemed, reverse-redeemed, or revoked:
- Redeeming moves the reward from
ISSUEDtoREDEEMED. - Reverse-redeeming moves the reward from
REDEEMEDback toISSUED. - Revoking cancels the reward and refunds the points consumed during issuance.
Each state transition is gated by a brand-level configuration flag and is disabled by default.
| API | Description |
|---|---|
| Redeem User Reward | Redeems an issued reward transaction (ISSUED to REDEEMED). |
| Reverse-Redeem User Reward | Reverses a redemption (REDEEMED to ISSUED). |
| Revoke User Reward | Revokes an issued reward transaction (ISSUED to CANCELLED) and refunds the consumed points. |
