CheckParlayBet - Saba-sports/OddsDirectAPI 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 |
Specifies the vendor's transaction number. |
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 |
Specifies the transaction number of the SABA system. |
| sysTransId |
long |
Specifies the transaction number of the system parlay bet. |
| luckyTransId |
decimal |
Specifies the transaction number of the Lucky parlay bet. |
| totalStake |
decimal |
Specifies the total stake amount. |
| betStatus |
short |
Specifies the bet status.0:success;1:fail;2:unknown |
| parlayTicketsInfo |
ParlayTicketInfo Array |
Specifies the parlay ticket information array. |
| singleTicketsInfo |
SingleTicketInfo Array |
Specifies the single ticket information array. |
ParlayTicketInfo
| Parameter |
Format |
Description |
| parlayId |
long |
Specifies the parlay ticket ID. |
| ticketStatus |
string |
Specifies the ticket status:won/lose/void/running/draw/reject/refund/waiting/null |
| betPrice |
decimal |
Specifies the odds price at the time of placing the bet (bet odds). |
| currentPrice |
decimal |
Specifies the current odds price. |
SingleTicketInfo
| Parameter |
Format |
Description |
| parlayId |
long |
Specifies the parlay ticket ID. |
| ticketStatus |
string |
Specifies the ticket status:won/lose/void/running/draw/reject/refund/waiting/null |
| betPrice |
decimal |
Specifies the odds price at the time of placing the bet (bet odds). |
| currentPrice |
decimal |
Specifies the current odds price. |