Enterprise Operator API

Go Live
in 24 Hours.

Shatter integration friction. Leverage our industry-standard RSA-SHA256 signed Operator API and lightweight SDK to deploy next-generation games instantly.

Cryptographic Trust

Cryptographic Security & Edge Protection

We isolate and safeguard client traffic at the edge. Zero sharing of sensitive database fields, fully shielded with military-grade signing standards.

Mutual Authentication & RSA-SHA256

WonderGame enforces strict dual-key trust isolation. You generate a 2048-bit RSA key pair, keep the private key secure, and send your public key to WonderGame. We secure edge-level calls using two mandatory headers:

  • 01
    X-WG-Operator-ID

    The unique tenant identifier assigned by WonderGame. Mandatory for Games & Transactions API routing.

  • 02
    X-WG-Signature

    The RSA-SHA256 signature of the exact, compact JSON request body, Base64-encoded to guarantee zero tamper parameters.

TERMINAL COMMANDS
# Generate your secure 2048-bit private key
openssl genrsa -out private.pem 2048

# Extract the public key to share with WonderGame
openssl rsa -pubout -in private.pem -out public.pem
Keep your private key strictly confidential on your secure environments.

Interactive Signature Flow Pipeline

See how your JSON request body converts to a cryptographic signature to shield endpoints.

1. COMPACT JSON
{
  "user": "usr_9921",
  "amount": 250.00
}
RSA-SHA256
2. SIGNED HEADER
X-WG-Signature: Base64(RSA-SHA256(...))
Speed to Market

Rapid Integration Workflow

Get up and running with a frictionless 3-step sequence engineered to expedite operational release.

01

Exchange Keys & Handshake

Exchange public keys with our integration team. Obtain your unique Operator ID and private API keys to gain instant access to our secure staging sandbox environment.

02

Implement Webhook Endpoints

Implement quick, idempotent balance checks, transactions debit (bets), credits (wins), and rollbacks on your gaming backend following our detailed, secure payloads.

03

Pull Catalog & Launch

Query our Games API to fetch available slots, obtain your signed secure Game Launch URL (Real-Money or guest Demo URL), and embed the lightweight game view directly.

Seamless Wallet Architecture

High-Performance Seamless Wallet & Idempotency

Eliminate local billing drifts. Our highly optimized single wallet framework performs synchronous, low-latency financial state resolutions at scale.

BALANCE

Real-Time Queries

WonderGame triggers quick, non-blocking balance queries to operator databases. Optimized connection configurations guarantee instant gameplay resolutions without spinning halts.

DEBIT / CREDIT

Frictionless Webhooks

Active gameplay and mechanical slot spins trigger micro-second webhooks on our remote server engine to debit wagers and credit operator pools immediately.

ROLLBACK

Absolute Consistency

In the event of network disruption or game terminal timeouts, our automated rollback routines trigger immediately to restore players' assets, preventing discrepancies.

IDEMPOTENT AUDIT

Strict Idempotency

Idempotent Webhooks: All wallet requests are idempotent. RGS passes a unique transaction_uuid for each spin. Your backend must cache and return identical responses for retried payloads, completely preventing double-spending and database desynchronization under extreme concurrency.

Sandbox Simulator

JSON Payload Examples

Toggle between core operator payload templates. Review clean parameter details matched with real-world RSA secure HTTP bodies.

Games URL Request Parameters

Mandatory properties for launching games. Note that operator_id is supplied securely in headers only.

Parameter Type Description
user string Unique identifier of the player inside operator's database.
country string 2-letter ISO 3166-1 country code (e.g. KE, NG).
currency string 3-letter currency code (e.g. KES, NGN).
game_code string Target game id (e.g. premier_league_star).

Debit Callback Webhook Parameters

Sent by WonderGame RGS to operator callbacks when a player triggers a real-money spin.

Parameter Type Description
operator_id string Supplied in body as an explicit verification key for outgoing webhooks.
transaction_uuid string Unique transactional uuid to enforce idempotency audits.
amount decimal Real-money bet transaction amount.
currency string Account wallet monetary currency.
                
              
Micro-Frontend Delivery

Next-Gen Micro-Frontend Games SDK

Render games seamlessly with ultra-performance. We offer dedicated dual channel embedding frameworks for zero-style污染 and hardware acceleration.

BOARD Channel (Web Component)

Dynamically load Web Component game modules, instantiating raw Custom Elements in designated client Shadow DOM containers. Elevates absolute performance bounds and delivers direct hardware-accelerated WebGL/Canvas gameplay rendering.

IFRAME Channel (Secure Sandbox)

For legacy layout configurations, our SDK initializes custom secure, high-speed iframe channels automatically, securely granting critical system controls like fullscreen, autoplay, gameplay pad and midi controllers.

Shadow DOM Style Isolation

Absolute style shielding. Regardless of active embedding channel, gaming engines mount elements directly within Shadow Roots. This isolates stylesheet bindings bi-directionally to ensure completely pristine host pages.

JAVASCRIPT SDK INTEGRATION
import { WonderGameGames, WonderEventHub } from "wonder-game-sdk";

async function startPlay() {
  try {
    // 1. Structure parameters (launcher_url fetched from your backend API)
    const config = {
      launcher_url: "https://launcher.wondergame.com/launch?session=op_session_123&game=ot_goldCup",
      containerId: "game-viewport",
      game_code: "ot_goldCup",
      lang: "en"
    };

    // 2. Initialize and render game on player device
    console.log("Initializing WonderGame SDK...");
    const sdkInstance = await WonderGameGames.init(config);
    console.log("SDK loaded. Active channel:", sdkInstance.getChannelType());

  } catch (error) {
    console.error("SDK Initialization Failed:", error.code, error.message);
  }
}

// 3. Subscribe to real-time events to lock/unlock wallet balances during spins
WonderEventHub.addListener((event) => {
  if (event.name === 'wonder-gameplay-lock') {
    console.log("Spin started. Temporarily lock player balance:", event.balance);
  } else if (event.name === 'wonder-gameplay-unlock') {
    console.log("Spin completed. Synchronize player balance:", event.balance);
  }
});