Get game bet values
Request
URI: /getGameBetValues
Example usage: https://{base_url}/getGameBetValues
The request is executed using the POST
method.
This method is used to get a list of bet values for the specified games and currencies.
Some providers do not support a “free” freespin amount, so each of their games contains certain fixed rates.
This method has been implemented for such providers.
note
This method is used for the following providers:
- Pragmatic
- Hacksaw Gaming
- Relax Gaming
- Gameart
- Platipus
- Endorphina
- Habanero
- Ka gaming
- OnlyPlay
- Caleta gaming
- Mascot gaming
- Smartsoft
- BoldPlay
- AmigoGaming
- AGTsoftware
Header
Name | Type | Required | Description |
---|---|---|---|
Hash-Authorization | string | Yes | Hash obtained from the request Read more about it here |
Request parameters
Name | Type | Required | Description |
---|---|---|---|
currency | string | Yes | Game currency |
gameId | integer | Yes | Game ID |
Example of a request parameters
Response: /getGameBetValues
{
"currency": "USD",
"gameId": 1007773
}
Response parameters
Name | Type | Required | Description |
---|---|---|---|
status | string | Yes | Indicator of the response status When true – request is successful Accepted values: true , false |
result | object | Yes | The data of the game bet values that are sent, in case status = true |
result.betValues | array | Yes | List of game bet values |
code | integer | No | Error code if status = false |
error | string | No | General description of an error |
details | array | No | Detailed information about the error |
Example of a successful response
Response: /getGameBetValues
{
"status": true,
"result": {
"betValues": [
0.01,
0.02,
0.05,
0.1,
0.2,
0.5,
1
]
}
}
Example of an unsuccessful response with Invalid Hawk authorization error
Response: /getGameBetValues
{
"status": false,
"code": 1004,
"error": "Invalid Hawk authorization",
"details": []
}
Example of an unsuccessful response with a validation error
Response: /getGameBetValues
{
"status": false,
"code": 1001,
"error": "Validation failed",
"details": [
"The game id field is required.",
"The currency field is required."
]
}
Example of an unsuccessful response if the selected currency is unavailable
Response: /getGameBetValues
{
"status": false,
"code": 1005,
"error": "Currency not available",
"details": []
}
Example of an unsuccessful response with a general error
Response: /getGameBetValues
{
"status": false,
"code": 1000,
"error": "General error",
"details": []
}