Skip to main content

Documentation Index

Fetch the complete documentation index at: https://devzone.nayax.com/llms.txt

Use this file to discover all available pages before exploring further.

Each time a transaction is processed, Nayax Core delivers a JSON message to your SQS queue. The message has two layers:
  • Root fields (TransactionId, MachineId, SiteId, etc.) identify the transaction and machine at a high level.
  • Data object contains the full transaction detail, including payment method, card info, timestamps, pricing, and a nested Products array listing each item vended.
A full description of every field is in the JSON Message Fields Description table below. The following is an example message:
{
  "TransactionId": 3804536984,
  "RemoteStartTransactionId": null,
  "PaymentMethodId": 2,
  "SiteId": 6,
  "MachineTime": "2020-04-20T10:34:05.063",
  "Void": false,
  "MachineId": 54265,
  "Data": {
    "Card String": "0077020491",
    "Settlement Time (Date only)": "2020-04-20",
    "Settlement Time (Time only)": "07:34:15",
    "SeValue": 1.0000,
    "Operator Identifier": "500905",
    "Machine Group": "Snack's",
    "Raw ENI Loyalty Num": null,
    "Machine Name": "Oleg's Simulator 1",
    "Machine AuTime": "2020-04-20T10:34:05.063",
    "Machine SeTime": "2020-04-20T10:34:15.433",
    "Currency": "EUR",
    "Brand": null,
    "CLI": null,
    "Extra Charge": 0.0000,
    "Payment Service (Mobile using Credit Card)": "Prepaid Credit using Prepaid Credit",
    "Payment Method ID (1)": 2,
    "Recognition Method ID (3)": 3,
    "Catalog Number": "",
    "Device Number": "0000000000500902",
    "Actor Hierarchy": "Dually / Nayax Test Bunny / Connect 2020 Rocks /",
    "Payment Method Description": "Prepaid Credit",
    "Recognition Description": "Prepaid Credit",
    "Card First 4 Digits": "0077",
    "Card Last 4 Digits": null,
    "Card Type": "MIFARE received as Hexadecimal",
    "Transaction ID": 3804536984,
    "Site ID": 6,
    "Authorization Time": "2020-04-20T07:34:05.063",
    "Authorization Value": 6.0000,
    "PayServTransid": "200420073405",
    "sePayServTransId": null,
    "Settlement Time": "2020-04-20T07:34:15.433",
    "Cancel Type": null,
    "Is Revalue Transaction": false,
    "Preselection Status": 0,
    "Is Phone Registration": false,
    "Is Multivend": false,
    "Settlment Failed": null,
    "Sale ID": -1,
    "Sale Value": 0.0000,
    "Updated DT": "2020-04-20T07:34:15.433",
    "Constant Preauthorization Value": null,
    "Is Partial Confirmation": null,
    "Authorization Code": null,
    "Authorization Date and Time": null,
    "Authorization RRN": "200420073405",
    "Event Code": null,
    "Guest Name": null,
    "Token": null,
    "Zip Code": null,
    "Billing Provider ID": null,
    "AVS Only": null,
    "BOD Transaction Key": null,
    "Disable Debit Cards": null,
    "Force Transactions Terminal": null,
    "Use Phone Transaction": null,
    "License ID": null,
    "Merchant ID": null,
    "Billing Site ID": null,
    "Terminal ID": null,
    "User Password": null,
    "With ZIP": null,
    "Use Phone Contactless": false,
    "Use Phone Contact": false,
    "Debit Card Prefix": null,
    "Actor Description": "Connect 2020 Rocks",
    "Institute Description": "NAYAX US",
    "Location Code": 234234,
    "Location Description": "Booth 134",
    "Operator Institute Code": 4,
    "Area Description": "Connect 2020 Rocks",
    "OP Button Code": "Z1",
    "Barcode": null,
    "Cost Price": null,
    "Card Price": null,
    "Prepaid Price": null,
    "Machine Price": 4.0000,
    "Cash Price": null,
    "Default Price": null,
    "Actor Code": 12,
    "Display Card Number": "0077020491",
    "Card Holder Name": "Automatically Created",
    "User Identity": "1",
    "Billing Provider Name": null,
    "Is Offline Transaction": null,
    "Is EMV Transaction": null,
    "Machine AuTime (Date only)": "2020-04-20",
    "Machine AuTime (Time only)": "10:34:05",
    "Machine SeTime (Date only)": "2020-04-20",
    "Machine SeTime (Time only)": "10:34:15",
    "Updated DT (Date only)": "2020-04-20",
    "Updated DT (Time only)": "07:34:15",
    "Customer Type": 1,
    "Actor ID": 32622,
    "Client Id": "",
    "Contract Name": null,
    "Payout Day": null,
    "Contract Id": null,
    "Airport Id": null,
    "Is Refund Card": false,
    "Contract Number": null,
    "Airport Code": null,
    "Payed Value": 1.0000,
    "Consumer ID": 1906814004668638903,
    "Discount Card ID": 340897206534728,
    "Discount Card Number": "1424243531",
    "Discount Card User Identity": "",
    "Discount Card Physical Type ID": 30000531,
    "Discount Card Activation Date": null,
    "Discount Card Expiration Date": null,
    "Products": [
      {
        "Product(Product Name(MDB Code,PA Code))": "Bounty(0,A1)",
        "Product Group": "Snacks",
        "Product Code in Map": 0,
        "Product PA Code": "A1",
        "Product Volume Type": "600 ml",
        "Product Name": "Bounty",
        "Product VAT Id": null,
        "Product Tax Value": null,
        "Product Tax Code": null,
        "Product Vat Amount": null,
        "Product Net Price": null,
        "Product External Prepaid Price": null,
        "Product Group Code": null,
        "Product Group Sub Code": null,
        "Product Retail Price": null,
        "Product Discount Percentage": 0.00,
        "Product Discount Amount": 0.0000,
        "Product Bruto": 1.0000,
        "Product Catalog Number": ""
      }
    ]
  }
}

