What are Multipliers?
A multiplier (represented asmultiplierX or finalMultiplierX) is a numeric value that determines the payout for a winning bet:
- Bet Amount: 100 colones
- Multiplier: 80
- Payout if win: 100 × 80 = 8,000 colones
Multiplier Types
Base Multiplier
Applied to standard NUMERO bets. Resolved hierarchically with 5-level priority.
REVENTADO Multiplier
Applied when a REVENTADO bet wins. Configured per sorteo when evaluating results.
Base Multiplier Resolution
When a NUMERO bet is placed, the base multiplier is resolved using a 5-level priority chain (first match wins):The resolved multiplier is frozen as
finalMultiplierX in the jugada at ticket creation time, ensuring payout consistency even if multipliers change later.Loteria Multipliers
Loteria multipliers are configured per lottery and can have different types:Creating a Loteria Multiplier
Creating a REVENTADO Multiplier
Display name for the multiplier (e.g., “Base”, “REVENTADO Especial”)
Type of multiplier:
NUMERO or REVENTADOMultiplier value (e.g., 80, 500)
Whether the multiplier is active (default: true)
Optional: Restrict to a specific sorteo (used for REVENTADO)
User Multiplier Overrides
Admins can set custom multipliers for specific users and loterias:User overrides take highest priority in the resolution chain, allowing you to give specific vendedores better multipliers as incentives.
REVENTADO Multipliers
REVENTADO is a special bet type that can win an extra multiplier if the winning number matches the bet number. The REVENTADO multiplier is applied when evaluating a sorteo:Evaluating a Sorteo with REVENTADO
- All NUMERO bets on number “42” are marked as winners
- All REVENTADO bets on number “42” with matching color receive the extra multiplier
- The
extraMultiplierXvalue is snapshot to the sorteo and jugadas - Payouts are calculated:
- NUMERO:
amount × baseMultiplierX - REVENTADO (winning):
amount × reventadoMultiplierX
- NUMERO:
REVENTADO Validation
Multiplier Snapshot Immutability
Multipliers are captured as immutable snapshots at critical moments:At Ticket Creation (NUMERO)
At Sorteo Evaluation (REVENTADO)
Listing Multipliers
Updating Multipliers
Only ADMIN users can update multipliers:Updating a multiplier does not affect existing tickets. Only new tickets created after the update will use the new value.
Configuration in Loteria Rules
You can set a default multiplier in the loteria’srulesJson:
LoteriaMultiplier with name="Base" exists.
Environment Configuration
Set a system-wide default multiplier:Best Practices
Always create a Base multiplier for each loteria
Always create a Base multiplier for each loteria
Ensure every loteria has at least one
LoteriaMultiplier with name="Base" and kind="NUMERO" to avoid falling back to environment defaults.Use user overrides sparingly
Use user overrides sparingly
User multiplier overrides are powerful but can create inconsistencies. Use them for:
- Promotional incentives
- VIP vendedores
- Testing new multiplier values
Set REVENTADO multipliers per sorteo
Set REVENTADO multipliers per sorteo
For special draws, create REVENTADO multipliers with
appliesToSorteoId to ensure they only apply to specific sorteos:Monitor payout exposure
Monitor payout exposure
Higher multipliers increase payout exposure. Use the exposure analytics endpoint to monitor risk:
Related Resources
Sorteo Evaluation
How to evaluate sorteos with REVENTADO
Ticket Creation
How multipliers are applied to tickets
Exposure Analytics
Monitor payout risk by multiplier