beta CheckPlaceBet - Saba-sports/OddsDirectAPI_CN GitHub Wiki
用于检查单张注单的状态。当呼叫 PlaceBet API 后,如果连线逾时请呼叫此 API 确认注单的状态。
Request
GET /betting/{version}/CheckPlaceBet?VendorTransId=123456
Content-Type: application/json
X-Forwarded-For: client ip (如果通过代理使用API需要额外带入)
Authorization: Bearer {JWT token}
Parameter |
Format |
Length |
Mandatory |
Description |
VendorTransId |
string |
50 |
Yes |
厂商注单号码 |
Response
{
"betPrice": decimal,
"transId": long,
"currentPrice": decimal,
"stake": decimal,
"betStatus": short,
"ticketStatus": string
}
Parameter |
Format |
Description |
betPrice |
decimal |
下注赔率 |
transId |
long |
沙巴注单编号 |
currentPrice |
decimal |
当下赔率 |
stake |
decimal |
下注额度 |
betStatus |
short |
注單狀態0 :下注成功 ;1 :下注失敗 ;2 :未知狀態(如果遇到此情況請呼叫/CheckPlaceBet再次確認狀況) |
ticketStatus |
string |
注单状态won/lose/void/running/draw/reject/refund/waiting |