Errors
invalid_refund_reason
400: Not a refund reason.
Not a refund reason. Answered with 400.
What it means
A Staff Console refund of a Credit load named a reason that is not one of its codes: withdrawal (the consumer withdrew the purchase within the 14 days), loaded_in_error (a load the customer did not mean to make) or goodwill (Tigby's support refunds it on its own judgment). It is kept on a trail that outlives the Org, so it takes no words of its own.
What to do
Send reason as one of withdrawal, loaded_in_error or goodwill. Nothing was refunded.
The body
{
"type": "https://tigby.eu/problems/invalid_refund_reason",
"title": "Not a refund reason",
"status": 400,
"detail": "…what was refused, naming this request's own values",
"code": "invalid_refund_reason",
"doc_url": "https://docs.tigby.eu/errors/invalid_refund_reason",
"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.