Using Gameball Widget
The Gameball Widget is a pre-built interface that automatically handles the display and redemption of coupons. It simplifies the integration process by managing the UI and redemption flow for you.1
Complete Configuration
Ensure all necessary configurations for your coupon system are set up in the Gameball dashboard.
2
Initialize Widget
Integrate the widget into your web application by including the provided widget script. For mobile platforms, use the corresponding SDKs supported by Gameball (Android, iOS, React Native).
3
Widget Display
The widget will display available coupons and provide an option to create new coupons based on the customer’s points balance.

Building Your Own Redemption UI
While the Gameball widget offers a quick solution for managing coupon redemptions, some businesses may require more flexibility in design and user experience. If you prefer full control over the look, feel, and flow of the redemption process, building a custom UI is the way to go.Viewing Points Balance
Allow customers to view their points for a seamless redemption experience. Call the Get Customer Balance API and render the response:Calculating Points Available for Redemption
Validating Redemption Requests
Allowing Customers to Redeem Points for Coupons
Once customers can view their points, the next step is enabling them to redeem these points for discount coupons. Creating a Redemption Page:- Set up a page where customers enter points to redeem
- Display available points and monetary equivalent
- Call the Generate Coupon API with the calculated value:
Showing Available Coupons to Customers
Retrieve customer coupons using the Get Customer Coupons API and render a list:Applying Coupons at Checkout
- Check coupon validity (e.g., ensure
isUsedis false) - Apply coupon logic to compute new totals
- Prepare and send Order API request with updated values