Skip to Content
SeamlessJDB Platform APIFunctionsReport-RelatedAction 84: Query Side Bet Transactions

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 historyId with 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 starttime and endtime must be 00.
    • The range between starttime and endtime must not exceed 5 minutes. It is recommended to keep the query range within 1 minute for optimal performance.
    • The query range includes starttime and excludes endtime.
  • historyId is the unique Side Bet transaction ID. It is different from gameHistoryId, which identifies the related main-game round.

Parameter

ParameterFormatMandatoryDescription
actionIntegerY84
tsLongYCurrent system time
parentString(50)YAgent ID
starttimeString(19)YStart of the query range (dd-MM-yyyy HH:mm:ss)
endtimeString(19)YExclusive 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

ParameterFormatDescription
statusString(4)Success: 0000

Error: See Error Codes in Appendix
No Data: 0000
dataJSON ArraySide Bet transaction summaries
err_textString(255)Error message

Data Object

ParameterFormatDescription
historyIdString(200)Unique Side Bet transaction ID; use this value with Action 85
gameHistoryIdString(200)Related main-game history ID
playerIdString(50)Player ID
gameCategoryIntegerGame category of the round the Side Bet was placed on; see the JDB section of Game Provider for the codes
machineTypeIntegerMachine type
gameModeStringSide Bet game mode
gameDateString(19)Settlement time (dd-MM-yyyy HH:mm:ss)
betDecimalSide Bet amount, returned as a negative value
winDecimalSide Bet win amount
totalDecimalNet result (win + bet)
currencyStringCurrency
lastModifyTimeString(19)Last modified time (dd-MM-yyyy HH:mm:ss)
transferIdLongWallet transfer ID
beforeBalanceStringBalance before settlement
afterBalanceStringBalance 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