Skip to content

BAD_AMOUNT

HTTP 400 — Bad amount

amount_minor is not an integer, is not a whole number of shillings (a multiple of 100), or is outside TZS 100–20,000,000.

What to do

Send the amount in minor units: TZS 15,000 is 1500000.

Can I retry?

Not unchanged. Something in the request has to change first — retrying as-is gets the same answer.

The body you received

json
{
  "error": {
    "code": "BAD_AMOUNT",
    "doc": "https://docs.pamopay.co/errors/BAD_AMOUNT",
    "request_id": "req_5f3a9c2b1d4e6f7a8b9c0d1e"
  }
}

Quote request_id when you write to us; it finds the call without anybody grepping by timestamp.

All error codes

Every code, scope and route on this site is rendered from the API's own source.