Games API
Games API Reference - Supplier API
Get a Game URL
Returns the landing URL of the chosen game to which Hub88 will forward the user to. There are several ways to forward the User, but make sure game_code is present in the request. 1. Embed URL into iframe on your site; 2. Redirect User to URL; 3. Open URL in new window/tab of browser.
RSA-SHA256 is used to sign the request body using the private key. The signature is validated using the public key associated with the provided operator_id.
The unique user ID in the Hub88's system. In case of DEMO gameplay, this parameter may be omitted.
john12345Hub88 generates a token associated with the user, game, and active currency. The token acts as an ID parameter for the game session. It is important that the currency is not changed during the current game session. If the user changes the currency, the game must be re-opened with new a token. For DEMO gameplay, this parameter may be omitted. Minimum length 10 characters, maximum length 255 characters.
f562a685-a160-4d17-876d-ab3363db331cID of an Hub88's sub-partner (brand, whitelabel, site, etc.) which uses the same integration and credentials as the Hub88. Used for detailed reporting and integration type switching.
my-casino-idThe platform layout, either mobile or desktop, the User has. This property can be ignored, if the mode is chosen based on User's browser attributes (user-agent, resolution, ratio, orientation)
GPL_DESKTOPPossible values: The unique identifier of Hub88 configuration in the Supplier's system used to authorize incoming requests. Could be either interger or a string.
1Additional parameters, can be used for certain game Supplier. It depends on the Operator's choice of a game Supplier.
lobby_url specifies the URL to which the game redirects to when the user clicks the Home button in the UI. Maximum length 255 characters.
https://amazing-casino.com/lobbyThe ISO 639-1 language code, applicable to the User in the current session.
enPossible values: The unique game identifier in Provider's system in the form of a string. game_code can be obtained from the /game/list endpoint and is a required parameter.
clt_dragonrisingThe page URL where a player/user can make a monetary deposit.
https://amazing-casion.com/depositThe ISO 4217 currency code. The following list contains all currencies supported by the Hub88 system. Note that native game play support with these currencies may vary per Provider.
EURPossible values: The ISO 3166-1 country code, applicable to the User in the current session.
EEPossible values: OK
POST /game/url HTTP/1.1
Host:
X-Hub88-Signature: text
Content-Type: application/json
Accept: */*
Content-Length: 323
{
"user": "john12345",
"token": "f562a685-a160-4d17-876d-ab3363db331c",
"sub_partner_id": "my-casino-id",
"platform": "GPL_DESKTOP",
"operator_id": 1,
"meta": {},
"lobby_url": "https://amazing-casino.com/lobby",
"lang": "en",
"game_code": "clt_dragonrising",
"deposit_url": "https://amazing-casion.com/deposit",
"currency": "EUR",
"country": "EE"
}{
"url": "https://launcher.hub88.io/games/encrypted/launcher?payload=QTEyOEdDTQ.9devd1DNo9.EgnhVhHU.cV3NFgAz1xO"
}Get a Game round
API to return details of a game round.
RSA-SHA256 is used to sign the request body using the private key. The signature is validated using the public key associated with the provided operator_id.
The unique user ID in the Hub88's system. In case of DEMO gameplay, this parameter may be omitted.
john12345The transaction identifier, which you recive from Hub88 through the API during gameplay.
16d2dcfe-b89e-11e7-854a-58404eea6d16The round identifier, which you recive from Hub88 through the API during gameplay.
rNEMwgzJAOZ6eR3VThe unique identifier of Hub88 configuration in the Supplier's system used to authorize incoming requests. Could be either interger or a string.
1OK
POST /game/round HTTP/1.1
Host:
X-Hub88-Signature: text
Content-Type: application/json
Accept: */*
Content-Length: 121
{
"user": "john12345",
"transaction_uuid": "16d2dcfe-b89e-11e7-854a-58404eea6d16",
"round": "rNEMwgzJAOZ6eR3V",
"operator_id": 1
}{
"url": "https://the-best-game-provider.com/roundCheck?round=rNEMwgzJAOZ6eR3V"
}Get a list of games
Returns Supplier's game list available for Hub88.
RSA-SHA256 is used to sign the request body using the private key. The signature is validated using the public key associated with the provided operator_id.
The unique identifier of Hub88 configuration in the Supplier's system used to authorize incoming requests. Could be either interger or a string.
1OK
POST /game/list HTTP/1.1
Host:
X-Hub88-Signature: text
Content-Type: application/json
Accept: */*
Content-Length: 17
{
"operator_id": 1
}OK
[
{
"url_thumb": "https://picture-hosting.com/blackjack/thumb.png",
"url_background": "https://picture-hosting.com/blackjack/bg.png",
"product": "OneTouch",
"platforms": [
"GPL_DESKTOP",
"GPL_MOBILE"
],
"name": "Blackjack Classic",
"game_code": "ont_blackjackclassic",
"freebet_support": true,
"enabled": true,
"category": "Blackjack",
"blocked_countries": [
"PL",
"BG"
]
}
]Last updated
Was this helpful?

