Skip to main content
POST
/
Cortina
/
DynamicQR
/
Void
Cortina DynamicQR Void
curl --request POST \
  --url https://{domain}:{port}/api/Cortina/DynamicQR/Void \
  --header 'Content-Type: application/*+json' \
  --data '
{
  "ActorInfo": {
    "Id": 2001187922,
    "MerchantId": "123456789",
    "Name": "TanyaT_OP"
  },
  "BasicInfo": {
    "Amount": 0.1,
    "Currency": "ILS",
    "MachineAuTime": "230221121009",
    "SiteId": 1,
    "TransactionId": "236584335969834429321847829253667359"
  },
  "CustomData": {
    "Actor": "",
    "Machine": {
      "dynamic_qr_channels_rec_ids": "18,19"
    }
  },
  "DeviceInfo": {
    "FWVersion": "",
    "HwSerial": 434324119376524,
    "Id": 0,
    "Type": "ONYX"
  },
  "MachineInfo": {
    "Address": "TestPayDynamicQR V2",
    "City": "Abbeville",
    "Country": "UNITED STATES",
    "CountryCode": "US",
    "CountryISOCode": "USA",
    "DecimalPlace": 2,
    "Id": 869761713,
    "Name": "TestPayDynamicQR V2",
    "Offset": "2.00",
    "TerminalId": "987654321",
    "ZipCode": "1223311"
  },
  "PaymentInfo": {
    "AuthAmount": 0.1,
    "AuthCode": "333333",
    "AuthDateTime": "230221101008",
    "AuthSource": "55555",
    "IsGatewayTimeout": false,
    "RRN": "111111",
    "SettAmount": 0.1,
    "SettDateTime": "230221101009",
    "SrvTranId": "236584335969834429321847829253667359",
    "Token": "",
    "TraceNumber": "4444"
  },
  "ReasonCode": 3,
  "ReasonText": "Cashless Cancelled by machine"
}
'
{
  "PaymentInfo": {
    "AuthAmount": 0.1,
    "AuthCode": "333333",
    "AuthDateTime": "230221101008",
    "AuthSource": "55555",
    "IsGatewayTimeout": false,
    "RRN": "111111",
    "SettAmount": 0.1,
    "SettDateTime": "230221101009",
    "SrvTranId": "236584335969834429321847829253667359",
    "Token": "",
    "TraceNumber": "4444"
  },
  "Status": {
    "Code": 0,
    "StatusMessage": "Cortina V2 Stub Tester",
    "Verdict": "Approved"
  }
}
Cancels a QR payment if the product wasn’t dispensed. This endpoint reverses a successful QR transaction when the machine fails to release the item or times out. It ensures the customer is not charged since they did not receive their product.

Body

ActorInfo
object

Merchant (Actor) details.

BasicInfo
object

Basic transaction information.

CustomData
object

Custom Fields Information, Contact Nayax TPOC to define.

DeviceInfo
object

Hardware and firmware information of the Nayax device.

MachineInfo
object

Information about the machine involved in the transaction.

PaymentInfo
object

Identifies transaction information and references. Included in all response messages for payment calls. When used in requests (e.g. /Settlement, /Void, /Refund, /Inquiry), this object should match the PaymentInfo returned in a previous call.

ReasonCode
integer<int16>
  • Optional
  • length: Short integer (16)
  • Refund reason code as saved in Nayax system
ReasonText
string
  • Optional
  • length: 64
  • Refund description as saved in Nayax system

Response

Success

PaymentInfo
object

Identifies transaction information and references. Included in all response messages for payment calls. When used in requests (e.g. /Settlement, /Void, /Refund, /Inquiry), this object should match the PaymentInfo returned in a previous call.

Status
object

Transaction status