Send Card Price for L2/L3

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

In case the host calculates the card price, follow the steps and references outlined in this section to transmit the card and cash prices, along with other Level 2 and Level 3 transaction data, from the cash register application to the integrated Dejavoo payment terminal.

Request Body

application/json

Response Body

application/json

curl -X GET "https://example.com/cgi.html-cardpricel2l3" \  -H "Content-Type: application/json" \  -d '{    "RegisterId": "",    "AuthKey": "",    "PaymentType": "Credit",    "TransType": "Sale",    "Amount": "10.00",    "RefId": "14",    "AuthCode": "",    "LineItemCount": 1,    "FeeCalculated": true,    "TaxCalculated": true,    "TotalCardAmountWithoutDiscount": 10.4,    "TotalCashAmountWithoutDiscount": 10,    "TotalCardAmountWithDiscount": 10.4,    "TotalCashAmountWithDiscount": 10,    "FeeAmount": 0.4,    "Tax1Fee": 0.02,    "Tax2Fee": 0.04,    "Tax1Label": "LocalTax",    "Tax2Label": "StateTax",    "Tax1CardAmount": 0.52,    "Tax1CashAmount": 0.5,    "Tax2CardAmount": 1.04,    "Tax2CashAmount": 1,    "TotalCardAmount": 11.96,    "TotalCardDiscount": 0,    "TotalCashAmount": 11.5,    "TotalCashDiscount": 0,    "LineItems": [      {        "ProductName": "Item1Name",        "CardDiscountAmount": 0,        "CardTotal": 10.4,        "CashDiscountAmount": 0,        "CashTotal": 10,        "Quantity": 1,        "UnitMeasure": "ITM",        "Description": "Item1 desc",        "ItemCode": "10001",        "UnitCostCardPrice": 10.4,        "UnitCostCashPrice": 10      }    ]  }'
{
  "Message": "string",
  "RefId": "string",
  "RegisterId": "string",
  "ResultCode": "string",
  "PaymentType": "string",
  "TransType": "string",
  "ExtData": "string"
}