Eko Platform Services Logo

    Error Codes

    Eko APIs report status at two levels: the transport-level HTTP status code and the business-level response_status_id inside the response envelope. A 200 OK with a non-zero response_status_id is a successful call that returned a business error — always check both.

    HTTP status codes

    CodeMeaning
    200OK — response returned by our system.
    403Forbidden — incorrect secret-key or timestamp.
    404Not Found — wrong request URL.
    405Method Not Allowed — incorrect HTTP method.
    415Unsupported Media Type — wrong Content-Type header.
    500Internal Server Error — connectivity or URL misconfiguration.

    Transaction status codes (response_status_id)

    CodeMeaning
    0Success.
    17User wallet already exists.
    302Wrong OTP.
    303OTP expired.
    327Enrollment done; verification pending.
    342Recipient already registered.
    347Insufficient balance.
    463User not found.
    585Customer already KYC approved.
    945Sender/beneficiary monthly limit exhausted.

    The response envelope

    FieldTypeMeaning
    statusnumberPrimary success indicator (0 = success).
    response_status_idnumberGranular status id — the codes above.
    messagestringHuman-readable result or error message.
    response_type_idnumberResponse type id for non-financial requests.

    Financial (money-debit) responses additionally carry tx_status (0=Success, 1=Fail, 2=Awaited, 3=Refund Pending, 4=Refunded, 5=On Hold) and txstatus_desc. When tx_status is 2 (Awaited), poll the relevant status endpoint rather than retrying the debit.