Appearance
Amount must match the payment request
HTTP 422 amount_must_match_request
What it means
A payment that names a paymentRequestId must be for exactly the requested amount.
What to do
Use the request's amount.
The response
json
HTTP/1.1 422
Content-Type: application/problem+json
{
"type": "https://docs.txgold.money/errors/amount_must_match_request",
"title": "Amount must match the payment request",
"status": 422,
"code": "amount_must_match_request",
"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.
