The OnDemand API is a specialized API available upon request. For accessing or setting up this functionality, please contact your technical contact on Niropa's side.
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_softwareid",
"currency": "EUR",
"provider_request": {
"action": "HistoryRoundData",
"payload": {}
}
}
OnDemand API is an opportunity for Operators to be able to call a certain game Supplier’s endpoints via Niropa.
The proxy endpoint(s) are available by request, please contact your account manager.
uX-Niropa-Signature - any · required
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
.
user - string · min: 3 · required
The unique user ID in the Operator’s system. In case of DEMO gameplay, this parameter may be omitted.
Example: john12345
operator_id - integer · required
Unique identifier for the Operator in Niropa system. Used to authorize incoming requests. You can obtain your operator_id
from the Niropa BackOffice after your Operator entity is registered and set up in the Niropa system by the internal teams.
Example: 1
game_code - string · required
The unique game identifier in Niropa system in the form of a string. game_code
can be obtained from the /game/list
endpoint.
Example: clt_softwareid
currency - string · enum · required
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: EUR
Available options: BSD, TTD, ZMW, BMD, USD, BYR, UGX, HKD, MGA, GIP, UZS, MKD, PTS, mLTC, EGP, AWG, CZK, ILS, MZN, TND, XPF, SOS, DOP, RUB, KRW, BTN, KGS, BAM, AOA, SOC, AMS, BND, RSD, FKP, PEN, EOS, GHS, JPY, TRY, SBD, UAH, LTL, FJD, GNF, MDL, AFN, ZAR, MOP, TJS, BOB, JMD, QAR, IRR, SYP, XXX, NAD, MYR, CUP, NOK, BGN, KPW, MNT, NZD, uETH, SGD, PYG, OMR, DZD, EUR, TMT, MMK, PTQ, ANG, TZS, CRC, CVE, SET, BTH, BZD, LYD, CHF, MVR, KES, CVE, LSL, KMF, SZL, KYD, BRL, AED, WST, YER, ALL, TRX, HUF, GTQ, uBTC, IDR, MWK, CUC, DKK, TWD, XCD, BBD, LRD, KZT, JOD, BYN, BIF, PLN, SDG, VUV, SEK, BDT, HNL, BWP, VND, ISK, SLL, BHD, HTG, USDt, ADA, MUR, ERN, uLTC, LKR, COP, GEL, AUD, GBP, CAD, PHP, PAB, DJF, GMD, PKR, NIO, AMD, RWF, RON, NGN, TOP, UYU, AZN, SRD, KWD, PGK, CDF, SAR, IQD, XRP, SCR, mETH, MAD, GYD, INR, LBP, ARS, MXN, CLP, BNB, CNY, KHR, LAK, HRK, BZD, SSP, XOF, XAF, MRU, NPR, mBTC
provider_request - object · required
{
"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": "{rewards=[{box=user, amount=0.004, win_amount=0, status=PAID}], cards=[{box=user, cards=[9s, 4c, 8d], score=1}, {box=BANKER, cards=[5h, Jh], score=5}]",
"total_reward": "0.004",
"total_win": "0"
},
"status_code": 200
}