LogoLogo
Knowledge BaseDeveloper DocsChangelogStatusNews
Developers Docs
Developers Docs
  • Hub88 APIs
    • Fundamentals
    • Core API flow
    • Request structure
    • Code samples
  • Operator API Reference
    • 🎲Operator API Overview
      • Error codes
      • Seamless Wallet response statuses - Operator API
    • Games API
    • Wallet API
    • TransferWallet API
    • Transactions API
    • Freebets API
    • Recommendations API
    • OnDemand API
  • Supplier API Reference
    • Supplier API Overview
      • Seamless Wallet response statuses - Supplier API
    • Games API
    • Wallet API
    • Freebets API
Powered by GitBook
LogoLogo

Hub88

  • HubWallet
  • HubMarket
  • Suppliers

Hub88

  • News
  • Status
  • Privacy Policy

Contact

  • sales@hub88.io

Follow us

  • LinkedIn
  • Telegram

Copyright © 2025. All Rights Reserved.

On this page

Was this helpful?

  1. Operator API Reference

OnDemand API

PreviousRecommendations APINextSupplier API Overview

Last updated 27 days ago

Was this helpful?

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

  • Get Supplier data - custom on demand endpoints
  • POST/operator/generic/v2/service/provider_proxy
post

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.

Header parameters
X-Hub88-SignatureanyRequired

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.

Body
userstring · min: 3Required

The unique user ID in the Operator’s system. In case of DEMO gameplay, this parameter may be omitted.

Example: john12345
operator_idintegerRequired

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.

Example: 1
game_codestringRequired

The unique game identifier in Hub88 system in the form of a string. game_code can be obtained from the /game/list endpoint.

Example: clt_dragonrising
currencystring · enumRequired

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.

Example: EURPossible values:
Responses
200Success
application/json
post
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": {}
  }
}
200Success
{
  "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
}