Overview
After reading this page you will know what Reelbit runs, what your platform builds, and how one round flows between the two.
#What Reelbit hosts
- The games, served from
games.reelbit.ioinside an iframe on your site. - The game server. It decides every result on its own servers, using a cryptographically secure random number generator.
- A record of every round, kept for 5 years, with a replay link for each one.
#What you build
- One signed call to start a game session:
POST /v1/sessions. - A wallet with four endpoints that Reelbit calls:
balance,debit,creditandrollback. - Optionally, reads for support and reconciliation: rounds, transactions and a daily activity report.
Your platform keeps the only player balance. Reelbit never holds player funds. It asks your wallet to move money, one debit and one credit per round.
#One round, start to finish
sequenceDiagram
autonumber
participant P as Player
participant O as Your platform
participant R as Reelbit
participant W as Your wallet
O->>R: POST /v1/sessions (signed)
R-->>O: launch_url (single use, 60 seconds)
O->>P: Page with iframe src=launch_url
P->>R: Opens the game
R->>W: POST /balance
W-->>R: balance
P->>R: Play 1.00 SC
R->>W: POST /debit (transaction_id, round_id, amount 100)
W-->>R: new balance
R->>R: Decide and record the result
R->>W: POST /credit (amount = win, round_closed true)
W-->>R: new balance
R-->>P: Show the result
A losing round still sends a credit, of 0, so your wallet always sees the round close.
#Environments
| Environment | API | Games |
|---|---|---|
| Sandbox | https://api.sandbox.reelbit.io | https://games.sandbox.reelbit.io |
The sandbox uses test money only. Production addresses are sent with your production credentials after you pass the go-live checklist.
#What this version does not do
Free rounds and promotions are not in this version. The request shapes reserve room for them: see Changelog and versioning.
Docs