Use this transaction to refund to a card.
End Point : /refund
{
“siteid”:”123456”,
“txndate”:” 2020-03-01:12:34:01”,
“terminalserialnumber”:”6789654678”,
“type”:”refund”,
“amount”:”20.00”,
“refid”:”89045432”
}
{
“siteid”:”123456”,
“terminalserialnumber”:”6789654678”,
“resultcode”:” APPROVED”,
“amount”:”20.00”,
“refid”:”89045432”,
“receipt”:”Sample output”,
“merchantreceipt”:”Sample output”
}
- The refid refers to the original.
- The refund can be up to the amount of the original transaction.
- For CNP transactions, the card number should be keyed into the Terminal.
- Set “linked” to “n” to process a non linked refund. By default all refunds are linked.