4.4 Settle (派彩) (由运营商实现)

Description (说明)

This function is used to pay out those bets that have already been placed.
此功能用于对那些已下注的注单进行派彩

img

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
(说明)
tsStringYCurrent system time fixed 28 characters
当前系统时间

format 格式 yyyy-MM-dd'T'HH:mm:ss.SSSZ
timezone 时区 GMT+8
gameTypeStringYGame Type <= 10 characters
游戏类型

Please refer to 5.1 Game for details.
详情请参考 5.1 游戏
gameCodeStringYGame Code <= 20 characters
游戏代码

Please refer to 5.1 Game for details.
详情请参考 5.1 游戏
userIdStringYUser ID <= 50 characters
玩家帐号
txIdStringYTransaction ID <= 20 characters
注单号
roundIdStringYRound ID <= 20 characters
局编号

betTimeStringYBet time fixed 28 characters
下注时间

format 格式 yyyy-MM-dd'T'HH:mm:ss.SSSZ
timezone 时区 GMT+8
betAmountStringYHow much did user bet decimal places <= 4
下注金额

If fee-type game, this field includes the fee amount.
若为手续费类型游戏,此栏位包含手续费金额

validBetAmountStringYValid bet decimal places <= 4
有效投注额

If fee-type game, the fee is included in the calculation.
若为手续费类型游戏,手续费并入计算

winAmountStringYHow much did user win (including betAmount) decimal places <= 4
派彩金额(包含下注金額)
roundStartTimeStringYRound start time fixed 28 characters
牌局开始时间

format 格式 yyyy-MM-dd'T'HH:mm:ss.SSSZ
timezone 时区 GMT+8
oddsStringYOdds decimal places <= 4
赔率
statusStringYTransaction win/loss result <= 10 characters
注单输赢结果

Please refer to 5.6 Transaction Win/Loss Result for details.
详情请参考 5.6 注单输赢结果

resultArray of StringYCard results
开牌结果

Please refer to 5.7 Card Result for details.
详情请参考 5.7 开牌结果
commissionStringYRebate 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.
若贵司未开现金回馈功能,则请忽略此属性


If fee-type game, the fee is included in the calculation.
若为手续费类型游戏,手续费并入计算

feeStringNFee 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"
}

Return Result (返回结果)