Status & Error Codes

Common HTTP Response Codes

HTTP Response CodeTypeDescription
200OKResponse returned by our system. See status, tx_status, and message parameters in the response to understand the correct status.
403ForbiddenIt is usually due to sending an incorrect secret-key or timestamp. Please check the generation code in the Authentication section.
Also make sure to use your auth_key in the generation code (not the developer key).
404Not FoundThis error occurs when you are passing the wrong request URL, please make sure to check the request
URL before hitting the request.
Production Base URL: https://api.eko.in:25002/ekoicici/
Staging Base URL: https://staging.eko.in/ekoapi/
405Method Not AllowedCheck the correct HTTP request method of the APIs from API Reference, for example, GET, POST, PUT or DELETE.
415Unsupported Media TypeCheck the Content-Type of the API from its respective API Reference page and check if you are using the same content-type or not. Example: Content-Type = application/x-www-form-urlencoded
500Internal Server ErrorIt usually implies that the API is not able to connect to our servers. For staging, remove the port 25004 from the URL. And, in production re-check your URL and HTTP method.

Common Error Messages

messageResolution
No mapping rule matchedIn the URL swap v1 with v2 or vice-versa. If it still does not work then send the request and URL at [email protected].
- Agent not allowed - Agent not allowed to do this transaction - Customer not allowedCheck if the service is ACTIVATED for the user_code. If not then, activate the service for the merchant.
No Key for ResponsePlease re-check the value of the request parameters. It is either missing or the format is incorrect.
Kindly use your production keyCheck if you're using the correct developer key (credentials for staging cannot be used in production).

Response Status Codes

For all financial transactions, status = 0 should be treated as successful else fail and the current state of the transaction can be retrieved from tx_status and txstatus_desc parameter.

For all non-financial requests, you may need to consider both status and response_type_id parameters.

statusDescription
0Success
463User not found
327Enrollment done. Verification pending
17User wallet already exists
31Agent can not be registered
132Sender name should only contain letters
302Wrong OTP
303OTP expired
342Recipient already registered
145Recipient mobile number should be numeric
140Recipient mobile number should be 10 digit
131Recipient name should only contain letters
122Recipient name length should be in between 1 and 50
39Max recipient limit reached
41Wrong IFSC
536Invalid recipient type format
537Invalid recipient type length
44/45Incomplete IFSC Code
48Recipient bank not found
102Invalid Account number length
136Please provide valid ifsc format
508Invalid IFSC for the selected bank
521IFSC not found out in the system
313Recipient registration not done
317NEFT not allowed
53IMPS transaction not allowed
55Error from NPCI
460Invalid channel
319Invalid Sender/Initiator
314Failed! Monthly limit exceeds
350Verification failed. Recipient name not found.
344IMPS is not available in this bank
46Invalid account details
168TID does not exist
1237ID proof number already exists in the system
585Customer already KYC Approved
347Insufficient balance
945Sender /Beneficiary limit has been exhausted for this month
544Transaction not processed.Bank is not available now.

Possible values of parameter tx_status:

tx_statustxstatus_desc
0Success
1Fail
2Response Awaited/Initiated (in case of NEFT)
3Refund Pending
4Refunded
5On Hold ( Transaction Inquiry Required)