/
v3.0.11Get access

getClientLastSessionBetSummary

This method retrieves a summary of the user’s betting activity for the last active session of the specified product. Returns aggregated betting information, including the session start time, total bet amount, and total winning amount.

Request parameters:

NameDescriptionTypeValuesDefault
product
Product type for which the last session bet summary is requested.string"Sport" / "Casino"-

Call example:

getClientLastSessionBetSummary({
  product: 'Sport'
})

Response examples:

{
  code: 0,
  rid: 884851771,
  data: {
    result: 0,
    result_text: null,
    details: {
      SessionStartDate: 1771937390,
      BetAmount: 0,
      BetWinningAmount: 0
    }
  }
}

Response parameters:

NameDescriptionTypeValues
SessionStartDate
Start time of the last betting sessionnumber"UNIX" "timestamp"
BetAmount
Total amount wagered during the session.number-
BetWinningAmount
Total winning amount from bets placed in the session.number-