The "Outstanding Bet Transaction" page provides a comprehensive view of all bets that are currently in a pending or outstanding state. These are bets that have been placed but are awaiting the final result. By accessing this page, users can easily track their active bets and anticipate their potential outcomes.
Endpoint: /api/v1/outstanding
Request Type: POST
Content-Type: application/json
{
"code": 0,
"msg": "Successful",
"data": [
{
"betId": "eb54307d-7033-4a82-aa20-3cb42a7ea79a", // Required: String with a maximum length of 50 characters.
"roundId": "<roundId>", // Required: String with a maximum length of 50 characters.
"playerUsername": "<playerUsername>", // Required: Alphanumeric with a maximum length of 20 characters.
"productId": "<productId>", // Required: Integer
"productName": "<productName>", // Required: String with a maximum length of 20 characters.
"categoryId": "<categoryId>", // Required: Integer
"categoryName": "<categoryName>", // Required: String with a maximum length of 20 characters.
"betInfo": "<betInfo>", // Optional: String with a maximum length of 1024 characters.
"resultInfo": "<resultInfo>", // Optional: String with a maximum length of 1024 characters.
"betAmount": "<betAmount>", // Required: Number, 2 Decimal places by example 1000.11
"validAmount": "<validAmount>", // Required: Number, 2 Decimal places by example 1000.11
"winlose": "<winlose>", // Required: Number, 2 Decimal places by example 1000.11
"betTime": "<betTime>", // Required, Date Format, example 2023-01-01 00:00:00
"resultTime": "<resultTime>", // Required, Date Format, example 2023-01-01 00:00:00
"betStatus": "<betStatus>", // Required, Integer, example: 0=Pending, 1=Successful, 2=Cancelled, 3=Void
"betIp": "<betIp>", // Optional: String, example: IPv4 or IPv6
"txnRemark": "<txnRemark>", // Optional: String with a maximum length of 500 characters.
"winloseDate": "YYYY-MM-DD", // Required, Date Format, example 2023-01-01
"createdDate": "<createdDate>", // Required, Date Format, example 2023-01-01 00:00:00
"updatedDate": "<updatedDate>", // Required, Date Format, example 2023-01-01 00:00:00
}
],
"count": 0,
"requestTime": "YYYY-MM-DD HH:mm:ss",
"requestUuid": "<UUID v4>",
"paginate": {
"totalPage": 1,
"currentPage": 1
}
}