4.3 Cancel Bet (取消下注) (由运营商实现)

Description (说明)

This function is used to send cancel bet information to single wallet site
此功能用于取消下注

img

Notice (注意)

Please return Http code 200 in the following special circumstances, and the code is 0000 to inform us that the bet has been successfully cancelled.

  • Your company has known that the cancellation of the same bet was successful, and you have received another bet cancellation request from our company for the same bet number.
  • Your company has known that the same bet has failed, and you have received another bet cancellation 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 cancel bet.
有关取消下注失败重试机制,请参阅 5.9 重试机制

When the operator performs maintenance, we suggest refer to 2.3 Operator Maintenance Flow
當運營商進行維護時,建議參閱 2.3 营运商维护流程

URL (网址)

{callbackURL}/cancel_bet

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
reasonStringYReason for cancelling the bet,please refer to reason sheet below <= 30 characters
取消下注的原因,請參考下方取消下注原因表格
userIdStringYUser ID <= 50 characters
玩家帐号
txIdStringYTransaction ID <= 20 characters
注单号
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 游戏

Reason (取消下注原因)

Reason
(原因)
Description
(说明)
BET_REQUEST_TIME_OUTBet request timed out
下注请求超时
BET_FAILEDBet failed
下注失败
VOID_ROUNDVoid round
无效局
{
  "ts": "2022-10-14T23:00:00.000+0800",
  "reason": "BET_FAILED",
  "userId": "hrgpl0001",
  "txId": "AAA-251916",
  "gameType": "LIVE",
  "gameCode": "BACCARAT"
}

Return Result (返回结果)