Errors

credit_load_not_refused

409: No refused refund of this load is open.

No refused refund of this load is open. Answered with 409.

What it means

The Staff Console records a bank transfer only for a Credit load whose refund Mollie refused for good and nobody has settled. The load named has none: no refund of it was asked for, it went through, or the transfer was recorded already. A second press on a transfer that was recorded is answered this way. Nothing was recorded, and nothing was taken off the balance a second time.

What to do

Read GET /staff/credit-refunds/{orgId} again; a transfer that was recorded shows as settled on the load.

The body

{
  "type": "https://tigby.eu/problems/credit_load_not_refused",
  "title": "No refused refund of this load is open",
  "status": 409,
  "detail": "…what was refused, naming this request's own values",
  "code": "credit_load_not_refused",
  "doc_url": "https://docs.tigby.eu/errors/credit_load_not_refused",
  "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.