Yes, we do provide a callback for successful reward redemptions. Currently, the reward redemption callback may only be used with virtual currency rewards. We are in the process of expanding this to support all redemption types and and will update this page accordingly.
First, make sure virtual currency is enabled for your app and you've assigned assign values to each dollar amount. This setting can be found on the "App Settings" page in the Kiip dashboard.
Then, ensure you've added the listener in your
AppDelegate.m in order to listen for currency rewards.
Client Side Callback
The listener will be called by the Kiip SDK/API after a user redeems a reward that carries a virtual currency value. We will pass a quantity of currency into the method under the
quantity parameter and the name of the currency under the
content parameter. You can then handle depositing the value via your in-game currency management.
If a user chooses not to redeem currency, then the value passed down will be zero.
Server Side Callback
If you prefer to validate a reward redemption then you can do so via a server callback. You'll need to set up a callback URL and specify the endpoint you want us to POST to with that callback after each successful virtual currency reward redemption. This must be done for each app in the "App Settings" section in the "Callback URL" field as shown below;
For more information on the types of data included in the callback and how to verify the request please refer to our technical documentation under the appropriate platform.