OnDemand API
The OnDemand API is a specialized API available upon request. For accessing or setting up this functionality, please contact your technical contact on Hub88's side.
Get Supplier data - custom on demand endpoints
OnDemand API is an opportunity for Operators to be able to call a certain game Supplier’s endpoints via Hub88. The proxy endpoint(s) are available by request, please contact your account manager.
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 Operator’s system. In case of DEMO gameplay, this parameter may be omitted.
john12345
Unique identifier for the Operator in Hub88 system. Used to authorize incoming requests. You can obtain your operator_id
from the Hub88 BackOffice after your Operator entity is registered and set up in the Hub88 system by the internal teams.
1
The unique game identifier in Hub88 system in the form of a string. game_code
can be obtained from the /game/list
endpoint.
clt_dragonrising
The ISO 4217 currency code. The following list contains all currencies supported by our system. Note that native gameplay support for these currencies may vary per Provider. Please contact us to know which Provider supports which currencies.
EUR
Possible values: POST /operator/generic/v2/service/provider_proxy HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 146
{
"user": "john12345",
"operator_id": 1,
"game_code": "clt_dragonrising",
"currency": "EUR",
"provider_request": {
"action": "HistoryRoundData",
"payload": {}
}
}
{
"provider_response": {
"user_id": "Jimm123",
"session_id": "5ceb783a-d529-4b88-8510-07b57eae1ff5",
"round_id": "59a811ee5f0a0a896baf56aa",
"config_id": "60b5d1ea5bdca43f160d431c",
"partner_id": "620a07dbf0a51747cc3d9a89",
"game_title": "BACCARAT",
"category": "BACCARAT",
"skin_type": "DEFAULT",
"currency": "BTC",
"time": "2017-11-05T13:15:30.000Z",
"devide_platform": "desktop",
"round_data": "{bets=[{box=PLAYER, amount=0.004, win_amount=0, status=PAID}], cards=[{box=PLAYER, cards=[9s, 4c, 8d], score=1}, {box=BANKER, cards=[5h, Jh], score=5}]",
"total_bet": "0.004",
"total_win": "0"
},
"status_code": 200
}
Last updated
Was this helpful?