Provider information
Overview
This and GET request with one required parameter:
GET /open-api-games/v1/providers?clientId=CLIENT_ID
Parameters
Response:
| Name | Type | Description |
|---|---|---|
api | string | Name of operation: “debit”, “credit”, “rollback” |
isSuccess | boolean | Is success? |
error | string | Empty string if isSuccess == true. |
errorMsg | string | Error code, see “Errors” table |
data | object | |
data.id | string | Content provider id |
data.name | string | Content provider name |
data.namePrefix | string | Content provider name prefix |
data.providerSecret | string | Content provider secret |
data.test | boolean | Is test provider? |
data.hasStaticSessionId | boolean | Has static session id? |
data.accounts | list | List of accounts |
data.accounts.id | int | Account id |
data.accounts.comments | string | Account comments |
data.accounts.currencies | list | Supported currency list |
data.accounts.availableCountries | list | Available country list |
data.accounts.disabledCountries | list | Disabled country list |
data.accounts.royalty | string | Royalty in percents |
data.accounts.games | list | Games list |
data.accounts.games.id | string | Game id |
data.accounts.games.defaultName | string | Game name |
data.accounts.games.defaultDescription | string | Game description |
data.accounts.games.launchMethod | list | Game launch method |
data.accounts.games.launchMethod.capabilities | list | Game launch capabilities. (dc_flashplayer, dc_html5full) |
data.accounts.games.launchMethods.devices | list | Game supported devices. (dt_mobile, dt_desktop) |
data.accounts.games.launchMethods.screenWidth | int | Screen width |
data.accounts.games.launchMethods.screenHeight | int | Screen height |
data.accounts.games.launchMethods.gameEmbedUrl | string | Specific game launch url. (if not provided main game launch url will be used) |
data.accounts.games.icons | object | Game icons |
data.accounts.games.icons.link500x500 | string | Game icon 500x500 |
data.accounts.games.icons.link300x300 | string | Game icon 300x300 |
data.accounts.games.icons.link300x188 | string | Game icon 300x188 |
data.accounts.games.icons.link40x40 | string | Game icon 40x40 |
data.accounts.games.gameType | string | Game type. BET or SPIN |
data.accounts.games.hasInternalBonuses | boolean | Game has internal bonus |
data.accounts.games.spinDescription | map<string, spinDescription> | [Optional field] Spins description |
data.accounts.games.spinDescription | object | Spins description ( only for spin games ) |
data.accounts.games.spinDescription.lines | list | Available lines |
data.accounts.games.spinDescription.bets | list | Bets steps |
data.accounts.games.spinDescription.free_spins | object | Free spins description |
data.accounts.games.spinDescription.free_spins.enabled | boolean | Are free spins enabled ? |
data.accounts.games.spinDescription.free_spins.lines | list | Available lines |
data.accounts.games.spinDescription.free_spins.bets | list | Bets steps |
data.accounts.games.spinDescription.free_spins.multipliers | list | Multipliers |
data.accounts.games.betDescription | map<string, betDescription> | [Optional field] Bets description |
data.accounts.games.betDescription | object | Bets description ( only for bets games ) |
data.accounts.games.betDescription.bets | list | Bets steps |
data.accounts.games.betDescription.free_bets | object | Free bets description |
data.accounts.games.betDescription.free_bets.enabled | boolean | Are free spins enabled ? |
data.accounts.games.betDescription.free_bets.bets | list | Free bets steps |
data.accounts.games.betDescription.free_bets.multipliers | list | Multipliers |
data.accounts.games.tags | list | Game tags |
data.accounts.games.decodedSymbols | map<int, string> | [Optional field] Decoded symbols |
data.accounts.games.inactive | boolean | Active/Inactive |
data.accounts.games.disableForFun | boolean | Is Demo disabled |
data.accounts.games.freeGames | object | [Optional field] Free games info |
data.accounts.games.freeGames.possibleBets | list | List of possible bets |
data.accounts.games.freeGames.possibleLines | list | List of possible lines |
Errors:
| Name | Description |
|---|---|
| NO_ERRORS | No errors. Passed if isSuccess == true. |
| INVALID_CLIENT_ID | Invalid client id. |
| NO_SUCH_PROVIDER | Provided provider id not found. |
| INTERNAL_ERROR | Internal 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
}
}