Whapi Bets
Connector for the whapi-bets API, generated deterministically from its OpenAPI spec (endpoints, auth, and methods match the spec exactly — nothing is invented).
- Base URL:
https://sandbox.whapi.com/v2/bets - Auth:
bearer(pass your key via theapiKeyinput)
Operations
getfreebets— GET /freebets — Returns available free betsgetbethistory— GET /history — Retrieves the customer’s bet history.placecomplexbet— POST /bet/complex — Places a multiple or a complex bet.placesinglebet— POST /bet/single — Places a single betvalidatebetslip— POST /betslips — Organises the betslip when one or more selections are made. It returns a bet slicashin— PUT /{betId}/cashin — Allows a trusted application to cash in a bet (take a return on a bet) on behalf of the customer
Inputs
apiKey— your whapi-bets API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: getfreebets
apiKey: <your key>