Placing a single bet

Your customers can place bets once they have money in their accounts and are logged in. 

Procedure

  1. Place a bet.
    To do that, execute the following request:
    POST https://{gateway}/v1/bets/me
    accept: application/xml
    who-apiKey: l7xx999dd7276c4e4ff7b6aa810cb106xxxx
    who-secret: 04d2db4f6baa456489774afc121exxxx
    who-ticket: TGT-3818-hkmowMWoMR1UrBMNpwYFo7P3p3KruimCPUpl4FIBXqODXTGqP0-brsuxxxx
    Content-Type: application/x-www-form-urlencoded
    
    Payload:
    legType=W&stake=1.00&outcomeId=786274541&priceType=L&priceNum=9&priceDen=2
  2. Get the bet details.
    After executing the above the request, you get the following response:
    <whoBets>
       <betPlaced>
          <betId>27644</betId>
          <betReceipt>O/0012360/0000035/F</betReceipt>
          <placedDateTime />
          <numLines>2</numLines>
          <totalStake>0.20</totalStake>
       </betPlaced>
    </whoBets>