Field Name | Data Type | Size | M/O | Description & Remarks |
RespCode | String | 2 | M | Response code |
RespMessage | String | 500 | M | Response message |
Api | String | 30 | M | API name |
MerchantNo | String | 16 | M | Merchant no |
OrderId | String | 25 | M | Original Order Id. It should be the same value when calling Payment API. |
TrxnAmount
| String | 10 | M | Original Transaction amount. Up to 2 decimals and no thousand separators. Example: “10”, “10.5”, “10.50”. |
TrxnId | String | 20 | M | Transaction ID getting from the approved payment. |
RefundId | String | 20 | M | Refund ID, |
TrxnDate | String | 14 | O | Payment Date. Format: yyyyMMddHHmmss. |
StatusCode | String | 1 | O | Transaction Status code |
StatusDesc | String | 50 | O | Transaction Status description |
TrxnIdNew | String | 20 | O | Refund Transaction ID |
AmtRemain | String |
| O | Total remaining paid amount after refund. Up to 2 decimals and no thousand separators. Example: “10”, “10.5”, “10.50” |
AmtRefunded | String |
| O | Total refunded amount. Up to 2 decimals and no thousand separators. Example: “10”, “10.5”, “10.50” |
Signature
| String | – | M | Calculated hash by concatenating all the values of the fields and follow the list order. |
Example
<% RespCode = Request.Form(“RespCode”) RespMessage = Request.Form(“RespMessage”) Api = Request.Form(“Api”) MerchantNo = Request.Form(“MerchantNo”) OrderId = Request.Form(“OrderId”) TrxnAmount = Request.Form(“TrxnAmount”) TrxnId = Request.Form(“TrxnId”) RefundId = Request.Form(“RefundId”) TrxnDate = Request.Form(“TrxnDate”) StatusCode = Request.Form(“StatusCode”) StatusDesc = Request.Form(“StatusDesc”) TrxnIdNew = Request.Form(“TrxnIdNew”) AmtRemain = Request.Form(“AmtRemain”) AmtRefunded = Request.Form(“AmtRefunded”) Signature = Request.Form(“Signature”) %> <Add your programming code here>
|