Skip to main content
The SDK triggers event callbacks in the EMV Core SDK to notify the application of specific events during the transaction lifecycle. They enable developers to respond dynamically to changes in transaction status and system events. These callbacks provide real-time updates, ensuring seamless communication between the SDK and the application. These are the available callbacks. You can read a more detailed description of each Callback event in the sections below.

CardTokenReceived

This event is triggered after a card token is successfully retrieved.
Open loop example:
Closed loop example:
Parameters:

ReaderMessageEvent

This callback provides updates on user interface messages from the card reader.

SystemStatusChanged

This method is only available for the Android operating system.
The SystemStatusChanged event indicates changes in the SDKs or connected devices’ operational state.
Java
SystemStatus is an enumeration representing the current state of the system. See the possible result values in the table below:

TransactionComplete

EMV Core calls TransactionComplete when a transaction completes, whether it succeeds or fails. It gives your application the details needed to print a receipt and link transactions to sale events (for example, in a dispute).
Open loop request:
JSON
Closed loop request with mifare_read:To use mifare_read, set the Mifare Blocks to Read attribute in Nayax Core under Embedded Advanced. The following example uses KA01B10B14 to read block 1 with key A, and blocks 10 and 14.Mifare Blocks to Read configuration showing KA01B10B14
JSON
Response:
JSON
Parameters:

eReceipt settings in Nayax Core

To receive eReceipts, configure the operator in Nayax Core with the following settings.
1

Configure VAS Provider settings

In the operator settings, go to the VAS Provider tab. Under eReceipt Platform, enter the Provider Name and Business ID.Operator VAS Provider tab showing eReceipt Platform with Provider Name and Business ID fields
2

Update machine payment options

In the machine settings, go to the Payment tab. Under Transaction Options, uncheck Enable eReceipt on Transaction end.Machine Payment tab showing Enable eReceipt on Transaction end checkbox under Transaction Options