Skip to main content
Lobyco publishes a lottery event when an admin user draws, approves or replaces the winners of a lottery challenge in Lobyco Nexus. The events describe the draw, not one customer, so they carry no CustomerId.
You can’t receive lottery events. None of them is a Data streams type, so a subscription can’t select them, and no OutboundAPI connection is triggered by them. The schemas below are for reference only.

Field reference

Field definitions match the challenge models of the Challenges endpoints. Draw lottery winners shows these actions in Lobyco Nexus. Each one is possible only after a lottery challenge has ended, and only until its winners are approved. Lottery Winners Drawn carries no winners. WinnersCount is the sum of TotalRewards over Rewards. It is the number of prizes the draw gives out at most, not the number of customers drawn. BackupWinnersCount is the number of backup winners the admin user asked for, or 0. On a store lottery, both counts are per store. Lottery Winners Approved carries the challenge’s whole configuration in ActivityConfiguration. When a bonus reward can’t be allocated, the draw stays unapproved and Lobyco publishes nothing. On Lottery Winner Removed, WinnerToRemove is the winner taken off the list and RemoveReason is the reason the admin user gave. NewWinner is the customer drawn to take their place, or null when no customer was eligible. In both, MemberId identifies the customer. EventId joins the event’s name, an identifier and a time from the payload, written as yyyy-MM-ddTHH:mm:ss.fffffff. Each schema’s EventId description shows which identifier and which time.

Schemas

API reference

Endpoint documentation: Challenges.
Last modified on November 23, 2026