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:
| Setting | Meaning |
|---|---|
| Decimals | How many minor units make one whole unit. |
| Label | What the game shows after the amount, for example SC. |
| Play amounts | The amounts a player can choose, and the default. |
| Billable | Whether play in it counts toward Reelbit's fee. |
The default table for a new sandbox operator:
| Code | Name | Decimals | Label | Play amounts | Default | Billable |
|---|---|---|---|---|---|---|
GC | Gold Coin | 2 | GC | 0.10, 0.20, 0.40, 0.50, 1, 2, 5, 10, 20, 50, 100 | 1.00 | no |
SC | Sweeps Coin | 2 | SC | 1, 2, 5, 10, 20, 50, 100, 200, 500, 1,000 | 10.00 | yes |
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.
Docs