18+ --:--:-- UTC

The RGS & Integration Stack

By The tech stackverified 2026-08-06next review 2027-08-06

When you spin, the operator's website is mostly a shell — the game itself is running on a supplier's server somewhere else entirely.

The Remote Gaming Server (RGS) is the supplier-side machine that holds a game's maths, RNG and outcome logic, while the operator's site renders it and owns the money. This article walks the plumbing that connects them — wallet models, the launch-to-settle flow, session management and idempotency — the invisible layer where correct settlement and auditability actually live. It is neutral industry education and endorses no vendor.

The RGS: where the game actually runs

The Remote Gaming Server (RGS) is the supplier-side server that runs the game itself. When a player spins a slot, the visible website or app is mostly a shell: it renders the graphics and takes the tap, but the maths, the random number generator (RNG) and the outcome logic all live on the RGS, hosted by the games supplier. The operator's site asks the RGS to resolve the round; the RGS applies the game's rules and RNG, decides the result, and returns it. This separation matters. It means the return-to-player and volatility are fixed in the supplier's certified build, not something an operator can quietly retune. It also means one supplier can serve many operators from the same server, which is why an identical game appears across dozens of sites. Testing labs certify the RGS build and its RNG before it goes live, and the certified version is what must run in production. For the player, none of this is visible; they see a game, not the server deciding every outcome behind it. This content is for adults aged 18 or over.

Seamless versus transfer wallets

A game must know a player's balance and must debit stakes and credit wins. Two integration models handle this. In a seamless wallet (also called a single-wallet or transaction-API model), the game calls back to the operator's wallet in real time for every bet and every win. The operator holds the single source of truth for the balance; the RGS never keeps the player's money, it just asks the operator to debit and credit as the round settles. In a transfer wallet, funds are instead moved into the game session up front — the player transfers a balance into the game, plays against that local pot, and transfers the remainder back out at the end. Most modern integrations favour the seamless model because the operator retains one authoritative balance across every game and supplier, which simplifies responsible-gambling limits, reconciliation and cashier logic. The trade-off is that seamless depends on fast, reliable callbacks: every spin is a live conversation between supplier and operator, so the wallet API must be quick and resilient. Whichever model is used, the operator remains accountable for enforcing deposit and loss limits on that balance.

The launch flow and session management

A round of play follows a predictable sequence: authenticate → open session → play → settle. When a player clicks a game, the operator generates a short-lived token and hands the player to the supplier's RGS. The RGS calls back to verify that token (authenticate), confirming who the player is and that they may play. A session is then opened, tying every subsequent bet and win to that authenticated player, currency and operator. During play, each spin is a debit followed, if the player wins, by a credit, all settled against the wallet. When the player leaves, the session is closed. Session management matters because it is the thread that keeps a series of independent calls attached to the right person and balance. A well-managed session expires sensibly, survives a dropped connection without losing the player's place, and prevents one player's actions being booked against another. It is also where time-based responsible-gambling controls are checked. Get session handling wrong and you risk mis-settled rounds, orphaned bets or balances that disagree between the game and the cashier — which is why this layer is tested hard before launch.

Idempotency: why every call carries a key

Networks are unreliable. A wallet request can succeed on the server but the reply can be lost before it reaches the game, so the game retries — and without protection, that retry could debit the player twice. Idempotency solves this. Every debit and credit call carries a unique key, a transaction identifier generated once for that specific bet or win. If the wallet sees a key it has already processed, it does not repeat the operation; it simply returns the original result. So a message delivered twice is counted once. This single discipline protects player balances against double charges, protects operators against double payouts, and keeps reconciliation honest, because each financial event maps to exactly one recorded transaction. It is the reason a shaky connection mid-spin does not corrupt an account. Idempotency keys also make disputes tractable: when a player queries a missing win, both sides can look up the same unique reference and agree on what happened. In a seamless model, where every spin is a live round-trip that can fail at any point, idempotency is not a nicety — it is the foundation that lets the system retry safely.

The API as the contract

The integration between an operator and a games supplier is, in practice, an API: a documented contract that fixes exactly how the two systems talk. It specifies the calls (authenticate, balance, debit, credit, and often a rollback or cancel), the fields each carries, the currencies and limits, the security — signed requests, allow-listed servers — and the expected responses and error codes. Because one supplier integrates with many operators, and one operator with many suppliers, a stable, well-versioned API is what makes that many-to-many web workable: integrate once, and every game the supplier certifies can be switched on. The contract also defines behaviour under failure — what a timeout means, when to retry, how a cancelled round is unwound — which is where reliability is won or lost. Good API design front-loads this so that edge cases are handled predictably rather than improvised in production. None of it is glamorous, and the player never sees a line of it, but the quality of this contract largely determines whether settlement is correct, whether balances reconcile at end of day, and whether an auditor can later reconstruct exactly what happened in any round.

Invisible plumbing, real accountability

This entire stack — RGS, wallet, sessions, idempotent calls, the API contract — is invisible to the player, who sees only a game that loads and pays. Yet it is precisely where reliability, correct settlement and auditability live. Uptime, accurate enforcement of responsible-gambling and deposit limits inside the wallet, and reconciliation that ties every debit and credit back to a single transaction are duties that sit in this layer, not in the front-end art. It is also a commercial chain. The games supplier running the RGS, the platform hosting the wallet and the operator each take a share, and every share is funded from the same place: the gross gaming revenue — total stakes minus total wins — that the games generate. Player losses, in aggregate, pay for the servers, the integrations and the margins of everyone in the stack. Understanding that changes no outcome, all of which are fixed in the certified RGS build; it simply makes the machinery honest to look at. This article explains that machinery neutrally and endorses no supplier, platform or operator. This content is for adults aged 18 or over.

Key facts
Where the maths runsOn the supplier's RGSThe operator's site is mostly a shell around it
Seamless walletOperator holds the single source of truth for the balanceThe game calls back for every bet and every win
Launch flowAuthenticate → open session → play → settle
Idempotency keyA unique ID on every debit and creditA retried message is counted once, protecting balances and reconciliation
CertificationRGS build and RNG tested by an accredited lab before launch
Who funds the stackGGR — stakes − winsEvery supplier in the chain takes a share of it

Education, not advice. This explains how the iGaming industry works on the supply side — platforms, suppliers, payments, data and affiliates — as neutral education. iGamer is independent and non-promotional: nothing here recommends any operator, platform, supplier or affiliate. Every layer described is ultimately funded by player losses. 18+.