Method | API Name | URI |
GET | TrxnEnq | /opa/TrxnEnq |
Field Name | Data Type | Size | M/O | Description & Remarks |
MerchantNo | String | 16 | M | Merchant number assigned by the system |
ReqDate | String | 14 | M | Client request date when calling the API. Format: yyyyMMddHHmmss. A time 60 minutes earlier or later than host system time will be rejected. |
CustId | String | 50 | O | Merchant’s Customer id. |
OrderId | String | 50 | O | Order Id |
TrxnId | String | 20 | O | Transaction Id |
DateStart | String | 14 | O | Transaction start date. Format: yyyyMMddHHmmss.
Left empty will be replaced with current date & 0000 hrs. |
DateEnd | String | 14 | O | Transaction end date. Format: yyyyMMddHHmmss.
Left empty will be replaced with current date & time. |
ReturnUrl | String | 300 | M | Realtime web browser or frontend direction endpoint for hosted page. If needed a direct response, left this field empty. |
Signature
| String | – | M | Calculated hash by concatenating all the values of the fields and follow the list order. |
Legend:
M: Mandatory field
C: Conditional field
O: Optional field, value can be empty but parameter must exist
Example
<HTML> <BODY> <FORM method=”post” action=”[Base URL]/opa/TrxnEnq”> <INPUT type=”hidden ” name=”MerchantNo” value=”1000000000000001″> <INPUT type=”hidden” name=”ReqDate” value=”20210101153020″> <INPUT type=”hidden” name=”CustId” value=”1993023323″> <INPUT type=”hidden” name=”OrderId” value=”OrderId123456789”> <INPUT type=”hidden” name=”TrxnId” value=”22011015322300152555”> <INPUT type=”hidden” name=”DateStart” value=”20210101000000”> <INPUT type=”hidden” name=”DateEnd” value=””> <INPUT type=”hidden” name=”ReturnUrl” value=”https://www.example.com/xxx”> <INPUT type=”hidden” name=”Signature” value=”[Calculated hash]” <INPUT type=”submit” value=”Submit” name=”Submit”> </FORM> </BODY> </HTML> |