Finish

This endpoint is used to inform players that one tournament has finished and calculate winnings.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

When the Cloud Task calls the endpoint

  • Blocking accepting more insights on the tournament
  • Calculate winners based on participants
  • Distribute winnings to the balances
  • Deliver socket message tournament_finish on room tournamentwith tournament information.

Distribution winners algorithm

  • We start with winning amount
  • Each reward get half of the left winning amount round up to dozens
  • When winning amount end, latest player get remaining amount
  • When players end, latest player get remaining amount
Query Params
string
Defaults to 61a0d734b734eaafc1db0ce9

24 characters id

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json