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 | Unique merchant transaction number / order Id |
TrxnAmount | String | 10 | M | Transaction amount. Up to 2 decimals and no thousand separators. Example: “10”, “10.5”, “10.50” |
PymtMethod | String | 100 | O | Payment method being used to make the payment. Example: Credit / Debit Cards, FPX, e-Wallet – Boost, e-Wallet – AliPay and etc |
TrxnId | String | 20 | O | Payment Gateway Transaction ID. This ID is unique and could be used for Void and refund. |
TrxnDate | String | 14 | O | Payment Date. Format: yyyyMMddHHmmss. |
BankAccName | String | 50 | O | Customer selected bank’s account name. For FPX payment method. |
BankBranch | String | 30 | O | Customer selected bank’s branch code that customer opened. For FPX payment method. |
MaskedCardNo | String | 16 | O | Masked Card Number. The visibility of this field depends on the Merchant Account settings. Format: 123456xxxxxx7890 |
StatusCode | String | 1 | O | Payment status code |
StatusDesc | String | 50 | O | Payment status description |
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”) PymtMethod = Request.Form(“PymtMethod”) TrxnId = Request.Form(“TrxnId”) TrxnDate = Request.Form(“TrxnDate”) BankAccName = Request.Form(“BankAccName”) BankBranch = Request.Form(“BankBranch”) MaskedCardNo = Request.Form(“MaskedCardNo”) StatusCode = Request.Form(“StatusCode”) StatusDesc = Request.Form(“StatusDesc”) Signature = Request.Form(“Signature”) %> <Add your programming code here>
|