Get the status of a transaction using Eko TID or client_ref_id
Examples
To check the status of a transaction using TID 12345, use following endpoint:
/tools/reference/transaction/12345
In case you have not received Eko's TID (say, due to network timeout), you can enquire about the status of a transaction using your own unique reference number (say, 567890) by using the following endpoint format:
/tools/reference/transaction/567890
Transaction Timeout
A transaction can 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 your own unique reference number i.e. client_ref_id.
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) |