Link Search Menu Expand Document

Provider information

Overview

This and GET request with one required parameter:

GET /open-api-games/v1/providers?clientId=CLIENT_ID

Parameters

Response:

NameTypeDescription
apistringName of operation: “debit”, “credit”, “rollback”
isSuccessbooleanIs success?
errorstringEmpty string if isSuccess == true.
errorMsgstringError code, see “Errors” table
dataobject 
data.idstringContent provider id
data.namestringContent provider name
data.namePrefixstringContent provider name prefix
data.providerSecretstringContent provider secret
data.testbooleanIs test provider?
data.hasStaticSessionIdbooleanHas static session id?
data.accountslistList of accounts
data.accounts.idintAccount id
data.accounts.commentsstringAccount comments
data.accounts.currencieslistSupported currency list
data.accounts.availableCountrieslistAvailable country list
data.accounts.disabledCountrieslistDisabled country list
data.accounts.royaltystringRoyalty in percents
data.accounts.gameslistGames list
data.accounts.games.idstringGame id
data.accounts.games.defaultNamestringGame name
data.accounts.games.defaultDescriptionstringGame description
data.accounts.games.launchMethodlistGame launch method
data.accounts.games.launchMethod.capabilitieslistGame launch capabilities. (dc_flashplayer, dc_html5full)
data.accounts.games.launchMethods.deviceslistGame supported devices. (dt_mobile, dt_desktop)
data.accounts.games.launchMethods.screenWidthintScreen width
data.accounts.games.launchMethods.screenHeightintScreen height
data.accounts.games.launchMethods.gameEmbedUrlstringSpecific game launch url. (if not provided main game launch url will be used)
data.accounts.games.iconsobjectGame icons
data.accounts.games.icons.link500x500stringGame icon 500x500
data.accounts.games.icons.link300x300stringGame icon 300x300
data.accounts.games.icons.link300x188stringGame icon 300x188
data.accounts.games.icons.link40x40stringGame icon 40x40
data.accounts.games.gameTypestringGame type. BET or SPIN
data.accounts.games.hasInternalBonusesbooleanGame has internal bonus
data.accounts.games.spinDescriptionmap<string, spinDescription>[Optional field] Spins description
data.accounts.games.spinDescriptionobjectSpins description ( only for spin games )
data.accounts.games.spinDescription.lineslistAvailable lines
data.accounts.games.spinDescription.betslistBets steps
data.accounts.games.spinDescription.free_spinsobjectFree spins description
data.accounts.games.spinDescription.free_spins.enabledbooleanAre free spins enabled ?
data.accounts.games.spinDescription.free_spins.lineslistAvailable lines
data.accounts.games.spinDescription.free_spins.betslistBets steps
data.accounts.games.spinDescription.free_spins.multiplierslistMultipliers
data.accounts.games.betDescriptionmap<string, betDescription>[Optional field] Bets description
data.accounts.games.betDescriptionobjectBets description ( only for bets games )
data.accounts.games.betDescription.betslistBets steps
data.accounts.games.betDescription.free_betsobjectFree bets description
data.accounts.games.betDescription.free_bets.enabledbooleanAre free spins enabled ?
data.accounts.games.betDescription.free_bets.betslistFree bets steps
data.accounts.games.betDescription.free_bets.multiplierslistMultipliers
data.accounts.games.tagslistGame tags
data.accounts.games.decodedSymbolsmap<int, string>[Optional field] Decoded symbols
data.accounts.games.inactivebooleanActive/Inactive
data.accounts.games.disableForFunbooleanIs Demo disabled
data.accounts.games.freeGamesobject[Optional field] Free games info
data.accounts.games.freeGames.possibleBetslistList of possible bets
data.accounts.games.freeGames.possibleLineslistList of possible lines

Errors:

NameDescription
NO_ERRORSNo errors. Passed if isSuccess == true.
INVALID_CLIENT_IDInvalid client id.
NO_SUCH_PROVIDERProvided provider id not found.
INTERNAL_ERRORInternal service error. The operation must be repeated.

Example

Request:

curl --location --request GET 'https://apiEndpoint/open-api-games/v1/providers?clientId=CLIENT_ID'

Response:

{
  "isSuccess": true,
  "error": "NO_ERRORS",
  "errorMsg": "",
  "data": {
    "id": "211dc3h3-4ddb-414a-a16b-95898180deb2",
    "namePrefix": "example",
    "name": "example",
    "providerSecret": "example",
    "test": false,
    "accounts": [
      {
        "id": 102,
        "comments": "",
        "royalty": "1.5",
        "currencies": [
          "EUR",
          "USD",
          "RUB"
        ],
        "availableCountries": [],
        "disabledCountries": [],
        "games": [
          {
            "id": "2000",
            "launchMethod": [
              {
                "capabilities": [
                  "dc_html5full"
                ],
                "devices": [
                  "dt_mobile",
                  "dt_desktop"
                ],
                "screenWidth": 0,
                "screenHeight": 0,
                "gameEmbedUrl": ""
              }
            ],
            "defaultName": "Reels",
            "defaultDescription": "",
            "icons": {
              "link500x500": "https://example.com/resources/2000/icon500x500.png",
              "link300x300": "https://example.com/resources/2000/icon300x300.png",
              "link300x188": "https://example.com/resources/2000/icon300x188.png",
              "link40x40": "https://example.com/resources/2000/icon40x40.png"
            },
            "gameType": "SPIN",
            "hasInternalBonuses": false,
            "spinDescription": {},
            "betDescription": {},
            "addedAt": "0",
            "tags": [
              "example"
            ],
            "decodedSymbols": {},
            "inactive": false,
            "disableForFun": false,
            "freeGames": {
              "possibleBets": [
                1,
                2,
                3,
                4,
                5,
                10,
                20,
                30,
                40,
                50,
                100
              ],
              "possibleLines": [
                1,
                20,
                30,
                50,
                100
              ]
            }
          }
        ]
      }
    ],
    "hasStaticSessionId": false
  }
}