# AMOUNT_OUT_OF_RANGE

> HTTP 422. The amount is below what we will invoice, outside a payment link's own bounds, or outside what the chosen route will carry. There is no maximum invoice amount.

The amount is below what we will invoice, outside a payment link's own bounds, or outside what
the chosen route will carry. There is no maximum invoice amount.


- **At invoice creation:** below $1. The error's `details` carries `min`.
- **On a payment link where the customer chooses the amount:** the amount they chose is outside
  the link's smallest and largest amounts. `details.min` and `details.max` are the link's bounds.
  When you make such a link, the smallest amount must be at least $1, the largest at least the
  smallest, and the suggested amounts must sit between them.
- **At payment:** outside what the provider will quote for that asset at that size, for example
  below its minimum, which is a cost floor rather than a policy.

## What to do

- For a small amount, price it at $1 or more.
- On a payment link, ask the customer for an amount between `details.min` and `details.max`.
- At payment time, offer the customer another asset. The options endpoint hides assets whose
  minimum exceeds the invoice amount, so this is rare in a checkout built on it.


## Example response

```json
{ "error": { "code": "AMOUNT_OUT_OF_RANGE", "message": "…" } }
```

---

Source: https://intents.fi/docs/errors/AMOUNT_OUT_OF_RANGE · The whole corpus: https://intents.fi/docs/llms-full.txt
