Skip to content

Api endpoints

API endpoints

Detailed swagger documentation

  • POST: /bets - notify the platform about a bet being placed on your side. In the response, you will get a bet object if (the bet is successful), or the list of restrictions that aren't met and (the bet's decline), or just an error object if (placing the bet failed).
  • PATCH: /bets/{bet_id} - notify the trading platform when foreign selections have been settled or when a foreign cash-out order has been performed on the partner side.
  • DELETE: /bets - notify the trading platform that you have declined the bet that was previously accepted by the trading bet accounting system.
  • GET: /restrictions - to retrieve restrictions that can be violated when you try to place a bet with the same parameters.
  • POST: /bets/{bet_id}/cash-out-orders/calculate - to calculate cash out refund amounts for certain bets.
  • POST: /bets/{bet_id}/cash-out-orders/place - notify the platform about a cash out on the bet.
  • PATCH: /bets/{bet_id}/cash-out-orders/{cash_out_order_id}/cancel - notify the platform that you have declined the cash out that was previously accepted by the trading bet accounting system.
  • POST: /bets/{bet_id}/cash-out-orders/simplified-calculate - to calculate cash out refund amounts for certain bets. This API works identically to the regular one, but it allows you to calculate only the full cash out. It does not require any additional data in the request body, all you need is the bet ID. A typical use of it is to create a cash-out for a bet in your private back office by a support manager at the request of a player