JSON Message Fields Description

The following table describes the fields included in the transaction JSON message:
Field NameTypeDescription
Machine NameStringMachine / POS Name as defined under Operations > Machines > Machine Name
Machine ModelStringModel of the machine used.
Operator IdentifierStringMachine / POS Number as defined under Operations > Machines > Machine Number
Machine AuTimeDate TimeMachine Authorization Date and Time based on Machine Time Zone
Machine SeTimeDate TimeMachine Settlement Date and Time based on Machine Time Zone
CurrencyStringTransaction Currency Based on Machine Configuration
Card StringStringFirst 4 and Last 4 digits of the payment card
BrandStringCredit Card Brand Name
CLIStringConsumer Phone Number, applicable when transaction made through Mobile
SeValueDecimalSettlement Value, the amount charged
Extra ChargeDecimalExtra Charge Convenience fee
Payment Service (Mobile using Credit Card)StringPayment service used, e.g., mobile payment via credit card.
Payment Method ID (1)IntegerPayment Method ID (Nayax Internal Identifier)
Recognition Method ID (3)IntegerRecognition Method ID (Nayax Internal Identifier)
Catalog NumberStringProduct Catalog Number as defined under Administration > Products > Product ID
Product (Product Name(MDB Code, PA Code=Price))StringSold Product Name with MDB Code and PA Code identifiers as defined in Machine Product Map and Price of Sold Item
Device NumberStringNayax Device Serial Number
Actor HierarchyStringActor Hierarchy as Breadcrumbs
Payment Method DescriptionStringPayment Method Name
Recognition DescriptionStringRecognition Name
Card First 4 DigitsStringCredit Card First 4 digits
Card Last 4 DigitsStringCredit Card Last 4 digits
Card TypeStringDescription of Card Type used in current transaction
Machine GroupStringMachine Group Name as defined on Machine
Product GroupStringSold Item Product Group Name
Transaction IDIntegerTransaction ID (Nayax Internal Identifier)
Site IDIntegerNayax Servers Site ID
Authorization TimeDate TimeTransaction Authorization Date and Time (GMT)
Authorization ValueDecimalTransaction Authorization Amount
PayServTransidStringPayment Service Provider Transaction ID
sePayServTransIdStringPayment Service Provider Settlement Transaction ID
Settlement TimeDate TimeTransaction Settlement Date and Time (GMT)
Product Code in MapIntegerProduct Selection Item Number (MDB Code)
Cancel TypeIntegerTransaction Cancel Type Value stored on transaction level to indicate cancel reason if transaction was canceled (e.g. Product Selection Timeout); value 255 means successfully settled transaction
Is Revalue TransactionBooleanBit indicating if transaction is a Revalue Transaction
Preselection StatusIntegerTransaction Preselection Status, Server value to indicate transaction status on server side (internal use for transaction processing options)
Is Phone RegistrationBooleanBit indicating if transaction is part of Phone Registration (Old Deprecated functionality)
Is MultivendBooleanBit indicating if transaction is a Multivend (Multi selection sale/vend)
Settlment FailedBooleanIndicates if the settlement process failed.
Sale IDIntegerSale/Discount ID, holds value if transaction had a discount applied on it
Sale ValueDecimalSale/Discount Amount
Updated DTDate TimeTransaction Update Date and Time (GMT)
Constant Preauthorization ValueDecimalAuthorization Amount as defined under Operations > Machines > Machine Payment Tab > Constant Preauthorization Field
Is Partial ConfirmationBooleanBit indicating if a transaction is a partial confirmation (applicable only when Credit Call is the defined billing provider)
Authorization CodeStringCode for authorization.
Authorization Date and TimeDate TimeAuthorization Date and Time (GMT)
Authorization RRNStringAuthorization Retrieval Reference Number – Reference number for transaction
Event CodeIntegerCode associated with the event.
Guest NameStringName of the guest, if applicable.
TokenStringToken associated with the transaction.
Zip CodeStringZIP code of the location, if applicable.
Billing Provider IDIntegerIdentifier for the billing provider.
AVS OnlyBooleanIndicates if the transaction was AVS-only.
BOD Transaction KeyStringKey for the BOD transaction.
Disable Debit CardsBooleanIndicates if debit cards are disabled.
Force Transactions TerminalStringIndicates if transactions are forced on the terminal.
Use Phone TransactionBooleanIndicates if phone-based transactions are used.
License IDIntegerIdentifier for the license.
Merchant IDStringIdentifier for the merchant.
Billing Site IDIntegerIdentifier for the billing site.
Terminal IDIntegerUnique identifier for the terminal.
User NameStringUser name associated with the transaction.
User PasswordStringPassword of the user.
With ZIPBooleanIndicates if ZIP verification was performed.
Use Phone ContactlessBooleanIndicates if contactless phone transactions are used.
Use Phone ContactBooleanIndicates if phone contact transactions are used.
Debit Card PrefixStringPrefix for debit cards.
Actor DescriptionStringActor Hierarchy Entity Name of Machine’s Direct Actor
Institute DescriptionStringInstitute / Customer Name
Location CodeIntegerInstitute Location Code
Location DescriptionStringInstitute Location Name
Operator Institute CodeIntegerOperator Institute Code as defined under Administration > Operator > Operator Institutes > Code Column
Area DescriptionStringDescription of the area where the transaction occurred.
Product PA CodeStringProduct PA Code as defined under Operations > Machines > Machine Product Map > PA Code column
OP Button CodeStringProduct OP Button Code as defined under Operations > Machines > Machine Product Map > OP Button Code column
Product Volume TypeStringProduct Volume Type as defined under Administration > Products > Product Volume Type field
BarcodeStringProduct Barcode as defined under Administration > Products > Product Barcode Field
Cost PriceDecimalProduct Cost Price as defined under Administration > Products > Product Cost Price Field
Card PriceDecimalProduct Credit Card Price as defined under Operations > Machines > Machine Product Map > Credit Card Price Column
Prepaid PriceDecimalProduct Prepaid Card Price as defined under Operations > Machines > Machine Product Map > Credit Card Price Column
Machine PriceDecimalProduct Machine Price as displayed under Operations > Machines > Machine Product Map > Machine Price Column
Cash PriceDecimalProduct Cash Display Price as defined under Operations > Machines > Machine Product Map > Cash Display Price Column
Default PriceDecimalProduct Default Retail Price as Defined under Operations > Machines > Machine Product Map > Default Retail Price Column
Product NameStringProduct Name as defined under Administration > Products > Product Name field
Actor CodeIntegerOperator Internal Code Fields as defined under Administration > Operator > Operator Internal Code
Display Card NumberStringNayax Prepaid Card Display Card Number
Card Holder NameStringNayax Prepaid Card Holder Name
User IdentityStringNayax Prepaid Card Holder User Identity
Billing Provider NameStringBilling Provider Name as defined on Machine’s Actor Hierarchy
Is Offline TransactionBooleanBit indicating if this is an EMV Offline Transaction
Is EMV TransactionBooleanBit indicating if this is an EMV Transaction
Machine AuTime (Date only)DateMachine Authorization Date based on Machine Time Zone
Machine AuTime (Time only)TimeMachine Authorization Time based on Machine Time Zone
Machine SeTime (Date only)DateMachine Settlement Date based on Machine Time Zone
Machine SeTime (Time only)TimeMachine Settlement Time based on Machine Time Zone
Settlement Time (Date only)DateMachine Settlement Date (GMT)
Settlement Time (Time only)TimeMachine Settlement Time (GMT)
Updated DT (Date only)DateTransaction Update Date (GMT)
Updated DT (Time only)TimeTransaction Update Time (GMT)
Raw ENI Loyalty NumStringRaw ENI loyalty number.
Parsed ENI Loyalty NumStringParsed ENI loyalty number.
ProductsObjectBy checking this box, no column with Product prefix will be presented on the report.
Product VAT IdIntegerVAT identifier for the product.
Product Tax ValueDecimalProduct Tax Value as defined under Administration > Products > Product Group VAT Info > Tax Value Field
Product Tax CodeIntegerProduct Tax Code as defined under Administration > Products > Product Group VAT Info > Tax Code Field
Product Vat AmountDecimalProduct VAT Amount calculated based on the Tax Value as defined on Product Group
Product Net PriceDecimalProduct NET Price calculated by reducing Extra Charge and Product VAT Amounts from Settlement Value
Product External Prepaid PriceDecimalProduct External Prepaid Price as defined under Operations > Machines > Machine Product Map > External Prepaid Price Column
Customer TypeIntegerType of customer involved in the transaction.
Product Group CodeIntegerProduct Group Code as defined under Administration > Products > Product Group Info > Code Field
Actor IDIntegerActor Hierarchy Entity ID of Machine’s Direct Actor
Product Group Sub CodeIntegerProduct Group Sub Code as defined under Administration > Products > Product Group Info > Sub Code Field
Product Retail PriceDecimalProduct Retail Price as defined under Operations > Machines > Machine Product Map > Retail Price Column
Product Discount PercentageDecimalPercentage of discount applied to the product.
Product Discount AmountDecimalDiscount amount applied to the product.
Product BrutoDecimalGross value of the product.
Product Catalog NumberStringProduct Catalog Number as defined under Administration > Products > Product ID Field
Client IdStringUnique ID for the client.
Contract NameStringName of the contract associated with the transaction.
Payout DayIntegerDay when the payout is scheduled.
Contract IdStringID of the contract associated with the transaction.
Airport IdIntegerUnique ID of the airport, if applicable.
Member TypeStringType of membership associated with the transaction.
Is Refund CardBooleanBit indicating if this is a Nayax Refund Card
Contract NumberStringNumber of the contract associated with the transaction.
Airport CodeStringActor Airport Code as defined under Administration > Operator > Operator Airport Code Field
Payed ValueDecimalTransaction Charge Amount
Consumer IDIntegerUnique Consumer Identifier
Discount Card IDIntegerDiscount Count Card ID (Nayax Internal Unique Identifier)
Discount Card NumberStringDiscount Card Number – Card Unique Identifier
Discount Card User IdentityStringDiscount Card User Identity as defined under Consumers > Cards Management > Discount Card User Identity Field
Discount Card Physical Type IDStringDiscount Card Physical Type Lut Value ID, example: 30000531 - Contactless Sticker
Discount Card Activation DateDate TimeDiscount Card Activation Date as defined under Consumers > Cards Management > Discount Card Activation Date Field
Discount Card Expiration DateDate TimeDiscount Card Expiration Date as defined under Consumers > Cards Management > Discount Card Expiration Date Field
Is MoneyBooleanIndicates if the transaction is a money transaction.
Prepaid Card Current Regular CreditDecimalCurrent regular credit balance on the prepaid card.
Prepaid Credit Amount ChargeDecimalAmount charged to the prepaid credit.
Prepaid Credit Transaction ChargeDecimalTransaction charge applied to the prepaid credit.
Prepaid Card Current Revalue CreditDecimalCurrent revalue credit balance on the prepaid card.
Prepaid Revalue Credit Amount ChargeDecimalAmount charged for prepaid revalue credit.
Is Revalue Reward TransactionBooleanIndicates if the transaction is a revalue reward transaction.
Prepaid Card Monthly Amount Credit UsageDecimalMonthly credit usage amount on the prepaid card.
Prepaid Card Monthly Transactions Credit UsageIntegerMonthly number of credit transactions on the prepaid card.
Loyalty Card NumberStringLoyalty card number associated with the transaction.
Product Unit Of MeasureStringUnit of measure for the product.
Product QuantityIntegerQuantity of the product in the transaction.
Campaign IDIntegerCampaign ID used in current transaction (Nayax Internal Identifier).
Campaign TypeStringDescription of Campaign Type used in current transaction (1-Punch card, 2-Discount).
Product IDIntegerProduct ID (Nayax Internal Identifier).
Card IDIntegerCard ID used in current transaction (Nayax Internal Identifier).
Machine Serial NumberStringMachine Serial Number as provided by the Machine Operator
Machine IDIntegerMachine ID, automatically generated Nayax internal ID for machine
Transaction Status IDIntegerTransaction Status ID, indicating transaction status with a numeric value
Transaction Status NameStringTransaction Status Name, indicating transaction status name
Device Transaction ID (DTID)IntegerDevice transaction ID generated by the device
Vendor Transaction UID (VUID)StringTransaction ID generated by the Payment Provider
Card BINIntegerCredit Card BIN (Bank Identification Number) 6-8 digit number used to identify Card Issuer and Bank
Batch Ref NumberStringBatch Reference Number
operator transaction idStringThe operator transaction ID as received in the device authorization command using a Marshal request
Retail Store IdStringData coming from Operator and shown in Nayax reports
Retail Pos IdStringData coming from Operator and shown in Nayax reports
Operator Data 1StringData coming from Operator and shown in Nayax reports
Credit Card TypeStringCredit Card Type indicating if this is a Debit or Credit Card
original authorization timeDate TimeOriginal authorization time
Is Offline PaymentBooleanBit indicating if a deferred transaction
Energy Consumed (kWh)DecimalEnergy Consumed (kWh)
Product ProviderStringProduct Provider as defined under Administration > Products > Provider field
Original Transaction IDIntegerOriginal Transaction ID (Nayax Internal Identifier)
Processing Fee SumDecimalProcessing Fee Sum
Net Price Excluding GST and Processing Fee SumDecimalNet Price Excluding GST (VAT) and Processing Fee Sum
Revalue TypeStringRevalue type - can be Cash revalue or Credit card revalue