Description Usage Arguments Value Examples
Place bet in the system
1 2 3 |
stake |
numeric Wager amount in currency |
sportId |
numeric the sport id |
eventId |
numeric the vent id |
periodNumber |
numeric Number of the period , see Pinnacle API manual |
lineId |
numeric ID of the line |
betType |
BET_TYPE
|
altLineId |
numeric ID of the alternate line (lineID must also be included) |
team |
Default = NULL , , see Pinnacle API manual
|
side |
Defaulat = NULL , , see Pinnacle API manual
|
acceptBetterLine |
Default=TRUE ,boolean Whether or not to accept a bet when there is a line change in favor of the client |
winRiskStake |
Default="RISK", either place the stake to RISK/WIN
|
oddsFormat |
Default="AMERICAN", Desired Odds Format
|
list containing :
status If Status is PROCESSED_WITH_ERROR errorCode will be in the response
errorCode
1 2 3 4 5 6 7 8 9 10 11 12 | SetCredentials("TESTAPI","APITEST")
AcceptTermsAndConditions(accepted=TRUE)
PlaceBet (stake=10,
sportId=1,
eventId=495418854,
periodNumber=0,
lineId=222136736,
betType="MONEYLINE",
team="TEAM2",
acceptBetterLine=TRUE,
winRiskStake="WIN",
oddsFormat="AMERICAN")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.