Direct debit redemption
Last updated
Last updated
If you opt not to use the coupon system integration, you can implement redemption directly within your system using direct redemption. This guide will assist you in redeeming your customers' points through this method. However, we recommend following the coupon system integration guide as it provides a more straightforward, secure, and seamless experience.
Through Gameball, customers can redeem and use their accumulated points as discounts during the checkout process on your website. This feature enhances customer engagement by facilitating a rewarding shopping experience. Let's go over how this can be done.
Enabling customers to view their points balance is crucial for an optimal redemption experience. This transparency helps customers track their progress toward rewards. You can retrieve a customer's current points balance using the Customer's Points Balance API
You can use the result from the previous step to verify whether the points a customer wishes to redeem exceed their available points balance:
Direct Redemption For scenarios where customers redeem points immediately, such as an instant reward, use the Redeem API. By calling this API and specifying the exact points or monetary amount to redeem, you can directly deduct the required points from the customer’s balance without delay. This method is ideal for situations where the customer completes the transaction in one continuous process and doesn’t require a temporary hold on points.
Upon successful redemption, the response will include:
Equivalent Points Redeemed: The actual points deducted from the customer’s balance.
Redemption Amount: The monetary value associated with the redeemed points, reflecting the discount or reward provided.
Example use case: If a customer has accumulated 200 points and wishes to redeem 100 points immediately for a $10 instant reward, you would call the Redeem API, specify the points or amount to redeem, and the points would be deducted instantly, providing the customer with a real-time discount.
Holding Points for Later Redemption If the customer initiates a redemption but may take some time to finalize their order, such as during a lengthy checkout or when they are browsing further, it's recommended to hold the points temporarily. By using the Hold Points API , you can reserve a specific number of points from the customer’s balance for a limited period, ensuring these points are not redeemed elsewhere until the order is confirmed.
This will return the response including
Hold Reference: The API returns a unique holdReference
identifier for the held points. This reference should be stored and used later when you want to finalize the redemption.
This approach is particularly useful for preventing double usage of points. By holding points, you make sure the customer’s intended points for redemption remain available for the transaction they are initiating.
Once the customer is ready to confirm the redemption, you’ll use the previously returned holdReference
to complete the transaction. You have two ways to finalize this redemption:
Order API: If the points redemption is part of a tracked order (such as an e-commerce purchase), pass the holdReference
to the Order API to associate the hold with the specific order. This will deduct the held points from the customer’s balance and finalize the order.
Example use case:
A customer applies 100 points to their cart and then spends additional time selecting items. By using the Hold Points API, you reserve those 100 points for 10 minutes. When they finally check out, you call the Order API, providing the holdReference
to finalize the redemption as part of their purchase.
Redeem API (Standalone Redemption): If there is no associated order, but you need to finalize the points redemption independently, you can call the Redeem API with the holdReference
. This will complete the redemption, deducting the points without linking them to a specific order.
Example use case:
A customer applies points for a direct reward on your site but does not place an order. You can hold the points temporarily. When the customer decides to use the reward, you use the Redeem API with the holdReference
to finalize the redemption independently.
Important Operations to Consider
Reverse Transaction: If you need to cancel or refund a redeemed points transaction, store the original transaction ID and use the Reverse Transactions API.
Reverse Hold Transaction: If necessary, reverse the hold transaction within the 10-minute window using the Reverse Hold Transaction API.
We recommend that you follow the coupon system integration guide instead of using direct redemption since it is easier, safer and more smooth