amount_ too_ large
The fiat price is above the largest Nowgate converts.
On this page
HTTP status: 422 Unprocessable Entity. Retrying the same request unchanged fails the same way.
Why it happens
- A price in a currency is at most 1,000,000.00, so a quote never rests on one round's rates for a larger sum.
What to do
Split the order into several payments, or price it in the asset itself with amount.
Example
The response is application/problem+json. Branch on code, never on title or detail. See errors for the format.
{
"type": "https://docs.nowgate.io/errors/amount_too_large",
"title": "Unprocessable Entity",
"status": 422,
"detail": "What exactly was wrong, in a sentence.",
"instance": "/v1/payments",
"code": "amount_too_large",
"request_id": "req_01jc3xb1n6f0q2w8e4r7t5y9v3"
}