402 Payment Required
Nothing to fund the session
- Code
no_funding- Status
402Payment Required- Type
https://errors.clavian.io/no-funding
What it means
Nothing can pay for the session: no pass, wallet balance or membership time the player holds is valid on this station, and neither grace time nor postpaid applies.
What to do
Offer what would fund it, such as a pass for this station class, a wallet top-up or a membership, or send the player to staff. Start the session again once one is in place.
Example
The API answers with status 402 and this body, as application/problem+json. A detail may be added, saying what went wrong this time; it is for people, and changes.
{
"type": "https://errors.clavian.io/no-funding",
"title": "Nothing to fund the session",
"status": 402,
"code": "no_funding",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
From the OpenAPI document, every endpoint that names it among its answers:
POST /v1/organizations/{organizationId}/venues/{venueId}/sessionsAssign a player to a stationPOST /v1/station/sessionsStart a session from the PC the player signed in on