The Bet Brothers
HomeNewsLinkedIn
  • The Bet Brothers APIS
    • 🧩Core Concepts
    • 🔁API Flow
  • OPERATOR API
    • 🔗Operator Integration Service
    • 🔑Protocol API
      • Create api-token
      • Revoke api-token
  • 🚀Game Launcher API
    • Get Game Providers
    • Get Games
    • Launch Game in Demo Mode
    • Launch game in Real Mode
  • 💰Wallet API
    • Balance
    • Bet
    • Win
    • Refund
    • Rollback Win
  • ⚡Free Spin API
    • Add Free Spin
    • Cancel Free Spin
  • 🎮Game Insights
    • Get Game Bet Levels
    • Get Round Info
  • 📖Addendum
    • TBB Error Codes
    • Wallet Error Response
  • SUPPLIER API
    • 🔗Supplier Integration Service
    • 🔑Supplier Protocol API
    • 🚀Game Launcher API
      • Launch Game in Demo Mode
      • Launch Game in Real Mode
  • 🎲Game Events
    • Balance
    • Bet
    • Win
    • Refund
  • 📖Addendum
    • TBB Error Codes
Powered by GitBook
On this page
  1. Game Launcher API

Launch game in Real Mode

PreviousLaunch Game in Demo ModeNextWallet API

Last updated 12 days ago

🚀
post

The game will be launched using the player's currency and language settings as passed by the Operator.

Authorizations
Body
ip_addressstringRequiredExample: 196.168.1.145
player_idstringRequired

The unique user ID in the Operator system.

Example: 888
balanceintegerRequired

Player's balance in subunits. You can get subunits to units fraction(e.g., cents for EUR). Follows ISO 4217 standards.

Example: 1000
referencestringRequiredExample: Monkey
languagestrinRequired

Player language in ISO 639-1 format (e.g., en, fr). See ISO 639-1 for valid codes.

Example: en
currency_codestringRequired

Currency code in ISO 4217 format (e.g., EUR, USD). See ISO 4217 for valid codes.

Example: EUR
countrystringRequired

Country of the player (ISO 3166-1 alpha-2). See ISO 3166-1 for details.

Example: MT
jurisdictionstringRequired

Jurisdiction of the player. Available values include: AT, BS, BG, BE, CH, CZ, DK, UK, IT, IE, ES, PT, RO, MT, PH, LT, LV, EE, SE, CO, GG, BY, RS, IM, GR, DE, NL, NO, X1, ZA, UA, 99, CA-ON, HR.

Example: MT
lobby_urlstringRequiredExample: https://www.google.com
is_mobilebooleanRequiredExample: false
Responses
200
Successful launch of game session
application/json
401
Unauthorized - Missing or invalid token
application/json
post
POST /api/play HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 212

{
  "ip_address": "196.168.1.145",
  "player_id": "888",
  "balance": 1000,
  "reference": "Monkey",
  "language": "en",
  "currency_code": "EUR",
  "country": "MT",
  "jurisdiction": "MT",
  "lobby_url": "https://www.google.com",
  "is_mobile": false
}
{
  "status": "success",
  "game_url": "/game/play?session_token=8888"
}