FAQ

In the case anything went wrong, expected or otherwise, you should return a HTTP Status code that is not 2XX. For 5XX errors our platform will censor the error and just show a general error to the player. The error response should include an error parameter. The message in the error parameter should be snake_cased. For instance:


    
// HTTP Response 402 from callback { "error": "insufficient_funds" }

Possibly you have not set the correct base path. The base path should be the path from your domain to where the game should take over the routing. For instance if the game is located at https://www.yourcasino.com/sports/fantasy, the basePath should be "/sports/fantasy/".

Please note that the trailing slash is important.

Currency is passed in configuration option on the script tag. For example if you want to set US dollars you would do:


    
<script src="https://customer-scripts.assets.scoutgg-stg.net/customer-client/application.js" data-white-label="customer" data-currency="USD" > </script>

For more information see the Frontend API

Language is passed in configuration option on the script tag. For example if you want to set Russian language you would do:


    
<script src="https://customer-scripts.assets.scoutgg-stg.net/customer-client/application.js" data-white-label="customer" data-lang="ru" > </script>

For more information see the Frontend API

You can find a full list on Frontend API . If you need a new language you can contact your key account manager