409 Conflict
The wallet is not enabled here
- Code
wallet_disabled- Status
409Conflict- Type
https://errors.clavian.io/wallet-disabled
What it means
The organisation has not turned its wallet on (wallet.enabled), so it cannot be topped up or spent from.
What to do
Enable the wallet in the organisation’s settings before topping up or spending, or take payment another way.
Example
The API answers with status 409 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/wallet-disabled",
"title": "The wallet is not enabled here",
"status": 409,
"code": "wallet_disabled",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
16 endpoints in the OpenAPI document name it among their answers.
All 16 endpoints
POST /v1/hq/organizations/{organizationId}/migrations/{migrationId}/importImport the next batches of the runPOST /v1/me/venues/{venueId}/passes/{productId}/purchaseBuy a pass from your walletPOST /v1/me/venues/{venueId}/wallet/online-top-upsTop your wallet up online at a caféPOST /v1/organizations/{organizationId}/players/{playerId}/wallet/adjustmentsCredit or debit a player’s wallet cashPOST /v1/organizations/{organizationId}/players/{playerId}/wallet/online-top-upsTop up a player’s wallet onlinePOST /v1/organizations/{organizationId}/players/{playerId}/wallet/refundsRefund a player’s wallet cash to a tenderPOST /v1/organizations/{organizationId}/players/{playerId}/wallet/top-upsTop up a player’s wallet at the counterPOST /v1/organizations/{organizationId}/venues/{venueId}/sales/{saleId}/paymentsTake a tender against a salePOST /v1/organizations/{organizationId}/venues/{venueId}/sales/{saleId}/refundsRefund a salePOST /v1/organizations/{organizationId}/venues/{venueId}/sales/{saleId}/refunds/{refundId}/approveApprove a pending refundPOST /v1/organizations/{organizationId}/wallet/top-up-requests/{requestId}/completeTake a kiosk top-up’s money at the deskPOST /v1/station/food-ordersOrder food from the PCPOST /v1/station/passes/{productId}/purchaseBuy a pass from the kioskPOST /v1/station/sessions/current/use-walletKeep playing with the walletPUT /v1/station/sessions/current/wallet-useThe player turns their wallet on or off for play timePOST /v1/station/wallet/top-upsAsk for a wallet top-up from the kiosk