Phoenix Games
Operator API Endpoints

Fetch Games

Retrieve available games and their configurations

Retrieve the list of available games and their configuration details from Phoenix Games.

GET /api/v0.2/fetch-games

Retrieve all games and their instances available for the operator.

Authentication

All requests require the following headers:

HeaderTypeRequiredDescription
X-Operator-IdstringYesUnique identifier for the operator
X-SignaturestringYesBase64 URL-safe encoded RSA signature of the request body

Signature Verification

For GET requests:

  1. Sign the operator ID (from X-Operator-Id header)
  2. The value is signed using RSA-SHA256 with the operator's private key
  3. The signature is Base64 URL-safe encoded (no padding)
  4. The server verifies the signature using the operator's registered public key

Request: No body required

Response

{
  "games": [
    {
      "id": "game_123",
      "name": "Crash Game",
      "status": "ACTIVE",
      "thumbnail_url": "https://example.com/thumbnail.png",
      "provider_name": "Phoenix Games",
      "rtp": 96.5,
      "genre": "Crash",
      "instances": [
        {
          "id": "instance_456",
          "name": "Crash Classic",
          "active": true,
          "bet_config": {
            "min_wager": 1.00,
            "max_wager": 1000.00,
            "default_wager": 10.00,
            "currency": "USD",
            "max_win": 10000.00
          }
        }
      ]
    }
  ]
}

Error Response

{
  "error": "string"
}

Response Fields

GameInfo Object

FieldTypeDescription
idstringUnique game identifier
namestringDisplay name of the game
statusstringGame status (ACTIVE, INACTIVE, MAINTENANCE, COMING_SOON)
thumbnail_urlstring?URL to game thumbnail image
provider_namestringName of the game provider
rtpnumber?Return to player percentage
genrestringGame genre
instancesGameInstance[]Array of game instances for this operator

GameInstance Object

FieldTypeDescription
idstringUnique instance identifier
namestringDisplay name of the instance
activebooleanWhether the instance is currently active
bet_configBetConfigBetting configuration for this instance

BetConfig Object

FieldTypeDescription
min_wagernumberMinimum bet amount
max_wagernumberMaximum bet amount
default_wagernumberDefault bet amount
currencystringCurrency code (e.g., "USD")
max_winnumberMaximum win amount

Status Codes

  • 200 OK - Request processed successfully
  • 400 Bad Request - Invalid request
  • 401 Unauthorized - Authentication failed

Game Genres

Available genres include:

  • AndarBahar, Baccarat, Bingo, Blackjack, BoardGame, CoinDozer
  • Craps, Crash, Dice, DragonTiger, HeadsOrTails, HiLo
  • InstantWin, Keno, LiveBlackjack, LiveRoulette, Ladder, Lobby
  • MatchAndWin, Mine, Plinko, Poker, Roulette, ScratchCards
  • SetteEMezzo, Shooting, Show, SicBo, Slots, VideoPoker, Wheel, Other

Error Response:

{
  "error": "Authentication failed"
}

Use Cases

  • Display available games to players
  • Configure betting limits
  • Check game availability before embedding
  • Update game listings dynamically