Bets API
  1. Bets
Bets API
  • Bets
    • Places a multiple or a complex bet.
      POST
    • Places a single bet
      POST
    • /betslips
      POST
    • Returns available free bets
      GET
    • Retrieves the customer’s bet history.
      GET
    • Allows a trusted application to cash in a bet (take a return on a bet) on behalf of the customer
      PUT
  1. Bets

Returns available free bets

GET
/freebets
Retrieves the current free bets available for a customer.

Request

Query Params

Header Params

Responses

🟢200Success
application/json
Body

🟢204No Free Bets
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://sandbox.whapi.com/v2/bets/freebets' \
--header 'apiKey;' \
--header 'apiSecret;' \
--header 'apiTicket;'
Response Response Example
200 - Example 1
[
    {
        "awardDateTime": "string",
        "displayText": "string",
        "expiryDateTime": "string",
        "id": 0,
        "offerDesc": "string",
        "offerId": 0,
        "offerName": "string",
        "startDateTime": "string",
        "value": 0
    }
]
Modified at 2023-08-16 06:51:28
Previous
/betslips
Next
Retrieves the customer’s bet history.
Built with