Concluding bets
POST
{clientApi}/ticket/result
When a bet is concluded, a request will be sent to the client system with the odds and ticket updated status (see appendix).
The received request may contain a deposit amount. In this case the amount should be added to user balance.
"Concluding bet" request will be sent only for tickets with status "0" (in running). If the ticket status on client side is different from "0" please response with failiure "406" code. This means that a previous "Reopening concluded bet" message was sent and has not been processed
Example request
Example Success Response
Response code
200
If the request is successfully pocessed in client system and the deposit amount (if present) was added to user balance, a 200 response should be returned
Example Failure Response
Response code
406
If there is any error in client system, a 406 response cose should be returned
Last updated