ClavianAPI errors
All error codes

409 Conflict

The wallet is not enabled here

Code
wallet_disabled
Status
409 Conflict
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