CheckPlaceBet - Saba-sports/OddsDirectAPI GitHub Wiki

This API is to get the transaction information by vendor transaction ID.

Request

GET /betting/{version}/CheckPlaceBet?VendorTransId=123456
Content-Type: application/json
X-Forwarded-For: client ip (If using API via proxy)
Authorization: Bearer {JWT token}
Parameter Format Length Mandatory Description
VendorTransId string 50 Yes Specifies the transaction number of the vendor.

Response

{
    "betPrice": decimal,
    "transId": long,
    "currentPrice": decimal,
    "stake": decimal,
    "betStatus": short,
    "ticketStatus": string
}
Parameter Format Description
betPrice decimal Specifies the odds price of betting.
transId long Specifies the transaction number of saba system.
currentPrice decimal Specifies the current price of betting.
stake decimal Specifies the stake amount of the bet.
betStatus short Specifies the status of betting.0 :success ;1 :fail ;2 :unknown (need to call /CheckPlaceBet to confirm the status)
ticketStatus string Specifies the initial status of the ticketwon/lose/void/running/draw/reject/refund/waiting/null (null means getting OddsChange when polling /PlaceBet)