Allows a trusted application to cash in a bet (take a return on a bet) on behalf of the customer
PUT
/{betId}/cashin
Allows 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.
Request
Path Params
Query Params
Header Params
Responses
🟢200Success
application/json
Body
🟠400Errors
🟠409Errors
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request PUT 'https://sandbox.whapi.com/v2/bets//cashin?cashInValue=&cashinBetDelayId=' \
--header'apiKey;' \
--header'apiSecret;' \
--header'apiTicket;'