> For the complete documentation index, see [llms.txt](https://docs.odds88.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.odds88.io/integration-process/recommended-integration-flow/optional-features/cashout-integration/endpoint.md).

# Endpoint

**Endpoint:**

{% content-ref url="/pages/ivn3IWuh7XK7eWavHRnp" %}
[Cashout Feed](/odds88-client-api/odds88-feeds/cashout-feed.md)
{% endcontent-ref %}

Revision is **UNIX** timestamp seconds, in case you need to recover the availability of cashout and price value for existing bets. It can return data for max 3 days in past. But it will only return data for the bets that are in the subscription at the moment of connection.

{% hint style="warning" %}
The endpoint is rate-limited.
{% endhint %}

\
Stream message with cashout amount for a single bet:

```javascript
{
    playerId: "player1",
    betId: "id1",
    status: 1, //enum value, Available = 1, NotSupported = 2, CashedOut = 3
    reason: null, //string, reason if cashout is not available
    amount: {
        localAmount: 40000,
        precision: 4,
        currency: "USD",
    }
    timestamp: "2025-07-16T14:30:00Z",
}

```

### **Heartbeat Support** <a href="#id-5.-heartbeat-support" id="id-5.-heartbeat-support"></a>

The new endpoint supports heartbeat messages so it's possible to differentiate idle periods from technical issues.

**Heartbeat Timing**

* Heartbeat every **10 seconds**
* Expected flow: Delta **or** Heartbeat message

**Connection Timeout Rules**\
If there are no messages **or** heartbeat messages received for 30 seconds then it's required to close current connection and reconnect using **LastUpdatedTime** from last processed message.\
Our system closes stale connections automatically.
