Operator docs Get sandbox access

Operator docs

Bring Lucky games
to your players.

Everything your engineers need to add our games to your casino: a signed server-to-server API, a seamless Wallet that stays on your side, and a game client you embed in your pages.

API v1 draft

The contracts are still in draft: Operator API 1.0.0-draft.8 and Wallet API 1.0.0-draft.1. They can change before release; the changelog summarizes what changed. Today the sandbox and the stage are the only Environments, both for testing only: real-money play isn’t available yet.

Three parts, two directions

Each part of the integration has one caller and one implementer, so it’s always clear which side owns which behavior.

Who does what

Operator APIWallet APIGame client
CallerYour backendLucky ∞The player’s browser
Implemented byLucky ∞YouLucky ∞ (the game) and you (the page around it)
AuthenticationOperator API Token plus an Ed25519 signature made with your keyA Wallet access token you issue plus an Ed25519 signature made with our keyA single-use launch code, then a session of its own
Your jobSign requests, keep the IDs we return, hand the launch URL to the browserVerify our signature, apply each transaction once per ID, return receiptsEmbed the launch URL on a page origin we approved

How a Round flows in real mode

Sequence of a Round in real mode Your backend creates a GameSession and passes the launch URL to the player’s browser. The game starts a Round on Lucky ∞ servers, which send one Debit and one Credit to your Wallet and return the Outcome to the browser. EACH ROUND Player’s browser Your backend Lucky ∞ Your Wallet 1 · createGameSession 2 · launch_url 3 · open the launch URL 4 · player presses Play, the game starts a Round 5 · Debit: stake receipt 6 · Credit: payout receipt 7 · Outcome and the balance your Wallet reported
Lime arrows move money. Your backend is involved only at launch; every Round runs between the game, our servers and your Wallet.
  1. Your backend signs POST /v1/game-sessions with the player’s context and your Operator Session Token for that player.
  2. We return a GameSession ID and a launch URL. The URL works once, for a few minutes.
  3. Your page opens the launch URL in an iframe or a new tab.
  4. The player presses Play. The game exchanges the launch code for its own session and starts each Round on our servers.
  5. For each Round we send your Wallet one Debit for the stake.
  6. When the Round’s Outcome is recorded, we send one Credit for the gross payout. A Round without a win still gets a Credit, for zero, that closes it.
  7. The game shows the Outcome and the balance your Wallet reported in its receipt.

In the sandbox, real mode runs on virtual units from our own test Wallet; on the stage, on test funds in your own test Wallet. Demo GameSessions follow the same launch steps but never call a Wallet. See Rounds and reconciliation for the full lifecycle and the failure cases.

What v1 covers

Included
  • Game catalog with compatibility filters
  • Real and demo GameSessions with launch URLs
  • A fresh launch URL when you retry session creation
  • Seamless Wallet: balance, Debit, Credit, Reversal and status lookup
  • Diagnostic reads of single Rounds and WalletTransactions
Not in v1
  • Promotions such as free rounds or bonus money, and jackpots
  • Partial Reversals and Reversals of Credits
  • History and reporting endpoints that list many Rounds
  • Events from the game to your page, such as postMessage
  • Self-service credential management: we provision credentials with you

Where to go next

Ready to integrate?

Tell us about your platform and we’ll set up your sandbox access.

Request sandbox access