Originals EngineOperator API

Good to know

Good to know

Points where this API may behave differently from integrations you have done before.

Differences at a glance#

Each point links to the page with the details.

A withdraw is never sent twice#

A withdraw without a usable answer is rolled back, not repeated. You may receive a rollback for a withdraw you never saw (answer 408), a second rollback 30 seconds after a 408, and a third 5 minutes after a second 408. See Rollback.

Refuse a withdraw that arrives after its rollback#

Remember the ids of rollbacks you answered 408 or 200 for a withdraw you never saw, and refuse a withdraw with that id if it comes later. After a 200 we send nothing again, so if you answer 200 you must refuse it. Rule 2.

A 409 must name the transaction#

We accept a duplicate answer only with our provider_tx_id in data. Deduplicate on provider_tx_id alone: a deposit carries action: "bet" like the withdraw before it, with its own action_id, and must be applied. See the rules.

Our ids are long strings, not numbers#

provider_tx_id, action_id and the ids that refer to a withdraw are a UUID with a suffix such as :debit: lower-case hex digits, hyphens, a colon and letters, up to 45 characters. Store them as strings of at least that length. See Withdraw.

A deposit or a rollback is never refused for its session#

Accept a deposit and a rollback also when the token or the game session is closed or has expired: the bet was placed while the session was open, and the win or the returned stake is owed to the player. Codes 401 and 403 are not a final answer to these two calls. We send the call again with the same provider_tx_id (1 s, 2 s, 4 s … at most 5 minutes apart, for ever) and raise an alert on our side: at once for a deposit, after 10 attempts for a rollback. See Deposit and Rollback.

A placed bet cannot be cancelled#

In our games a bet that reached us is final, also in Crash while betting is open. ifc.cancel.bet only reports a Crash bet that was queued for the next round and not sent; ifc.stop.autoplay stops autoplay but does not cancel an accepted bet.

Free-bet wins are paid per round#

Each free-bet round pays its win at once with a deposit (action: "freebet"), so win_amount grows as the player plays. A free bet that expired unplayed is paid, not cancelled.

No deposit for a lost round#

We send no deposit with amount 0 unless you ask us to switch it on.

Our currencies#

This API offers USD, EUR, BRL, INR, TRY, UAH, CAD, MXN, JPY, KRW, BTC, ETH, LTC, USDT, USDC, TRX, SOL, DOGE, XRP, BNB, TON. Another code refuses the launch. See Specifications.

Languages#

Today the games speak English (en). Any other lang opens the game in the brand's default language; it never fails.

Free bets by game#

Free bets are played in Dice, Limbo, Mines, Plinko, Crash, Chicken, Keno, Tower, HiLo.

Brands#

A launch without brand opens your default brand. Another brand needs your auth answer to confirm it in data.brand, so a player cannot change brands by editing the link.

return_url and account_history_url must be on an allowed origin of the brand; a link elsewhere refuses the launch and names the parameter.

Message origins#

The game posts ifc.* messages only to an allowed parent origin, never to "*", and accepts commands only from its parent window on an allowed origin. Amounts in messages are major units, not the integer units of the wallet API.

The reality check is in every game#

Every game has the reality-check window and sends playerNotificationCallback. While a round is in play the window waits, so it never blocks a cash-out.

One key, both directions#

The same client id and secret sign our calls to you and your calls to us. A rotation keeps the old key valid in both directions for the overlap. See Rotating the key.

Sessions#

There is no method to refresh a session. A game session stays open for 12 hours after its last use.