Errors

credit_load_not_found

404: No such Credit load.

No such Credit load. Answered with 404.

What it means

A Staff Console refund, or a bank transfer recorded for a load, named a payment that is not a settled Credit load of the Org: another Org's, a Plan payment, one still open, or no payment at all. Nothing was refunded.

What to do

GET /staff/credit-refunds/{orgId} lists the Org's settled loads with their ids.

The body

{
  "type": "https://tigby.eu/problems/credit_load_not_found",
  "title": "No such Credit load",
  "status": 404,
  "detail": "…what was refused, naming this request's own values",
  "code": "credit_load_not_found",
  "doc_url": "https://docs.tigby.eu/errors/credit_load_not_found",
  "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.