# Rollback the ticket

The request is used in case Bet Engine made a ticket’s rollback.&#x20;

Rollback happens when the ticket is originally set one way, but later (can be minutes or sometimes even days after) the results are changed and the ticket is set differently. A ticket’s rollback means that ticket status changes to the previous ticket status (open) and then it can be set to the opposite. After successful response Bet Engine should make a `ticket_win` / `ticket_lost` / `ticket_void` request.

Request fields:

<table><thead><tr><th width="129">Attribute</th><th width="117">Data Type</th><th>Description</th></tr></thead><tbody><tr><td>operator</td><td>string</td><td>Name of the operator as registered on the system</td></tr><tr><td>ticket_id</td><td>string</td><td>Ticket id</td></tr><tr><td>reason</td><td>string</td><td>Reason for <code>rollback</code> action</td></tr></tbody></table>

Sample request:

```json
[
    "action": "ticket_rollback", 
    "data": {
        "operator": "operator-code",
        "ticket_id": "1330556611374148608",
        "reason": "some-reason"
    }
}
```

Sample response:

```
Response: 200
Doesn't require any payload
```
