- Bet records are kept for at most 2 hours.
- If one bet ID has more than one record (for example, after a correction), the most recently created record is returned.
- This service is rate limited to 2 calls per second (2/s).
- Each query can cover at most 15 minutes and cannot span days.
- The search end time must be at least 2 minutes before the current time.
- This feature is not available to seamless wallet operators.
- For paging, see Pagination.
Path
Headers
| Field | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Token we provide |
Request parameters
| Field | Type | Required | Signed | Description |
|---|---|---|---|---|
channelID | number | Yes | ✓ | Channel ID (use 1 if you have no channels; 0 queries all) |
startTime | string | Yes | ✓ | Search start time (see Time format) |
endTime | string | Yes | ✓ | Search end time (see Time format) |
nextToken | string | No | ✓ | Query token (empty on the first query, then the nextToken from the previous result) |
maxResults | number | Yes | ✓ | Maximum number of results (min 2000, max 5000) |
sign | string | Yes | Signature. See Signature for how to generate it |
Response
Success (the HTTP status code is always 200; checkstatus.code for the result)
| Field | Type | Description |
|---|---|---|
data | object | |
data.betlogList | object[] | Bet records |
data.betlogList[].betID | string | Bet ID (unique per bet record) |
data.betlogList[].channelID | number | Channel ID |
data.betlogList[].account | string | Member account |
data.betlogList[].currency | string | Currency (contact our business team) |
data.betlogList[].gameID | number | Game ID |
data.betlogList[].gameType | string | Game type [slot, fishing, tableGame] |
data.betlogList[].bet | number | Bet amount |
data.betlogList[].payout | number | Payout amount |
data.betlogList[].winLose | number | Win/loss amount |
data.betlogList[].freeGame | number | Includes free games (1: no, 2: yes) |
data.betlogList[].status | number | Bet status (0: not paid out, 1: paid out) |
data.betlogList[].betMode | string | Bet mode (main: base game, special: feature game, item: item card) |
data.betlogList[].betTime | string | Bet time (see Time format) |
data.nextToken | string | Token for the next query (empty string on the last page) |
data.maxResults | number | Maximum number of results returned |
data.total | number | Total number of records in this query |
status | object | Response status. See Response format |
