Skip to content

Void

Payment Void

Direction

POS Terminal

This method is used by the POS to request a terminal to void a payment that is still within the void windows.

json
{
  "action": "payment",
  "method": "void",
  "data": {
    "TerminalId": "",
    "RequestId": "",
    "Reason": "",
    "MerchantData": {
      "CustomKey": "CustomValue"
    }
  }
}

Void Acknowledge Response

Direction

Terminal POS

This method is used by the terminal to notify that it has accepted/declined a payment request. The RequestId is the payment identifier used by the terminal for tracking through the payment process.

json
{
  "action": "payment",
  "method": "acknowledge",
  "data": {
    "PosId": "",
    "RequestId": "",
    "Approved": false
  }
}

Void Processing Response

Direction

Terminal POS

This method is used by the terminal to notify the POS that it has sent a payment request to the processor and is awaiting a response.

json
{
  "action": "payment",
  "method": "processing",
  "data": {
    "PosId": "",
    "RequestId": "",
    "Approved": false,
    "Amount": {
      "Total": 0.0,
      "Tip": 0.0,
      "Fee": 0.0,
      "Currency": 840
    }
  }
}

Void Payment Response

Direction

Terminal POS

This response includes the void result from the Payment API.

json
{
  "action": "payment",
  "method": "void",
  "data": {
    "TerminalId": "",
    "RequestId": "",
    "TransactionId": "",
    "EventId": "",
    "Approved": false
  }
}