Originals EngineOperator API

API reference: calls you receive

Player notification

Optional. We tell you what the player chose in the reality-check window: continue or stop.

POST {wallet-url}/playerNotificationCallback

Called
when the player answers the reality-check window, in every game
Timeout
your credit timeout: 5,000 ms unless agreed otherwise (1,000–10,000 ms)
Retries
twice, 1 s and 3 s later, then dropped
Required
no: without it you only miss the notification

Not a money call. See Reality check for when the window opens.

Request#

Player notification: request fields
FieldTypePresenceMeaning
user_idstring (1–128 chars)requiredYour player reference: the user of the launch.
game"dice" | "limbo" | "mines" | "plinko" | "crash" | "chicken" | "keno" | "tower" | "hilo"requiredThe game identifier.
session_tokenstringrequiredOur token for this game session: 64 lower-case hex characters, made at launch and sent in every later call of the session, also after it ended. It is not a credential.
platform"mobile" | "desktop"requiredmobile or desktop, from the browser that opened the launch.
notification"reality_check"requiredAlways reality_check.
notification_dataobjectrequiredThe player's answer.
notification_data.action"STOP" | "CONTINUE"requiredCONTINUE or STOP.

Answer#

Player notification: answer fields
FieldTypePresenceMeaning
codeintegerrequiredThe outcome. Always answer with HTTP status 200.
messagestringoptionalA short text for people. Not used.

Examples#

Continue

{
  "user_id": "u_829301",
  "game": "crash",
  "session_token": "5f2b8c1d9e3a4f60718293a4b5c6d7e8f9012345678901234567890123456789",
  "platform": "desktop",
  "notification": "reality_check",
  "notification_data": { "action": "CONTINUE" }
}

Stop

{
  "user_id": "u_829301",
  "game": "crash",
  "session_token": "5f2b8c1d9e3a4f60718293a4b5c6d7e8f9012345678901234567890123456789",
  "platform": "desktop",
  "notification": "reality_check",
  "notification_data": { "action": "STOP" }
}

Accepted

{
  "code": 200,
  "message": "ok"
}

Bad signature (413)

{
  "code": 413,
  "message": "invalid signature"
}

Codes and what we do#

Player notification: codes
CodeMeaningWhat we do
200Received.Done.
413Our signature did not verify.An alert; not repeated.
500Any other code, also HTTP 404 from a wallet without this method, and every unknown outcome.Repeated twice (after 1 s and 3 s), then dropped with a warning. A restart on our side drops pending repeats.

Order against the next bet#

  • Continue: we wait for the first attempt (up to the timeout) before the game lets the player bet again, so the next withdraw never reaches you before the notification. The player continues whatever your answer.
  • Stop: we close the session first, then send the notification.