๐Ÿ“Bet History

The "Bet History" page allows customers to retrieve the historical data of bets placed by players. By utilizing the provided API endpoints, customers can access comprehensive bet information and integrate it into their systems for analysis, reporting, and other purposes.

circle-info

Endpoint: /api/v1/bet-history Request Type: POST Content-Type: application/json

HTTP headers

Key
Description

X-Authorization-Token

Token generate by AES-256 (Example: Here)

Request Example

{
    "startTime": "YYYY-MM-DD HH:mm:ss",
    "endTime": "YYYY-MM-DD HH:mm:ss",
    "productId": "<productId>",
    "categoryId": "<categoryId>",
    "playerUsername": "<playerUsername>",
    "page": 1,
    "limit": 5000
}
Key
Description
Validation rules

startTime

Bet transaction from resultTime

Required, Date Format (YYYY-MM-DD HH:mm:ss)

endTime

Bet transaction to resultTime

Required, Date Format (YYYY-MM-DD HH:mm:ss)

productId

Product Identifier

Optional, Integer (0-9)

categoryId

Product Category Identifier

Optional, Integer (0-9)

playerUsername

Player Username

Optional, Alphanumeric (A-Z, a-z, 0-9)

page

Data Page

Required, Integer (0-9)

limit

Record Limit (Maximum: 5000/Page)

Required, Integer (0-9)

Response Example