Payout via SDK
If you do not have a server to receive payouts, you can payout your user via the SDK using the below method. This can be used by anyone but is not considered secure.
If you do not have a server this method can be used, but this is not a secure method to payout your users. It is better to payoutdirectly to your backend to secure yourself from fake payouts.
Read more about our postback payouts here: Postback Payout (S2S)
TA_OfferDetails
manages offer details and interacts with various UI elements. Upon selecting an offer, the offer data is refreshed. All payout events with a conversion status of "approved" have their payout amounts added to the total coins. Coin records, including currentCoins, spentCoins, and totalCoins, are saved in JSON format.
TA_UI have two public methods to retrieve the current coins a player has and to spend coins in the game/app.
SpendCoins
will take an input value in float and will not produce any output.GetCurrentCoins
will take not take any input value and will return current coins user has as output.
Last updated