How the model works
Players and balances live on your platform. WGC makes POST requests to the Callback URL you register, with three commands: getBalance to read the balance, writeBet to record a bet and its win, and rollback to cancel a bet. The only exception is a demo client created by WGC staff, which uses a test wallet of WGC.
writeBet carries a bet and its win in one call. When a studio reports the bet and the result separately, WGC joins them into one round with a round id and both calls travel inside it. The kind of operation is play, refund or, when jackpots are enabled, jackpot, and a round-finished flag marks the end of the round.