Skip to main content
Merchant API errors use a consistent JSON shape:

HTTP statuses

Error reasons

New reasons may be added over time. Treat unknown reasons by their HTTP status.

Transaction failure reasons

API errors above are returned when a request is refused. A payin, payout, or transfer that was accepted can still fail later, at the payment network. The reason it failed is returned in history[].reason on the entry with status failed. In the dashboard, it appears on the transaction and, for bulk payouts, in the Failure reason column. Failure reasons are written for people. They never name the underlying payment provider and never include raw provider responses. Show them to your operators or customers as they are, but do not parse them: the wording can change. Branch on the transaction status instead. Some failures come straight from the operator in plain language, for example an invalid OTP code, and are shown as the operator wrote them. Other history[].reason values describe progress rather than a failure:

Rate limits

Each API key can make 600 requests per minute. Every authenticated response includes: When you exceed the limit, the API returns 429 Too Many Requests with a Retry-After header in seconds. Wait that long before retrying. Contact Bumxpress if you need a higher limit.

Handling recommendations

  • Branch on reason, not on message.
  • Retry only when retryable is true, with the same Idempotency-Key and an increasing delay.
  • After a timeout on POST /payouts, retry with the same Idempotency-Key or look the payout up by merchant_reference before creating a new one.
  • Do not retry authentication errors until credentials have been fixed.
  • Store error responses with your internal payment record for reconciliation and support.
  • For failed transactions, show history[].reason as it is and branch on status, not on the reason text.
Last modified on November 24, 2026