A national lottery moved into digital form · Codelabs
RU|EN|KK
← All cases
CASE 08Lottery platform

A national lottery moved into digital form

Bets are taken both online and at ground cash desks with paper receipts, while the results come from official draws. We wrote the result parsing, a payout calculation that cannot run twice, five bet types with odds up to 25,000 and a jackpot that funds itself. Partners get all of it as a separate module with its own integration kit.

LotteryPaymentsCash desks

How it works

Official draw results are parsed by our own parsers. The payout calculation is idempotent: the join to a draw goes by content hash and statuses switch atomically, so a payout cannot be made twice.

Five bet types with odds up to x25000, and the odds are configurable for each cash outlet separately. The progressive jackpot is self-funding: it fills from turnover rather than from an outside pocket.

The system works both online and across an offline network of ground cash desks with paper receipts. Partners receive it as an embeddable module with a full integration kit.

In numbers

  • ·online and an offline network of cash desks
  • ·five bet types, odds up to x25000
  • ·double payouts ruled out at settlement level
  • ·shipped to partners as an embeddable module

Describe your task — we will tell you what part of it we have already built