whapi.com – bets
The Bets API methods are used to place single, multiple and complex bets and to retrieve a customer’s bet history. When retrieving a customer’s bet history you can organize the bets from the betting history in terms of date, bet type and whether the bet is settled or not. You can also specify what fields to be included/excluded or return a list of all default fields the method returns.
The Bets API will also generate a bet delay if you’re placing a single/multiple bet in-Play by creating a time margin to negate the effects of major changes to the market (for example, goals during a football match). Note that in version 2 of our APIs, Bets API contains the functionality of both Bets API v1 and the Betslips API v1.
- Homepage
- https://api.apis.guru/v2/specs/whapi.com:bets/2.0.0.json
- Provider
- whapi.com:bets / bets
- OpenAPI version
- 3.0.0
- Spec (JSON)
- https://api.apis.guru/v2/specs/whapi.com/bets/2.0.0/openapi.json
- Spec (YAML)
- https://api.apis.guru/v2/specs/whapi.com/bets/2.0.0/openapi.yaml
Tools (8)
Extracted live via the executor SDK.
-
bets.cashinAllows a trusted application to cash in a bet (take a return on a bet) on behalf of the customer. If the customers monitor bets they can cash in a bet at any point before the event ends.
-
bets.getBetHistoryRetrieves the customer’s bet history. Options are available to organise the history in terms of date, bet type and settled and unsettled bets. The maximum number of bets and bet history pages retrieved can also be set.
-
bets.getFreeBetsRetrieves the current free bets available for a customer.
-
bets.placeComplexBetPlaces a multiple or a complex bet.
-
bets.placeSingleBetPlaces a single bet. When placing a single bet using live inplay bets, the system might generate a bet delay to allow a time margin to negate the effects of major changes (for example, goals) to the market. Note that the amount of bet delay will vary by category and event type. A delayedBetId will be recieved that can be used to resubmit the bet.
-
bets.validateBetslipOrganises the betslip when one or more selections are made. It returns a bet slip structure organised by betting opportunities.
-
openapi.previewSpecPreview an OpenAPI document before adding it as a source
-
openapi.addSourceAdd an OpenAPI source and register its operations as tools