Void Recalculation
The Void Bet Recalculation API allows operators to continue settling a Bet Builder ticket when one selection is declared void, instead of voiding and refunding the entire bet. When the bet is placed, this endpoint returns the original calculation together with precomputed odds for every possible single-leg void scenario. If one selection is later voided, the client simply retrieves the corresponding precomputed odds and uses them to settle the remaining selections.
Benefits
Supports single-leg void scenarios. • Reduces unnecessary bet refunds. • Improves the customer betting experience.
Limitations • Only one voided selection is supported. • Multiple voided selections are not supported. • If the Bet Builder contains only 2 selections, no precomputed void combinations are returned. If one selection becomes void, simply use the original odds of the remaining selection.
Integrations steps
Call the existing Bet Builder Calculation API to calculate the Bet Builder odds.
When the punter places the bet, call the new Void Recalculation API using the same selections to get the latest price with the precomputed void combination.
Store the returned precomputed void combinations together with the original bet.
If one selection is later declared void, retrieve the matching precomputed void combination.
Use the returned odds to settle the remaining valid selections.
Last updated
Was this helpful?