4.4 Settle (派彩) (由运营商实现)
Description (说明)
This function is used to pay out those bets that have already been placed.
此功能用于对那些已下注的注单进行派彩

Notice (注意)
In the following special circumstances, please return HTTP code 200 and the code is 0000 to inform us that the lottery has been successfully distributed.
- Your company has known that the settle for the same bet was successful, and you have received another payout request from our company for the same bet number.
以下特殊情形请返回Http code 200,且code为0000,以告知我司已派彩成功
- 同笔注单贵司已知派彩成功,且再次收到我司发起针对相同注单号的派彩请求
Please refer to 5.9 Retry Mechanism for the retry mechanism of settle.
有关派彩失败重试机制,请参阅 5.9 重试机制
When the operator performs maintenance, we suggest refer to 2.3 Operator Maintenance Flow
當運營商進行維護時,建議參閱 2.3 营运商维护流程
URL (网址)
{callbackURL}/settle
Request Method
POST
Request Parameters (请求参数)
| Field (栏位) | Type (型态) | Required (必要) | Description (说明) |
|---|---|---|---|
| ts | String | Y | Current system time fixed 28 characters 当前系统时间 format 格式 yyyy-MM-dd'T'HH:mm:ss.SSSZ timezone 时区 GMT+8 |
| gameType | String | Y | Game Type <= 10 characters 游戏类型 |
| gameCode | String | Y | Game Code <= 20 characters 游戏代码 |
| userId | String | Y | User ID <= 50 characters 玩家帐号 |
| txId | String | Y | Transaction ID <= 20 characters 注单号 |
| roundId | String | Y | Round ID <= 20 characters 局编号 |
| betTime | String | Y | Bet time fixed 28 characters 下注时间 format 格式 yyyy-MM-dd'T'HH:mm:ss.SSSZ timezone 时区 GMT+8 |
| betAmount | String | Y | How much did user bet decimal places <= 4 下注金额 |
| validBetAmount | String | Y | Valid bet decimal places <= 4 有效投注额 |
| winAmount | String | Y | How much did user win (including betAmount) decimal places <= 4 派彩金额(包含下注金額) |
| roundStartTime | String | Y | Round start time fixed 28 characters 牌局开始时间 format 格式 yyyy-MM-dd'T'HH:mm:ss.SSSZ timezone 时区 GMT+8 |
| odds | String | Y | Odds decimal places <= 4 赔率 |
| status | String | Y | Transaction win/loss result <= 10 characters 注单输赢结果 |
| result | Array of String | Y | Card results 开牌结果 |
| commission | String | Y | Rebate decimal places <= 4 现金回馈 if your company has not enabled the promotion credit function, then please ignore this attribute.if your company has not enabled the rebate function, then please ignore this attribute. 若贵司未开现金回馈功能,则请忽略此属性 |
| fee | String | N | Fee amount for fee-type game is already included in the bet amount. decimal places <= 4 手续费类型游戏的手续费金额,下注金额已包含此值 This attribute serves as additional information and is not transmitted by default. Please notify us if you need it to be enabled. 此属性为额外资讯,默认不传送,若有需求再通知我司开启 |
{
"ts": "2022-10-14T23:00:00.000+0800",
"userId": "hrgpl0001",
"txId": "AAA-251916",
"betTime": "2022-10-14T22:59:59.920+0800",
"gameType": "LIVE",
"gameCode": "BACCARAT",
"betAmount": "10.0",
"validBetAmount": "10.0",
"winAmount": "0.0",
"roundStartTime": "2022-07-03T22:07:43.217+0800",
"odds": "-1.0",
"status": "LOSE",
"result": [
"H03",
"C01",
"C01",
"C05",
"S05",
"C06"
],
"commission": "0.0"
}
