Rollback the ticket

The request is used in case Bet Engine made a ticket’s rollback.

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:

Sample request:

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

Sample response:

Response: 200
Doesn't require any payload

Last updated