NowgateDocs

amount_too_small

The amount is below the asset's minimum payment.

On this page

HTTP status: 422 Unprocessable Entity. Retrying the same request unchanged fails the same way.

Why it happens

  • Every asset has a minimum, so network fees can't eat a payment. The detail states it.

What to do

Ask for at least the minimum. GET /v1/assets returns each asset's min_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_small",
  "title": "Unprocessable Entity",
  "status": 422,
  "detail": "What exactly was wrong, in a sentence.",
  "instance": "/v1/payments",
  "code": "amount_too_small",
  "request_id": "req_01jc3xb1n6f0q2w8e4r7t5y9v3"
}