Custom Bet is an add-on betting product that allows MTS clients to offer accumulator bets on matches that would otherwise be blocked due to the related contingencies rule.
As an extension for its customers, Unified Odds Feed provides two additional API endpoints that offer information for creating custom-tailored bets for a specific match. Custom Bet allows combining a wide range of betting markets into a single odds and probabilities calculation, much like an accumulator (a single wager made up of multiple selections).
An example of a Custom Bet could include a combination of the following markets:
This means that a combination of markets in a single bet (generally rejected because of the related contingencies rule) is possible.
Note
Custom Bet documentation is available here.
XSD files for Custom Bet can be found here.
The market overview for Custom Bet and Unified Odds Feed can be found here.
A client has to send a request using the UOF Custom Bet API to obtain a list of combinable markets and then present this list to the bettor. Once the bettor has picked the selections they wish to bet on, the client has to send another request, this time to obtain consolidated odds for the specified selections.
Once the odds are received, the client sends a Ticket Placement Request to MTS. The request should contain one or more selections of "type":"uf-custom-bet" (including the received odds), each containing up to 10 selections of "type":"uf" (for the selected markets). For more information about composing a ticket request and nesting selections of different types, please see the Ticket Placement Request description.
Instead of checking individual selection markets and odds, MTS will send a Custom Bet request with the same set of markets to Custom Bet API and the bet will be validated against the response.
Multi-Event Custom Bet
For Soccer Pre-match and Soccer Live, MTS supports Multi-Event Custom Bet functionality. This functionality allows the customer to place a custom bet containing selections from up to 5 different events (as opposed to the single-event custom bet, where all selections relate to the same event). The workflow remains the same as for the single-event custom bet. The bettor selects up to 10 selections (which can be from different events), the customer uses the UOF API and retrieves their consolidated custom bet odds, and finally sends a Ticket Placement Request containing the selections and consolidated odds
Rejection codes for failed validation cases:
Ticket example with a Custom Bet can be found here.