PaymonetraDocs

Bill errors

Every error a bill payment can answer, and the one answer that is not an error.

The usual envelope: {"error": {"type", "message", "field"?}}.

  • 403 bills_not_enabled Live key, not switched on for this business.
  • 403 ip_not_allowed Live purchase or check from an unlisted IP.
  • 403 account_restricted The business cannot spend right now.
  • 409 busy Another payment from this business is going through; retry with the same reference.
  • 409 price_changed International quote moved; new amount_ngn included.
  • 422 invalid_request A field is wrong; see field.
  • 422 not_confirmed Smartcard or meter could not be confirmed.
  • 422 insufficient_balance Not enough available balance.
  • 422 daily_limit Past today's API bill limit.
  • 503 service_unavailable Service paused, or not offered over the API yet.
  • 503 rate_unavailable International: dollar rate being updated.

A processing purchase is not an error. It comes back as the bill, with 201.