Action 84: Query Side Bet Transactions
Function Description
- Queries settled Side Bet transactions for one agent within the requested game-time range.
- Each item represents one Side Bet spin.
- Use
historyIdwith Action 85 to open the detailed Side Bet result. - Provides data from 3 minutes ago up to the past 60 days.
- Data within the latest 3 minutes is unavailable to avoid incomplete records.
- Data Time Range Description
- The values of ss (seconds) in
starttimeandendtimemust be00. - The range between
starttimeandendtimemust not exceed 5 minutes. It is recommended to keep the query range within 1 minute for optimal performance. - The query range includes
starttimeand excludesendtime.
- The values of ss (seconds) in
historyIdis the unique Side Bet transaction ID. It is different fromgameHistoryId, which identifies the related main-game round.
Parameter
| Parameter | Format | Mandatory | Description |
|---|---|---|---|
| action | Integer | Y | 84 |
| ts | Long | Y | Current system time |
| parent | String(50) | Y | Agent ID |
| starttime | String(19) | Y | Start of the query range (dd-MM-yyyy HH:mm:ss) |
| endtime | String(19) | Y | Exclusive end of the query range (dd-MM-yyyy HH:mm:ss) |
Example
{
"action": 84,
"ts": 1785721200000,
"parent": "testag",
"starttime": "03-08-2026 01:30:00",
"endtime": "03-08-2026 01:35:00"
}Return Results
| Parameter | Format | Description |
|---|---|---|
| status | String(4) | Success: 0000 Error: See Error Codes in Appendix No Data: 0000 |
| data | JSON Array | Side Bet transaction summaries |
| err_text | String(255) | Error message |
Data Object
| Parameter | Format | Description |
|---|---|---|
| historyId | String(200) | Unique Side Bet transaction ID; use this value with Action 85 |
| gameHistoryId | String(200) | Related main-game history ID |
| playerId | String(50) | Player ID |
| gameCategory | Integer | Game category of the round the Side Bet was placed on; see the JDB section of Game Provider for the codes |
| machineType | Integer | Machine type |
| gameMode | String | Side Bet game mode |
| gameDate | String(19) | Settlement time (dd-MM-yyyy HH:mm:ss) |
| bet | Decimal | Side Bet amount, returned as a negative value |
| win | Decimal | Side Bet win amount |
| total | Decimal | Net result (win + bet) |
| currency | String | Currency |
| lastModifyTime | String(19) | Last modified time (dd-MM-yyyy HH:mm:ss) |
| transferId | Long | Wallet transfer ID |
| beforeBalance | String | Balance before settlement |
| afterBalance | String | Balance after settlement |
Response Example
{
"status": "0000",
"data": [
{
"historyId": "sidebet_5250234694590",
"gameHistoryId": "5250234694590",
"playerId": "testpl01",
"gameCategory": 0,
"machineType": 14099,
"gameMode": "NoExtraBet",
"gameDate": "03-08-2026 01:31:10",
"bet": -10.0000,
"win": 15.5000,
"total": 5.5000,
"currency": "US",
"lastModifyTime": "03-08-2026 01:31:11",
"transferId": 123456789,
"beforeBalance": "100",
"afterBalance": "105.5"
}
]
}Last updated on