Status Codes

HTTP and transaction status codes returned by the Cloud Middleware API.

Standard HTTP and application-specific status codes used throughout the Cloud Middleware API.

📘

Two different layers — don't conflate them

The codes on this page are the Cloud API's own envelope: the HTTP status of the API call, and the transaction lifecycle status (PROCESS / SUCCESS / FAILED / EXPIRED). The actual terminal result of a transaction — the approval or specific decline reason — arrives separately in the webhook's responseCode field and follows the canonical Transaction Response Codes (mada scheme + Nami ECR codes). For example, a call can be HTTP 200 and lifecycle SUCCESS while the terminal responseCode is 116 (Not sufficient funds).

HTTP status codes

CodeStatusDescription
200OKRequest successful
400Bad RequestInvalid request parameters
401UnauthorizedAuthentication failed or token expired
404Not FoundResource not found
500Server ErrorInternal server error

Transaction status codes

CodeStatusDescription
1FAILEDTransaction failed (e.g. timeout, no ACK from terminal)
100PROCESSTransaction is being processed
200SUCCESSTransaction completed successfully
400FAILEDTransaction failed
401EXPIREDSession or token expired

📘

Terminal result codes live in the canonical reference

These five lifecycle values are the API's transaction states, not the terminal's result. To interpret why a transaction succeeded or declined, read the webhook responseCode against Transaction Response Codes. Note 400 and 401 mean different things as HTTP codes vs lifecycle codes here, so always read them in context.