Integrate Redemption
Enable customers to redeem their earned points for rewards, discounts, or other benefits within your app.Redemption Flow
1
Check Customer Balance
Query the customer’s points balance using the server-side API.
2
Initiate Redemption
User requests redemption through your app UI.
3
Backend Validation
Your backend validates and calls Gameball server API to create the redemption transaction.
4
Update UI
Backend returns success/failure and the app updates accordingly.
Get Customer Balance
Use the server-side Customer Points Balance API to check if the customer has enough points for redemption.Redemption Implementation
Your backend should:- Verify the customer has sufficient points
- Call Redeem API to create redemption transaction
- Return the result to your app
- Update order/cart with the discount if applicable
App Implementation Example
E-Commerce Redemption
For e-commerce businesses, points redemption is typically done during checkout using the Order API. The redemption details (points to redeem and discount amount) should be handled on your backend.For non-e-commerce scenarios, use the Redeem API to create redemption transactions.