Skip to content

Your deposit on a tournament

GET
/api/tournaments/{id}/organizer-fee
curl --request GET \
--url https://foxleague.ai/api/tournaments/1/organizer-fee \
--header 'Authorization: Bearer <token>'

Your calendar deposit and private fee on this tournament while they are held, with the moment the free cancel ends. held is false when you hold none here.

id
required
integer format: int64

Tournament id.

Success or a refusal: read success (the refusals are in the description).

Media type application/json
object
code

A machine-readable reason next to error, set only where the caller must act differently. tx_pending: the payment was not refused but could not be verified yet; keep the transaction hash and confirm again with the same hash, never pay twice.

string | null
data

The answer. Present when success is true.

object
deposit_foxsy
required

Your calendar deposit on this tournament, in whole FOXSY.

integer format: int64
free_cancel_open
required

Whether a cancel now returns the deposit.

boolean
free_cancel_until

Until this moment (RFC 3339, UTC) a cancel returns the deposit.

string | null
held
required

Whether this wallet holds a deposit here; false means the rest says nothing.

boolean
no_free_cancel
required

This tournament never had a free cancellation.

boolean
private_fee_foxsy
required

Your private tournament fee on it, in whole FOXSY.

integer format: int64
error

Why the request was refused, in plain words. Present when success is false.

string | null
success
required

true when the request did what it asked. false is a refusal: read error.

boolean
Example
{
"data": {
"held": true,
"deposit_foxsy": 700,
"private_fee_foxsy": 420,
"free_cancel_until": "2026-11-10T15:42:00Z",
"free_cancel_open": false,
"no_free_cancel": false
},
"success": true
}

No valid session. The body is plain text: Missing Authorization header, Invalid Authorization format, Invalid session token or Session expired or invalid. Sign in again.

Media type text/plain
string
Example
Session expired or invalid