Cancel bet

If necessary, and after authorization from CMS Wager, the client may cancel the bet within certain limits, which are defined during the setup phase. The method is not mandatory.

Example

POST https://testapi.cmswager.com/v1/bet/cancel

POST https://testapi.cmswager.com/v1/bet/cancel

Example request:

{
  "ticketId": 486
}

Example response:

Response code 200

{  
  "isSuccess": true
}

Example Failure Response

Response code 406

{  
  "isSuccess": true,
  "error" : "error message"
}

Last updated