Player Management
The Player Management APIs enable casino operators to register players for tournaments, handle rebuys, manage player sessions, and track tournament participation.Player Registration
Register Player for Tournament
Register a player for a specific tournament:JWT Token & Game Access
The JWT token contains tournament and player information needed for game platform authentication. Tokens are valid for the duration of the tournament.
crash-classic). Each game object contains:
- Game Key: Object key matches the tournament’s game slug
- jwt: Token for game platform authentication
- game_url: Direct link to launch the tournament game (includes JWT as query parameter)
Player Rebuy System
Process Player Rebuy
Handle additional entries for players during tournament:Rebuy Validation
Rebuy Conditions:- Tournament allows rebuys (
rebuy_enabled: true) - Player hasn’t reached maximum entries (
max_entries_per_player) - Tournament is in valid status for rebuys (
in_progress) - Player has sufficient balance for rebuy fee
- First entry: Entry fee (e.g., $10)
- Additional entries: Rebuy fee (e.g., $20 each)
- Total for 3 entries: 20 + 50
Advanced Rebuy Scenarios
- Multiple Entries
- Default Behavior
- Validation Errors
Request multiple entries at once:Response includes updated statistics:
Player Session Management
Get Tournament Players
Retrieve list of players registered for a tournament:Player Status Values
Remove Player
Remove a player from tournament (before tournament starts):Player Data & Statistics
Get Player Details
Retrieve detailed information about a specific player in a tournament:Error Handling
Common Player Management Errors
Duplicate Registration
Rebuy Limit Exceeded
Tournament Full
Integration Examples
Player Registration Flow
Rebuy Processing
Best Practices
Registration Validation
- Validate player eligibility before registration
- Check tournament capacity and timing
- Verify payment information before processing
Session Management
- Monitor player connection status
- Implement session timeout handling
- Track player activity for analytics
Rebuy Handling
- Validate rebuy conditions before processing
- Provide clear rebuy limit information
- Handle failed payment scenarios gracefully
Error Recovery
- Implement retry logic for failed registrations
- Provide clear error messages to players
- Log all registration attempts for debugging
Next Steps
Results & Leaderboards
Access real-time tournament rankings and final results.
Webhooks & Events
Set up real-time notifications for player and tournament events.

