game_history

Used to make user query the data by game id


Request Properties

  • Name
    operatorId
    Type
    string
    Description

    Unique identifier for the operator. The operator can get the operator id from the support team

  • Name
    apiSecret
    Type
    string
    Description

    The operator secret key. The operator can get the key on the back office page

  • Name
    gameId
    Type
    string
    Description

    The reference code with game. The operator can get the game id from the credit and debit response

Response Properties

  • Name
    Content-Type
    Type
    text/html
    Description

    The response will be an HTML document that displays the game history interface.

  • Name
    Response Body
    Type
    html
    Description

    Returns a complete HTML document containing:

    • Game history records
    • Formatted table layout
    • Styling for better readability
GET/game_history

Check user's balance request

Request

GET
/game_history
curl -X GET "{BASE_URL}/game_history?operatorId=$operatorId&apiSecret=$apiSecret&gameId=$gameId" \

Response


<!DOCTYPE html>
<html lang="">
<head>
  <style>
    table {
    border - collapse: collapse;
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
  }
    th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
  }
    th {
    background - color: #f2f2f2;
  }
    tr:nth-child(even) {
    background - color: #f9f9f9;
  }
  </style>
</head>
<body>
<table>
  <tr>
    <td>Game ID</td>
    <td>xxx</td>
  </tr>
  <tr>
    <td>Game Session</td>
    <td>xxx</td>
  </tr>
  <tr>
    <td>Game Type</td>
    <td>xxx</td>
  </tr>
  <tr>
    <td>Currency</td>
    <td>xxx</td>
  </tr>
  <tr>
    <td>Place Amount</td>
    <td>xxx</td>
  </tr>
  <tr>
    <td>Place Date</td>
    <td>xxx</td>
  </tr>
  <tr>
    <td>Clear Amount</td>
    <td>xxx</td>
  </tr>
  <tr>
    <td>Clear Date</td>
    <td>xxx</td>
  </tr>
</table>
</body>
</html>

Was this page helpful?