Skip to content

Implemented by you: auto-close a gameround left open

POST
/doAutoClose

Mandatory, also for RGS-to-RGS. Sent to the game engine by the
hizi.io janitor task. Most operators require open gamerounds to be
closed after a given timespan, normally between 12 and 48 hours.

Handle it as if the player had re-loaded the game and continued the
round: run your close / autoplay routine and send the normal flow —
potential winnings and an endGameRound request — back to the RGS.
Any V2 call may be used to inspect the round first (e.g.
getGameRoundInfo, collectWin).

The request carries no player/session token, so obtain one with
POST /getTokenForGameRound before calling back into the RGS.

Authentication: the request carries X-H-AUTH-ID and
X-H-TIMESTAMP but is not signed (no X-H-AUTH-SIG). Use
X-H-AUTH-ID to attribute the call and match the referenced open
gameRound on your side. Additionally restricting this endpoint to the
RGS egress IP range is recommended but not required.

The HTTP status of your response must reflect whether the round was
closed: 200 for success, anything else for an error.

Authorizations

V2AuthId

Game provider ID assigned by hizi.io (Hinterzimmer). Identifies which
shared secret the signature must be verified against. Mandatory on
every game engine / RGS call.

Type
API Key (header: X-H-AUTH-ID)
+
V2Timestamp

ISO 8601 timestamp of the request (e.g. 2023-01-26T11:28:21.429Z).
Mandatory, and included in the signed data of X-H-AUTH-SIG.

Type
API Key (header: X-H-TIMESTAMP)

Request Body

application/json
JSON
{
  
"gameRound": "ff85e29cb4414c89a89829c8411dacc2",
  
"gameSettings": {
  
  
"autoplayEnabled": true,
  
  
"autoplayLossLimitRequired": true,
  
  
"displayCoins": true,
  
  
"displayJackpotOdds": true,
  
  
"displayRTP": true,
  
  
"displayXRTP": true,
  
  
"forceOrientation": 0,
  
  
"gambleEnabled": true,
  
  
"historyURL": "string",
  
  
"homeURL": "string",
  
  
"loadMsg": "string",
  
  
"maxExposure": 0,
  
  
"maxStake": 0,
  
  
"maxPackageStake": 0,
  
  
"minStake": 0,
  
  
"minLoadTime": 0,
  
  
"minSpinTime": 0,
  
  
"multipleInstancesAllowed": true,
  
  
"rcDisplayWinLoss": true,
  
  
"rcEnabled": true,
  
  
"rcInterval": 0,
  
  
"stopEnabled": true,
  
  
"topupURL": "string",
  
  
"turboEnabled": true,
  
  
"homeEnabled": true,
  
  
"dynamicMinSpinTime": true,
  
  
"redirectTarget": "string",
  
  
"packageBuyEnabled": true,
  
  
"defaultStakeIndex": 0,
  
  
"operatorHandlesErrors": true,
  
  
"displayClock": true,
  
  
"isSocial": true,
  
  
"displayCurrency": true,
  
  
"customStakes": [
  
  
  
0
  
  
],
  
  
"lossLimitURL": "string",
  
  
"partialCollectEnabled": true,
  
  
"hideCompanyLogo": true,
  
  
"abbreviateAmounts": true,
  
  
"showExactRTP": true,
  
  
"jurisdiction": "string",
  
  
"forceDefaultStake": true,
  
  
"disableFullScreenMobile": true,
  
  
"displayPaytableOnEnterGame": true,
  
  
"doNotStoreSettings": [
  
  
  
"string"
  
  
],
  
  
"sessionTimeoutInSeconds": 0,
  
  
"displayNetPosition": true,
  
  
"hideDemoBalance": true,
  
  
"preventRedirect": true,
  
  
"refreshDisabled": true,
  
  
"displayWinOdds": [
  
  
  
"string"
  
  
],
  
  
"displaySessionTimer": true,
  
  
"skipWinsEqualToOrLessThanStake": true,
  
  
"reportAnimationEnd": true,
  
  
"launcherType": "string",
  
  
"autoplayShowTotalStake": true,
  
  
"translateErrors": true,
  
  
"currencyToDisplay": "string"
  
}
}

Responses

The gameround was closed. Payload is a free-format JSON structure.

application/json
JSON
{
  
"additionalProperties": "string"
}

Samples

Powered by VitePress OpenAPI