Skip to main content
GET
Query Bet Records

Query Parameters

uuid
string
required

Platform-defined unique request ID, length >= 32 and <= 128 bytes

platform_id
string
required

Platform product ID

begintime
string
required

Start timestamp (UNIX timestamp in seconds). Note: This is reckon time, if bet is recalculated or cancelled via backend, reckon time will also change

endtime
string
required

End timestamp (UNIX timestamp in seconds). Maximum range from begintime is 7 days (168 hours)

pagesize
string
required

Page size (must be between 100 and 10,000)

pageindex
string
required

Page index (starting from 0)

username
string

User account in game (optional)

type
string

Query specific record type, 1 - Bet, 2 - Consumption; if type key is not present, query all types

key
string
required

md5(begintime + endtime + pagesize + pageindex + type + username + platform secret key)

Response

Success

code
integer
msg
string
error
object
pageindex
integer

Page index

pagesize
integer

Page size

pagetotal
integer

Total pages

totalrecord
integer

Total records

records
object[]