CheckParlayBet - Saba-sports/OddsDirectAPI_CN GitHub Wiki

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

Request

POST /betting/{version}/CheckParlayBet?VendorTransId=yes_0106
Content-Type: application/json
Authorization: Bearer {JWT token}
Parameter Format Length Mandatory Description
VendorTransId string 50 Yes 指定厂商的交易编号。

Response

{
    "transId": long,
    "sysTransId": long,
    "luckyTransId": long,
    "totalStake": decimal,
    "betStatus": short,
    "parlayTicketsInfo": [
        {
            "parlayId": long,
            "ticketStatus": string,
            "betPrice": decimal,
            "currentPrice": decimal
        }
    ],
    "singleTicketsInfo": [
        {
            "transId": long,
            "ticketStatus": string,
            "betPrice": decimal,
            "currentPrice": decimal
        }
    ]
}
Parameter Format Description
transId long 指定 SABA 系统的交易编号。
sysTransId long 指定系统串关的交易编号。
luckyTransId decimal 指定 Lucky 串关的交易编号。
totalStake decimal 指定总投注金额。
betStatus short 指定投注状态。0:成功;1:失败;2:未知
parlayTicketsInfo ParlayTicketInfo Array 指定串关票据信息数组。
singleTicketsInfo SingleTicketInfo Array 指定单注票据信息数组。

ParlayTicketInfo

Parameter Format Description
parlayId long 指定串关票据 ID。
ticketStatus string 指定票据状态:won/lose/void/running/draw/reject/refund/waiting/null
betPrice decimal 指定投注时的赔率(下注赔率)。
currentPrice decimal 指定当前赔率。

SingleTicketInfo

Parameter Format Description
parlayId long 指定串关票据 ID。
ticketStatus string 指定票据状态:won/lose/void/running/draw/reject/refund/waiting/null
betPrice decimal 指定投注时的赔率(下注赔率)。
currentPrice decimal 指定当前赔率。