FAQ
- How should we return errors if for instance a player can not afford the bet or similar?
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"
}
- The game does not load when including the script and html tags. Why?
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.
- How do we set the currency?
Currency is passed in configuration option on the script tag. For example if you want to set US dollars you would do:
"https://customer-scripts.assets.scoutgg-stg.net/customer-client/application.js"
data-white-label="customer"
data-currency="USD"
>
</script>
<script
src=
For more information see the Frontend API
- How do we set the language?
Language is passed in configuration option on the script tag. For example if you want to set Russian language you would do:
"https://customer-scripts.assets.scoutgg-stg.net/customer-client/application.js"
data-white-label="customer"
data-lang="ru"
>
</script>
<script
src=
For more information see the Frontend API
- Which languages do you support?
You can find a full list on Frontend API . If you need a new language you can contact your key account manager