Custom Bet
Custom Bet is an add-on betting product which 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 which offer information for creating custom-tailored bets for a specific match. Custom Bet allows combining a wide range of betting markets into one 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:
Liverpool to win the match
Liverpool to score the most goals in the first half
Liverpool to score the most goals in the second half
Liverpool to win corner 1x2
Total over 2.5
This means a combination of markets in a single bet (generally rejected because of the related contingencies rule) is possible.
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.
Ticket Acceptance Flow
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 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:
-440: for cases where MTS does not receive a response from Custom Bet API (the customer does not have an active Custom Bet package, markets are no longer active, the event is no longer active, etc.),
-441: for cases where the odds received in the ticket are higher than those received in the repeated Custom Bet request response.
-442: external Custom Bet API service is not available
Ticket example with a Custom Bet can be found here MTS - Custom Bet ticket example.
Last updated
Was this helpful?