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, restricted countries and available currencies
data.gameIdintegerYesGame ID
data.blockedCountriesarrayYesList of countries where the game is blocked in ISO 3166-2
data.restrictedCountriesarrayYesList of countries in which the game is restricted in ISO 3166-2
data.availableCurrenciesarrayYesList of available currencies for the game in ISO 4217
errorsobjectNoDescription of errors in case 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"
}
}