Through Gameball, you can allow your players to transform and use their collected points as discount coupons on their player widget through your web app.
Step 1: Enable points redemption on your web app
Configure the redemption equation on Gameball Admin Dashboard. Read about Points Configuration
❗️Note: Points redemption status must be Active.
Follow the below steps to complete points transaction:
You can get the current player balance to check if there is sufficient balance or not, or if you want to show it to your player on your web app through Player Points Balance API
Start a points hold request through Hold Points API
This API will hold the requested amount for 10 minutes until your player completes the payment process on your web app using any other payment method in case it will be a partial payment using pointsOrder is placed and paid successfully on your website
Totally redeem the held points from the player balance through Redeem Points API
Step 2: Important operations to consider
A. Reverse Transaction
When you will need to cancel a cashback transaction or to refund the redeemed points transaction, follow the below steps:
While you are creating a payment reward or points redemption transaction, you will store the original transaction ID of your platform on Gameball
You can reverse the reward/redemption transactions through Reverse Points Transactions API
B. Reverse Hold Transaction
You might need to reverse the held points during the 10 mins hold time. Follow the below steps:
While holding points, a hold reference ID will be created for this hold transaction
You can reverse the held points through Reverse Hold Transaction API