post
https://api.froogal.ai/loyalty/redemptions/coupons/redeem
Facilitates the redemption of a coupon within a merchant's loyalty program. It requires parameters such as a tracking ID and coupon code. After checking if the user is blocked from redemption by the merchant, the function proceeds to confirm the coupon redemption. If successful, it returns a success response indicating that the coupon has been redeemed. If an error occurs during the redemption process, it catches and handles the exception, returning an error message with details of the exception.
