409 Conflict
The top-up is already settled
- Code
wallet_topup_closed- Status
409Conflict- Type
https://errors.clavian.io/wallet-topup-closed
What it means
The top-up request was already paid and credited, so it can no longer be cancelled or paid again.
What to do
Read the request again and show how it ended. A refund of wallet cash is a staff action.
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-topup-closed",
"title": "The top-up is already settled",
"status": 409,
"code": "wallet_topup_closed",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
From the OpenAPI document, every endpoint that names it among its answers:
POST /v1/organizations/{organizationId}/wallet/top-up-requests/{requestId}/cancelCancel a kiosk top-up waiting on the deskPOST /v1/organizations/{organizationId}/wallet/top-up-requests/{requestId}/completeTake a kiosk top-up’s money at the deskPOST /v1/station/wallet/top-ups/{topUpId}/cancelCancel a pending kiosk wallet top-up