Get the status of a Money Transfer transaction basis Eko TID or client-reference-ID
GET
/transactions/{id}
eg: /transactions/12212118In case you are doing the transaction enquiry using your client_ref_id
The value of the id parameter in URL will be client_ref_id:{client_ref_id}So the URL will change to
https://staging.eko.in:25004/ekoapi/v1/transactions/client_ref_id:{client_ref_id}
eg: /transactions/client_ref_id:12212118
Transaction Timeout
A transaction can be timeout due to multiple reasons where partner bank responses could be slow or due to network connectivity, delayed or no response may occur.
In such cases transaction should not be treated as declined or failed. Ideally, it should be inquired using Transaction Inquiry API by passing partner reference number i.e. client_ref_id.
It is therefore recommended to use UNIQUE client_ref_id to fetch the status of the transaction accurately.
Possible values of parameter tx_status
tx_status | Description |
---|---|
0 | Success |
1 | Fail |
2 | Response Awaited/Initiated (in case of NEFT) |
3 | Refund Pending |
4 | Refunded |
5 | Hold (Transaction Inquiry Required) |