StraightBetV4
Properties
Name | Type | Required | Description |
---|---|---|---|
BetId | long | ✅ | Bet identification |
WagerNumber | long | ✅ | Wager identification. All bets placed thru the API will have value 1. Website Classic view supports multiple contest(special) bets placement in the same bet slip in that case the bet would have appropriate wager number, as well as all round robin parlay bets. |
PlacedAt | string | ✅ | Date time when the bet was placed. |
BetStatus | StraightBetV4BetStatus | ✅ | Bet Status. ACCEPTED = Bet was accepted. PUSHED = Bet was pushed. CANCELLED = Bet is cancelled as per Pinnacle betting rules. LOST = The bet is settled as lose. PENDING_ACCEPTANCE = This status is reserved only for live bets. If a live bet is placed during danger zone or live delay is applied, it will be in PENDING_ACCEPTANCE , otherwise in ACCEPTED status. From this status bet can go to ACCEPTED or NOT_ACCEPTED status. REFUNDED = When an event is cancelled or when the bet is settled as push, the bet will have REFUNDED status. NOT_ACCEPTED = Bet was not accepted. Bet can be in this status only if it was previously in PENDING_ACCEPTANCE status. WON = The bet is settled as won. HALF_WON_HALF_PUSHED = The bet is settled as half won half pushed. Only for asian handicap bets. HALF_LOST_HALF_PUSHED = The bet is settled as half lost half pushed. Only for asian handicap bets. |
BetType | StraightBetV4BetType | ✅ | Bet type. |
Win | double | ✅ | Win amount. |
Risk | double | ✅ | Risk amount. |
OddsFormat | OddsFormat | ✅ | Bet odds format. AMERICAN = American odds format, DECIMAL = Decimal (European) odds format, HONGKONG = Hong Kong odds format, INDONESIAN = Indonesian odds format, MALAY = Malaysian odds format |
UpdateSequence | long | ✅ | Update Sequence |
WinLoss | double | ❌ | Win-Loss for settled bets. |
CustomerCommission | double | ❌ | Client’s commission on the bet. |
CancellationReason | CancellationReason | ❌ | Possible keys : _ correctTeam1Id _ correctTeam2Id _ correctListedPitcher1 _ correctListedPitcher2 _ correctSpread _ correctTotalPoints _ correctTeam1TotalPoints _ correctTeam2TotalPoints _ correctTeam1Score _ correctTeam2Score _ correctTeam1TennisSetsScore _ correctTeam2TennisSetsScore |
SportId | long | ❌ | |
LeagueId | long | ❌ | |
EventId | long | ❌ | |
Handicap | double | ❌ | |
Price | double | ❌ | |
TeamName | string | ❌ | |
Side | StraightBetV4Side | ❌ | Side type. |
Team1 | string | ❌ | |
Team2 | string | ❌ | |
PeriodNumber | long | ❌ | |
Team1Score | double | ❌ | Team 1 on the period that the bet was placed on at the moment of placing a bet, only for live bets. |
Team2Score | double | ❌ | Team 2 on the period that the bet was placed on at the moment of placing a bet, only for live bets. |
FtTeam1Score | double | ❌ | Full time team 1 score, only for settled bets. |
FtTeam2Score | double | ❌ | Full time team 2 score, only for settled bets. |
PTeam1Score | double | ❌ | .End of period team 1 score, only for settled bets. If the bet was placed on Game period (periodNumber =0), this will be null . |
PTeam2Score | double | ❌ | End of period team 2 score, only for settled bets. If the bet was placed on Game period (periodNumber =0), this will be null |
IsLive | bool | ❌ | Whether the bet is on live event |
EventStartTime | string | ❌ | Date time when the event starts. |
StraightBetV4BetStatus
Bet Status. ACCEPTED = Bet was accepted. PUSHED = Bet was pushed. CANCELLED = Bet is cancelled as per Pinnacle betting rules. LOST = The bet is settled as lose. PENDING_ACCEPTANCE = This status is reserved only for live bets. If a live bet is placed during danger zone or live delay is applied, it will be in PENDING_ACCEPTANCE , otherwise in ACCEPTED status. From this status bet can go to ACCEPTED or NOT_ACCEPTED status. REFUNDED = When an event is cancelled or when the bet is settled as push, the bet will have REFUNDED status. NOT_ACCEPTED = Bet was not accepted. Bet can be in this status only if it was previously in PENDING_ACCEPTANCE status. WON = The bet is settled as won. HALF_WON_HALF_PUSHED = The bet is settled as half won half pushed. Only for asian handicap bets. HALF_LOST_HALF_PUSHED = The bet is settled as half lost half pushed. Only for asian handicap bets.
Properties
Name | Type | Required | Description |
---|---|---|---|
Accepted | string | ✅ | "ACCEPTED" |
Cancelled | string | ✅ | "CANCELLED" |
Lost | string | ✅ | "LOST" |
PendingAcceptance | string | ✅ | "PENDING_ACCEPTANCE" |
Refunded | string | ✅ | "REFUNDED" |
Pushed | string | ✅ | "PUSHED" |
NotAccepted | string | ✅ | "NOT_ACCEPTED" |
Won | string | ✅ | "WON" |
HalfWonHalfPushed | string | ✅ | "HALF_WON_HALF_PUSHED" |
HalfLostHalfPushed | string | ✅ | "HALF_LOST_HALF_PUSHED" |
StraightBetV4BetType
Bet type.
Properties
Name | Type | Required | Description |
---|---|---|---|
Moneyline | string | ✅ | "MONEYLINE" |
TeamTotalPoints | string | ✅ | "TEAM_TOTAL_POINTS" |
Spread | string | ✅ | "SPREAD" |
TotalPoints | string | ✅ | "TOTAL_POINTS" |
Special | string | ✅ | "SPECIAL" |
Parlay | string | ✅ | "PARLAY" |
Teaser | string | ✅ | "TEASER" |
Manual | string | ✅ | "MANUAL" |
StraightBetV4Side
Side type.
Properties
Name | Type | Required | Description |
---|---|---|---|
Over | string | ✅ | "OVER" |
Under | string | ✅ | "UNDER" |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs