post https://{cluster}.voucherify.io/v1/redemptions//rollback
Your business logic may include a case when you need to undo a redemption. You can revert a redemption by calling this API endpoint.
You can roll back a redemption up to 3 months back.
Effect
The operation
- creates a rollback entry in voucher's redemption history (
redemption.redemption_entries
) and - gives 1 redemption back to the pool (decreases
redeemed_quantity
by 1).
Returned funds
In case of gift card vouchers, this method returns funds back according to the source redemption. In case of loyalty card vouchers, this method returns points back according to the source redemption.