Cashout Integration

This section of the document outlines the integration process for our Cashout feature. With risk management flow enabled, users can subscribe to a Cashout feed stream. This stream provides real-time updates regarding potential changes in the cashout amount for each bet the user follows. It also indicates whether cashout is currently available and the amount that can be cashed out. Updates are sent whenever Odds, Markets, Selection, or Event changes occur.

The overall flow is as follows:

  1. You must open the feed stream via WebSocket.

  2. You can then subscribe or unsubscribe bets from this stream, initiating the receipt of updates for those bets.

  3. When a user wishes to cash out a bet, you have to submit a cashout request. If the request is valid, the bet will be settled as cashed out in our system.

Last updated