LevelCompleted event is received and the game has coins_enabled set to true. You do not need to calculate or credit coins yourself — the server handles that as soon as it processes the event. The player’s coins_balance on their profile increases, and a periodic conversion job turns accumulated coins into a USD balance that players can withdraw.
Confirm coins are enabled for your game
Call Look for your game’s entry in the response array:Proceed only if
GET /v1/games and find your game in the response. Check the coins_enabled field. If it is false, completing levels will not award coins and you should contact your PlaySmart admin before proceeding.coins_enabled is true.Send a LevelCompleted event
When a player completes a level, send a The server returns
LevelCompleted event to POST /ingest/events. The user_id must match the authenticated player’s ID (the sub claim from their access token), and game_id must be your game’s bundle_id.202 Accepted to confirm the event was queued for processing.Coin transaction is recorded
After the event is processed, the server creates a coin transaction record for the player with the following fields:
The player’s
| Field | Value |
|---|---|
type | earn |
trigger | level_complete |
amount | configured per game in the admin panel |
balance_before | the player’s coins_balance before the award |
balance_after | the player’s coins_balance after the award |
coins_balance on their profile is updated accordingly.Coins convert to USD automatically
A background conversion job runs on a scheduled cycle and converts each player’s accumulated
coins_balance into money_balance_usd using the exchange rate configured for your game. You do not need to trigger this — it happens automatically. After conversion, coins_balance is reduced and money_balance_usd increases by the converted amount.Players can then request a PayPal withdrawal once their money_balance_usd meets the minimum threshold. See the withdrawal guide for details.The number of coins awarded per completed level is configured in the admin panel by your PlaySmart admin. If coin awards are not appearing as expected, verify the reward amount is set and the game’s
coins_enabled flag is true.