Transaction Request

API Explorer
loading...
GET
/cgi.html

Runs a transaction against the payment terminal. TransType=Sale supports five optional add-on groups below (Custom Timeout, Auto Rental Data, Level 2 & Level 3 Data, Card Price for L2/L3, and HSA/FSA Card Acceptance) — enable a group's checkbox to include its fields in the generated request.

Request Body

application/json

Response Body

application/json

curl -X GET "https://example.com/cgi.html" \  -H "Content-Type: application/json" \  -d '{    "AuthKey": "",    "PaymentType": "Credit",    "TransType": "Sale",    "Amount": "1.00",    "Tip": "",    "CustomFee": "",    "RefId": "12234",    "RegisterId": "",    "TPN": "",    "CashbackAmount": "",    "PrintReceipt": "No",    "SigCapture": "No",    "Tag1": "",    "Tag2": "",    "Tag3": "",    "PerformedBy": "",    "MerchantId": "",    "ReconId": "",    "IsvId": "",    "CityTax": "",    "StateTax": "",    "ReducedStateTax": "",    "CustomerEmail": "",    "CustomerMobile": ""  }'
{
  "RefId": "string",
  "RegisterId": "string",
  "TPN": "string",
  "TransNum": "string",
  "InvNum": "string",
  "ResultCode": "string",
  "RespMSG": "string",
  "Message": "string",
  "AuthCode": "string",
  "PNRef": "string",
  "PaymentType": "string",
  "Voided": "string",
  "TransType": "string",
  "SN": "string",
  "ExtData": "string",
  "EMVData": "string",
  "Sign": "string",
  "iPOSToken": "string",
  "ContactDetailsError": "string"
}