Skip to main content
POST
https://s-apis.oppigames.com/
/
game
/
allowed-bet-amounts
Allowed Bet Amounts
curl --request POST \
  --url https://s-apis.oppigames.com/game/allowed-bet-amounts \
  --header 'Content-Type: <content-type>' \
  --header 'x-api-key: <x-api-key>' \
  --header 'x-signature: <x-signature>' \
  --header 'x-timestamp: <x-timestamp>' \
  --data '
{
  "currency": "<string>"
}
'

  {
    "status": "RS_OK",
    "data": [
        20000,
        40000,
        60000,
        80000,
        100000,
        120000,
        140000,
        160000,
        180000,
    ]
}

Headers

x-api-key
string
required
A unique identifier associated with operator calling API.
x-signature
string
required
A SHA256 HMAC signature generated using the request body and timestamp. Format: HMAC_SHA256(JSON.stringify(data) + ’|’ + timestamp), signed using the provided secret key.
x-timestamp
string
required
An Unix timestamp (milliseconds) Used to verify the request’s freshness. Ensure the same value is used in signature generation.
The signature will remain valid for only 5 minutes from the provided timestamp.
Content-Type
string
required
Must be set to application/json.

Request Body

currency
string
required
Currency code (Example : USD,TRY)

Response

allowedBets
array
required
Allowed bet amount list as per currency.
To maintain precision and avoid floating-point errors, the allowedBets field is processed as an integer value by multiplying the actual amount by 100000.For example, a allowedBets of 12.34567 will be represented as 1234567 in the API.
This is the expected response from a successful Launch Game request.