Overview
Create multipliers that determine payout amounts for winning bets. Multipliers can be configured for standard NUMERO bets or special REVENTADO payouts.Endpoint
Request Body
UUID of the lottery this multiplier belongs to
Display name for the multiplier (2-32 characters)Examples:
- “Base” (for default multiplier)
- “Base 80x”
- “REVENTADO Especial”
- “Promoción Fin de Semana”
Multiplier value (must be positive)Common values:
- Standard: 70-95
- REVENTADO: 300-1000
Payout = Bet Amount × valueXMultiplier type:
NUMERO: Standard bet multiplierREVENTADO: Extra multiplier for matching REVENTADO bets
ISO 8601 date for date-specific multipliers (null = applies always)Use case: Special multipliers for specific dates
UUID of specific sorteo (null = applies to all sorteos)Use case: REVENTADO multipliers for specific draws
Whether the multiplier is active and can be used
Multiplier Types
Base Multiplier (NUMERO)
Standard multiplier used for all NUMERO bets in the lottery.Resolution priority: Base multipliers are resolved using a 5-level hierarchy:
- User multiplier override
- Banca loteria setting
- Loteria multiplier with
name="Base" - Loteria rulesJson.baseMultiplierX
- System default (env variable)
REVENTADO Multiplier
Extra multiplier for winning REVENTADO bets (matching number + color).Sorteo-Specific REVENTADO
REVENTADO multiplier for a specific draw.Date-Specific Multiplier
Special multiplier for a specific date.Response
Indicates if the request was successful
Created multiplier
Examples
Response Example
Best Practices
Always create a Base multiplier for each lottery
Always create a Base multiplier for each lottery
Every lottery should have at least one multiplier with
name="Base" and kind="NUMERO" to serve as the default payout multiplier.This ensures consistent behavior and avoids falling back to environment defaults.Use clear naming conventions
Use clear naming conventions
Good names help identify multipliers quickly:
- Base multipliers: “Base”, “Base 80x”, “Estándar”
- REVENTADO: “REVENTADO Alto”, “REVENTADO 500x”, “REVENTADO Especial”
- Promotional: “Promoción Fin de Semana”, “Navidad 2025”
Set appliesToSorteoId for REVENTADO
Set appliesToSorteoId for REVENTADO
For special draws, create REVENTADO multipliers with
appliesToSorteoId to ensure they only apply to specific sorteos.This prevents accidental application to the wrong draw.Monitor payout exposure
Monitor payout exposure
Higher multipliers increase payout risk. Before creating high-value multipliers:
- Review current exposure for the lottery
- Set appropriate restriction rules
- Monitor sales patterns
Snapshot Immutability
Error Responses
Related Endpoints
List Multipliers
View all multipliers
Update Multiplier
Modify existing multiplier
Multiplier Overrides
Create user-specific overrides
Implementation Details
Fromsrc/api/v1/controllers/multiplier.controller.ts:6-9: