This API method has to be implemented by vendor and will be called by Tomhorn. It is a Get request with no query parameters.
This API method returns the list of available and active games. Games present in the response will be considered as active. Any game that is not present in response will be considered as deactivated so same will be deactivated on our server until the game in again received in the response.
Required parameters of data:
- clientid - Type: String, mandatory value which identifies the customer
Optional parameters of data:
- currencies - Type: String, list of currencies for which to return the data
- games - Type String, list of games for which to return the data
NOTE: Currencies and Games are optional parameters, if no values are mentioned return all available data for all supported games and currencies.
Get Games Request Example:
Endpoint: https://endpoint.example.com/getgames
Request:
{
"clientid": "123456",
"currencies": "EUR,USD",
"games": "12,18"
}
Response:
[
{
"clientid": "123456"
},
[
{
"GameCode": "7",
"CoinSizeDetail": [
{
"CurrencyCode": "EUR",
"CoinSizes": [
0.1,
0.2
]
},
{
"CurrencyCode": "USD",
"CoinSizes": [
0.1,
0.2
]
}
]
},
{
"GameCode": "12",
"CoinSizeDetail": [
{
"CurrencyCode": "EUR",
"CoinSizes": [
0.3,
0.4
]
},
{
"CurrencyCode": "USD",
"CoinSizes": [
0.3,
0.4
]
}
]
},
{
"GameCode": "18",
"CoinSizeDetail": [
{
"CurrencyCode": "EUR",
"CoinSizes": [
0.3,
0.4
]
},
{
"CurrencyCode": "USD",
"CoinSizes": [
0.3,
0.4
]
}
]
}
]
]
Comments
0 comments
Article is closed for comments.