409 Conflict
Cash needs a shift
- Code
cash_needs_shift- Status
409Conflict- Type
https://errors.clavian.io/cash-needs-shift
What it means
The venue counts its cash drawers per shift, and the person taking this cash holds no open drawer here (in a shared-drawer venue, none is open), so nobody could say which drawer it went into. Card, UPI and wallet are not affected.
What to do
Start a shift (count the float) or join the shared one, then take the cash again — or take this payment by card or UPI.
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/cash-needs-shift",
"title": "Cash needs a shift",
"status": 409,
"code": "cash_needs_shift",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
From the OpenAPI document, every endpoint that names it among its answers:
POST /v1/organizations/{organizationId}/passes/products/{productId}/sellSell a pass to a playerPOST /v1/organizations/{organizationId}/players/{playerId}/wallet/top-upsTop up a player’s wallet at the counterPOST /v1/organizations/{organizationId}/venues/{venueId}/players/{playerId}/receivable/settlePay a receivable downPOST /v1/organizations/{organizationId}/venues/{venueId}/sales/{saleId}/paymentsTake a tender against a salePOST /v1/organizations/{organizationId}/wallet/top-up-requests/{requestId}/completeTake a kiosk top-up’s money at the desk