beta CheckSellingStatus - Saba-sports/OddsDirectAPI_CN GitHub Wiki
该API用于获取兑现票据的状态。
Request
GET /cashout/{version}/CheckSellingStatus?transId=123456
Accept: application/json
X-Forwarded-For: client ip (如果通过代理使用API需要额外带入)
Authorization: Bearer {JWT token}
| Parameter |
Format |
Mandatory |
Description |
| transId |
long |
Yes |
沙巴注单号码 |
Response
{
"transId": long,
"sellingStatus": int,
"soldStake": decimal,
"paid":decimal,
}
| Parameter |
Format |
Description |
| transId |
long |
沙巴注单号码 |
| sellingStatus |
int |
兑现票据的状态0:Waiting, 1:Accept, 2:Reject, 3:Void |
| soldStake |
decimal |
兑现的注额 |
| paid |
decimal |
兑现的金额 |
ErrorCode Enumeration
| Error Code |
显示讯息 |
说明描述 |
| E001 |
Internal Server Error |
服务器发生非预期错误 |
| E002 |
Invalid parameter input |
参数输入无效或不支援 |
| B026 |
Selling Ticket Not Found |
未找到实时兑现的票 |