Skip to main content
GET
https://s-apis.oppigames.com/
/
game
/
session
Transaction List
curl --request GET \
  --url https://s-apis.oppigames.com/game/session \
  --header 'content-type: <content-type>' \
  --header 'x-api-key: <x-api-key>' \
  --header 'x-signature: <x-signature>' \
  --header 'x-timestamp: <x-timestamp>'
{
    "status": "RS_OK",
    "data": {
        "totalPages": 3,
        "currentPage": 1,
        "totalCount": 14,
        "result": [
            {
                "transactionId": "7f4ef777-7ad7-486a-8186-249e99ba715a",
                "sessionId": "d404f1da-26a6-44ff-8b0f-559915152be11742537289208",
                "playerId": "18865671",
                "playerName": "XYZ player",
                "betAmount": 5000000,
                "payout": 6000000,
                "isWin": true,
                "sessionStatus": 1,
                "gameId": "G1742465405970",
                "gameName": "Cricket Crash",
                "createdAt": "2025-03-21T11:02:46.615Z"
            }
        ]
    }
}
Status
  • 0 = Inactive
  • 1 = Active
The status indicates whether the session is currently active or not.

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) when the request was sent. Ensure the same value is used in signature generation.
content-type
string
required
Must be set to application/json

Query Parameters

page
integer
Specifies the current page number for pagination purposes.
limit
integer
Specifies how many records to display on each page, controlling the size of each data segment.
sessionId
string
required
A unique identifier for the game session you want to retrieve.

Response

status
string
required
Code indicates status of the request weather it is succeed or failed. We have listed error codes here
data
Data Object
{
    "status": "RS_OK",
    "data": {
        "totalPages": 3,
        "currentPage": 1,
        "totalCount": 14,
        "result": [
            {
                "transactionId": "7f4ef777-7ad7-486a-8186-249e99ba715a",
                "sessionId": "d404f1da-26a6-44ff-8b0f-559915152be11742537289208",
                "playerId": "18865671",
                "playerName": "XYZ player",
                "betAmount": 5000000,
                "payout": 6000000,
                "isWin": true,
                "sessionStatus": 1,
                "gameId": "G1742465405970",
                "gameName": "Cricket Crash",
                "createdAt": "2025-03-21T11:02:46.615Z"
            }
        ]
    }
}