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 inhistory[].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 onmessage. - Retry only when
retryableistrue, with the sameIdempotency-Keyand an increasing delay. - After a timeout on
POST /payouts, retry with the sameIdempotency-Keyor look the payout up bymerchant_referencebefore 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[].reasonas it is and branch onstatus, not on the reason text.