409 Conflict
Pass cannot be refunded
- Code
pass_not_refundable- Status
409Conflict- Type
https://errors.clavian.io/pass-not-refundable
What it means
The holding is outside the full-refund window and pro-rata refunds are off, or it is already refunded, voided or expired, and the member has no refund override.
What to do
Void the holding if it was a mistake, or ask a member with the refund override, whose action needs a reason. Do not retry the same refund unchanged.
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-not-refundable",
"title": "Pass cannot be refunded",
"status": 409,
"code": "pass_not_refundable",
"requestId": "req_01k5znw4hmfay8vvr14d2pf2db"
}
Endpoints that return it
From the OpenAPI document, every endpoint that names it among its answers:
POST /v1/organizations/{organizationId}/passes/holdings/{holdingId}/refundRefund a pass holding