Void Transaction Request

API Explorer
loading...
GET
/cgi.html-void

A Void Transaction request is used to cancel a previously authorized transaction before the batch is closed and sent to the processor. The host system must use data from the original transaction to allow the terminal to locate and process the Void request.

Request Body

application/json

Response Body

application/json

curl -X GET "https://example.com/cgi.html-void" \  -H "Content-Type: application/json" \  -d '{    "AuthKey": "",    "RegisterId": "1",    "TPN": "",    "PaymentType": "Credit",    "TransType": "Void",    "Amount": "11.00",    "RefId": "3",    "MerchantId": "",    "CustomerEmail": "",    "CustomerMobile": ""  }'
{
  "RefId": "string",
  "RegisterId": "string",
  "TPN": "string",
  "ResultCode": "string",
  "Message": "string",
  "PaymentType": "string",
  "ContactDetailsError": "string"
}