Rehook Coupon APIs help you to fetch/validate/redeem/revert the coupons created on the Rehook dashboard.

Please refer to the following endpoints to interact with the Rehook coupons

API End pointScope
Fetch coupons: https://rehook.readme.io/reference/get-couponsThis API endpoint will return the applicable coupon codes created on Rehook dashboard. same can be displayed on your application coupons tray list.
Validate coupons: https://rehook.readme.io/reference/validate-couponsThis API endpoint will validate the given coupon code or coupon ID for it's redemption.
Redeem/Revert coupon: https://rehook.readme.io/reference/apply-couponsThis API will redeem the given coupon code for a customer when they complete the order journey on your application. Same API can also be used to revert the exercised coupon code based on the order status.