Skip to main content

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:
Response:

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.
Game Access Structure: Game access information is keyed by the game slug (e.g., crash-classic). Each game object contains:
Usage:
  • 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)
JWT Payload Structure:

Player Rebuy System

Process Player Rebuy

Handle additional entries for players during tournament:
Response:

Rebuy Validation

Rebuys are subject to tournament configuration limits and timing restrictions. The API will validate all rebuy attempts.
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
Multiple Entry System: Players can purchase additional tournament entries up to the configured limit. Each entry acts as a separate “life” or chance in the tournament. Rebuy Fee Calculation:
  • First entry: Entry fee (e.g., $10)
  • Additional entries: Rebuy fee (e.g., $20 each)
  • Total for 3 entries: 10+10 + 20 + 20=20 = 50

Advanced Rebuy Scenarios

Request multiple entries at once:
Response includes updated statistics:

Player Session Management

Get Tournament Players

Retrieve list of players registered for a tournament:
Response:

Player Status Values

Remove Player

Remove a player from tournament (before tournament starts):
Response:

Player Data & Statistics

Get Player Details

Retrieve detailed information about a specific player in a tournament:
Response:

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.