v1

latestOpenAPI 3.0.12026-07-26181265484.9 KB
DynamicQR

Cortina DynamicQR GenerateQR

post/Cortina/DynamicQR/GenerateQR

Request body

ChannelIdinteger
  • Conditional, for Multi-channel integration, Contact Nayax TPOC to define.
  • Channel Values shall be provided by Nayax, and cannot be altered.

Example request

{
  "ActorInfo": {
    "Id": 2001102296,
    "MerchantId": 10011,
    "Name": "Far East Dev Zone",
    "OperatorId": 2000305191,
    "OperatorName": "TanyaT_OP"
  },
  "BasicInfo": {
    "Amount": 0.1,
    "CurrencyCode": "USD",
    "CurrencyNumeric": 376,
    "SiteId": 12,
    "TransactionId": "236584335969834429321847829253667359,"
  },
  "ChannelId": 19,
  "CustomData": {
    "Actor": 12312312,
    "DirectActor": 12312312,
    "Distributor": "superDistributor",
    "Machine": 131231348,
    "Operator": 123121434134
  },
  "DeviceInfo": null,
  "MachineInfo": {
    "Country": {
      "Alpha2Code": "US",
      "Alpha3Code": "USA",
      "Name": "United States of America",
      "NumericCode": 840
    },
    "DecimalPlace": 2,
    "GroupId": "Beverages",
    "Id": 869761713,
    "Name": "TestPayDynamicQR V2",
    "Offset": 2,
    "OperatorId": 12345,
    "TerminalId": 987654321,
    "ZipCode": 10001
  },
  "Product": [
    {
      "Code": 11,
      "Measurement": 1,
      "Name": "Stella",
      "Price": 0.1,
      "UnitOfMeasurement": "USD"
    },
    {
      "Code": 456,
      "Measurement": 0,
      "Name": "expensiveSprite",
      "Price": 600,
      "UnitOfMeasurement": "USD"
    }
  ]
}

Response

Success

QRCodestring
  • Mandatory
  • QR URL for device

Example response

{
  "QRCode": "DynamicQrResponse_QRCode_Test",
  "QRData": {
    "ChannelId": "19",
    "RRN": "111111",
    "SrvTranId": "236584335969834429321847829253667359"
  },
  "Status": {
    "Code": 0,
    "CustomDeclineCode": 0,
    "StatusMessage": "Cortina V2 Stub Tester",
    "Verdict": "Approved"
  },
  "additionalProperties": false
}