Process of cashout a coupon
Here's how to manage and process the cashout coupon.
-
Use cpn2 API to get the coupon details.
-
To check if the coupon is available for cashout, use the couponCashout2 API. (Check the couponCashout2 to learn more.)
-
Then, use cashout-check API to confirm if the cashout is available for the coupon. (You can use this API before showing a modal confirmation for cashout)
-
When confirmed, use the cashoutBook API to process the coupon.
-
Once the response is successful, use checkreserveid API to check if the process is done.
