Use this transaction to refund to a card.
End Point : /refund
{
"siteid":"123456",
"txndate":"2023-02-01:16:13:20",
"terminalserialnumber":"6789654678",
"type":"refund",
"amount":"20.00",
"refid":"12345678987654321234"
}
{
"siteid":"123456",
"terminalserialnumber":"6789654678",
"resultcode":"Approved",
"refid":"12345678987654321234",
"amount":"20.00",
"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.