Skip to content
Search documentation/

Invalid amount

invalid_amountHTTP 400Don't retry

What happened

The amount is missing or isn't a positive whole number of minor units.

What to do next

Send the amount once, as a positive whole number in minor units (cents).

Can you retry?

Don't retry. Don't repeat this request. Fix what the response describes, or stop and report it. retry: never

Who acts

You: the software that sent the request. who_acts: caller

Don't

  • Don't send the same request again unchanged; it will be refused the same way. repeat_unchanged

Example response

Sent as application/problem+json. The detail describes the particular request; keep request_id for support.

{
  "type": "https://docs.perionpayments.com/problems/invalid-amount",
  "title": "Invalid amount",
  "status": 400,
  "code": "invalid_amount",
  "detail": "The amount is missing or isn't a positive whole number of minor units.",
  "request_id": "req_8YkQ2rL0ZtW4",
  "retryable": false,
  "retry": "never",
  "who_acts": "caller",
  "next_step": "Send the amount once, as a positive whole number in minor units (cents).",
  "do_not": [
    "repeat_unchanged"
  ]
}

All problem codes · Reading problem responses