Skip to main content

Game restrictions info

Request

URI: /gameRestrictionsInfo

Example usage: https://{back_url}/gameRestrictionsInfo?{parameters}

The request is executed using the GET method.

This method is used to obtain data related to country and currency restrictions.

Response parameters

NameTypeRequiredDescription
dataarrayYesData on blocked and restricted countries and available currencies
data.gameIdintegerYesGame ID
data.blockedCountriesarrayYesList of countries where the game is blocked, in ISO 3166-2 format
data.restrictedCountriesarrayYesList of countries where the game is restricted, in ISO 3166-2 format
data.availableCurrenciesarrayYesList of available currencies for the game, in ISO 4217 format
errorsobjectNoDescription of errors if status = false
errors.errorstringNoError description

Example of a successful response

Response: /gameRestrictionsInfo
{
"data": [
{
"gameId": 123,
"blockedCountries": ["IT", "US", "FR",],
"restrictedCountries": ["IT", "US", "FR",],
"availableCurrencies": ["USD", "EUR", "CAD",]
},
{
"gameId": 1242,
"blockedCountries": ["IT", "US", "FR",],
"restrictedCountries": ["IT", "US", "FR",],
"availableCurrencies": ["USD", "EUR", "CAD",]
}
]
}

Example of an unsuccessful response

Response: /gameRestrictionsInfo
{
"errors": {
"error": "Description"
}
}