TheDocumentation Index
Fetch the complete documentation index at: https://devzone.nayax.com/llms.txt
Use this file to discover all available pages before exploring further.
doPinpadTransaction method is used in the PinPad flow to continue an ongoing EMV transaction after the initial card capture. This is primarily done to prompt the cardholder to enter a PIN or to exchange additional EMV data (tags) with the payment terminal, advancing the EMV state machine.
Request
JSON-RPC 2.0All methods in TweezerComm follow a JSON-RPC 2.0 structure. See Get Started for more details on how the requests are structured and sent.
- The
methodfield must be set todoPinpadTransaction. - The
servicemust be set toenginein the params.
Request Parameters
The table below describes the request parameters for this method.| Name | Type | Description |
|---|---|---|
tags | JSON of strings | A dictionary containing the required EMV Tag-Value pairs that the host system must return to the card/terminal to continue the EMV dialogue. |
Response
A successful response indicates that the PinPad transaction state has advanced, either by successfully collecting the PIN from the cardholder or by completing an EMV data exchange round.Response Parameters
Below is a table with all the possible response parameters and their description:| Name | Type | Description |
|---|---|---|
statusCode | integer | The PinPad transaction status. A value of 0 indicates success. |
statusMessage | string | The transaction message (e.g., ok). |
pem | integer | POS Entry Mode, indicating the method of card entry (e.g., EMVMANAGER_CONTACT). |
tags | JSON of strings | A dictionary containing updated or new EMV Tag-Value pairs from the card/terminal, including information like the masked PAN (5A) or updated cryptograms. |