Appearance
Refund exceeds original payment
HTTP 422 refund_exceeds_original
What it means
The refund amount is more than the payment received.
What to do
Refund at most the payment's amount, or leave amount out to refund all of it.
The response
json
HTTP/1.1 422
Content-Type: application/problem+json
{
"type": "https://docs.txgold.money/errors/refund_exceeds_original",
"title": "Refund exceeds original payment",
"status": 422,
"code": "refund_exceeds_original",
"detail": "…",
"requestId": "7219af94e39d"
}Branch on code, never on title or detail: the code never changes once published, and the text may. Quote requestId to TxGold support. See all errors.
