Appearance
Refund
Payment Refund
Direction
POS -> Terminal
This method is used by the POS to request a terminal to refund a payment after it has been captured.
json
{
"action": "payment",
"method": "refund",
"data": {
"TerminalId": "",
"PaymentId": "",
"Amount": {
"Total": 0.0,
"Currency": 840
},
"MerchantData": {
"CustomKey": "CustomValue"
}
}
}
Payment Refund Result
Direction
Terminal -> POS
This method is the actual refund result from the AUTH API.
json
{
"action": "payment",
"method": "refund",
"data": {
"TerminalId": "",
"PaymentId": "",
"Approved": false,
"ResponseText": "",
"MerchantData": {
"CustomKey": "CustomValue"
}
}
}