ReelbitDocs

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

#What you build

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

EnvironmentAPIGames
Sandboxhttps://api.sandbox.reelbit.iohttps://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.