> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.oppigames.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Allowed Bet Amounts

> API used for fetching allowed bet amounts based on currency, providing a standardized list of valid betting options for games.

## Headers

<ParamField header="x-api-key" type="string" required>
  A unique identifier associated with operator calling API.
</ParamField>

<ParamField header="x-signature" type="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.
</ParamField>

<ParamField header="x-timestamp" type="string" required>
  An Unix timestamp (milliseconds) Used to verify the request’s freshness.
  Ensure the same value is used in signature generation.

  <Note>
    The signature will remain valid for only 5 minutes from the provided
    timestamp.
  </Note>
</ParamField>

<ParamField header="Content-Type" type="string" required>
  Must be set to `application/json`.
</ParamField>

## Request Body

<ParamField body="currency" type="string" required>
  Currency code (Example : USD,TRY)
</ParamField>

## Response

<ResponseField name="allowedBets" type="array" required> Allowed bet amount list as per currency. </ResponseField>

<Note>
  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.
</Note>

<ResponseExample>
  This is the expected response from a successful `Launch Game` request.

  ```json SUCCESS theme={null}

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

  ```json FAILURE theme={null}
  {
    "status": "RS_ERROR",
    "message": "Oops! Something went wrong. Please refresh the page or try again in a moment"
  }
  ```
</ResponseExample>
