CheckSellingStatus
Saba-sports edited this page Aug 1, 2022
·
7 revisions
该API用于获取兑现票据的状态。 呼叫/SellBack
后,需等待2秒再呼叫/CheckSellingStatus
。
GET /cashout/{version}/CheckSellingStatus?transId=123456
Accept: application/json
Authorization: Bearer {JWT token}
Parameter | Format | Mandatory | Description |
---|---|---|---|
transId | long | Yes | 注单号码 |
{
"transId": long,
"sellingStatus": int,
"soldStake": decimal,
"paid":decimal,
}
Parameter | Format | Description |
---|---|---|
transId | long | 注单号码 |
sellingStatus | int | 兑现票据的状态 1:Waiting, 2:Accept, 3:Reject |
soldStake | decimal | 兑现的注额 |
paid | decimal | 兑现的金额 |
Error Code | Message | Description |
---|---|---|
E001 | Internal Server Error | 服务器发生非预期错误 |
E002 | Invalid parameter input | 参数输入无效或不支援 |
B019 | Transaction Id Not Found | 找不到对应注单编号 |
© 2022 S A B A S P O R T S
v1
beta
Betting _Flow
v1
beta
Cashout _Flow
v2
- Server-sent events (服务器发送事件)
- Sport Table (体育项目对照表)
- Language Table (语系对照表)
- Country Table (国别对照表)
- Currency Table (币别对照表)
- Parlay Combo Enumeration (串关组合列表)
- BetType Selection Information (投注类型与选项)
- E-Sports Group Enumeration (电子竞技群组列表)
- Event Time Parameter Enumeration (赛事时间参数对照表)
- Event and Market Status Information(赛事盘口状态对照表)