ReelbitDocs

Currencies

After this page you know how amounts are sent, how Gold Coin and Sweeps Coin differ, and which play amounts players can choose.

#Amounts are integers

Every amount, in both directions, is an integer number of minor units sent as a JSON integer. Never a float or a string. With 2 decimals, 150 means 1.50.

#Your currency table

Each operator account has a currency table. For each currency code you use, it sets:

SettingMeaning
DecimalsHow many minor units make one whole unit.
LabelWhat the game shows after the amount, for example SC.
Play amountsThe amounts a player can choose, and the default.
BillableWhether play in it counts toward Reelbit's fee.

The default table for a new sandbox operator:

CodeNameDecimalsLabelPlay amountsDefaultBillable
GCGold Coin2GC0.10, 0.20, 0.40, 0.50, 1, 2, 5, 10, 20, 50, 1001.00no
SCSweeps Coin2SC1, 2, 5, 10, 20, 50, 100, 200, 500, 1,00010.00yes

Tell support if your codes, decimals or amounts differ. GET /v1/games returns the play amounts configured for you.

#Gold Coin and Sweeps Coin

They are two separate currencies with separate balances. A session uses one of them and cannot switch; to switch, start a new session. Reelbit never assumes a coin is worth a dollar, and never converts between them.

#What the debit amount is

The debit is the chosen play amount times the game mode's cost multiplier. For a mode with cost_multiplier: 1, a 1.00 SC play debits 100. A feature purchase mode with a multiplier of 100 debits 10000 for the same 1.00 SC play.