Errors
credit_load_spent
409: Nothing of this load is left to refund.
Nothing of this load is left to refund. Answered with 409.
What it means
A Staff Console refund, or a bank transfer recorded for a load, named a load that was paid back already, or an Org whose balance holds nothing: what was consumed is not refunded. A second press on a refund that went through is answered this way. Nothing was refunded.
What to do
Read GET /staff/credit-refunds/{orgId} again; a refund that went through shows on the load.
The body
{
"type": "https://tigby.eu/problems/credit_load_spent",
"title": "Nothing of this load is left to refund",
"status": 409,
"detail": "…what was refused, naming this request's own values",
"code": "credit_load_spent",
"doc_url": "https://docs.tigby.eu/errors/credit_load_spent",
"agent_hint": "…the next step, for software"
}Branch on code. The detail names this request's own Handle, id or limit and is not part of the contract.