code field in the response body to indicate the outcome of every request.
Response structure
Every Nomba API response follows this structure:Code values
4XX and 5XX represent standard HTTP status codes (e.g., 400, 401, 404, 500, 503).HTTP status codes
A
2XX HTTP status generally means the HTTP request was successful against the Nomba API gateway. The response code value and data.status value (for transaction-based requests) should be treated as documented in the specific request documentation.For safety, if an undocumented code or data.status is returned for a transaction-based request, perform a requery to confirm the transaction state, or wait for a webhook before deciding. Do not refund unless the payout_refund webhook is received or the requery returns data.status = REFUND.Outflow (Transaction Status)
These appear indata.status on outflow responses (transfers, airtime, data, bills, etc.):
Nomba-to-Nomba wallet transfers (
/v2/transfers/wallet) do not return a sessionId. Use the parent or sub-account requery endpoints instead.Handling errors in code
Rate limit errors
If you exceed the rate limit, you’ll receive a429 HTTP status. See the Rate Limits page for limits per endpoint.