409 Conflict
The purchase is already applied
- Code
pass_purchase_closed- Status
409Conflict- Type
https://errors.clavian.io/pass-purchase-closed
What it means
The pass purchase is paid and its pass is issued, so it can no longer be cancelled. A refund is a staff action on the order.
What to do
Ask staff at the front desk to refund the order if it was a mistake.
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/pass-purchase-closed",
"title": "The purchase is already applied",
"status": 409,
"code": "pass_purchase_closed",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
From the OpenAPI document, every endpoint that names it among its answers:
POST /v1/station/passes/purchases/{purchaseId}/cancelCancel a pending kiosk pass purchase