Skip to main content

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
NameTypeRequiredDescription
Hash-AuthorizationstringYesHash obtained from the request
Read more about it here

Request parameters

NameTypeRequiredDescription
currencystringYesGame currency
gameIdintegerYesGame ID

Example of a request parameters

Response: /getGameBetValues
{
"currency": "USD",
"gameId": 1007773
}

Response parameters

NameTypeRequiredDescription
statusstringYesIndicator of the response status
When true – request is successful
Accepted values: true, false
resultobjectYesThe data of the game bet values that are sent, in case status = true
result.betValuesarrayYesList of game bet values
codeintegerNoError code if status = false
errorstringNoGeneral description of an error
detailsarrayNoDetailed 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": []
}