This functionality pertains to the win/loss results returned by BeSoft games after placing a bet. This message may be sent multiple times. It is identified as a duplicate message based on the transId.
Request method:BeSoft -> Host):post
Encoding method :application/x-www-form-urlencoded
The request data format issued by Besoft is: application/json
Provided by the game operator (Host).
https://{host}/[notify_url] OR: http://{host}/[notify_url]
| Name | Type | Required |Description| |:--------:|:-----:|:--------:|:--------:| | action | int32 | Y |3, Game result operation code| | uid | string(32) | Y |Player account| | mode | int32 | Y |Game Mode| | gid | string | Y |Game ID| | bet | double | Y |Bet scores, accurate to two valid floating points after the decimal point, and participate in score settlement| | spjpbet | double | Y |special jackpot Prize poolSingle cumulative prize pool bet value| | win | double | Y |Win amount, displayed with precision up to two decimal places as a valid floating-point number,and participate in score settlement| | ts | int64 | Y |Timestamp of the message request| | roundId | string | Y |Unique ID for each round of the game| | transId | string | Y |Unique transaction ID for each game transaction|
{
"action": 3,
"uid": "useraccount",
"mode": 0,
"bet": 1.00,
"spjpbet": 0.01,
"win": 10.00,
"ts":1732083839446,
"gid":"afa026",
"roundId":"1zr83u41gohrz",
"transId":"1zr8cu31gohrz"
}
| Name | Type | Description | |:--------:|:-----:|:--------:| | action | int32 |3,Game result operation code | | status | int32 | status code ,Type int32_t| | balance | double | User's current latest score, accurate to two decimal places as a valid floating-point number | | currency | string(3) | USD currency code |
## Success Result
{
"action": 3,
"status": 1,
"balance": 3000.01,
"currency": “USD”
}
Note: When status=1, the data is successful; otherwise, it is failed.
## Failed Result
{
"status": 1003
}