Merchant API

3.6.1 Request

Method

API Name

URI

GET

RefundEnq

/Payment/RefundEnq

 

Field Name

Data Type

Size

M/O

Description & Remarks

MerchantNo

String

16

M

Merchant no assigned by the system

ReqDate

String

14

M

Client request date when calling the API. Format: yyyyMMddHHmmss.

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”

It should be the same value when calling Payment API.

TrxnId

String

20

M

Transaction ID getting from the approved payment.

RefundId

String

20

M

Original Refund ID.

RefundAmount

String

10

M

Amount to be refunded. Up to 2 decimals and no thousand separators.  The value must be lesser than or equal to the paid amount.

Signature

 

String

M

Calculated hash by concatenating all the values of the fields and follow the list order.

 

Legend:

M: Mandatory field

O: Optional field, value can be empty but parameter must exist

 

Example

<HTML>

<BODY>

<FORM method=”get” action=”[Base URL]/Payment/RefundEnq”>

<INPUT type=” hidden ” name=”MerchantNo” value=”1000000000000001″>

<INPUT type=”hidden” name=” ReqDate” value=”20210101153020″>

<INPUT type=”hidden” name=”OrderId” value=”M123456789″>

<INPUT type=”hidden” name=”TrxnAmount” value=”10.5″>

<INPUT type=”hidden” name=” TrxnId” value=”20000111554126786362″>

<INPUT type=”hidden” name=” RefundId” value=”210503392332″>

<INPUT type=”hidden” name=” RefundAmount” value=”10.5″>

<INPUT type=”hidden” name=”Signature” value=”[Calculated hash]”

<INPUT type=”submit” value=”Submit” name=”Submit”>

</FORM>

</BODY>

</HTML>