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.

The abortDisplayQR method is used to cancel an ongoing QR code display previously initiated with the displayQR method.

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.
To invoke this method, set the method field to abortDisplayQR, and include the service name and parameters as shown below.
{
    "jsonrpc":"2.0",
    "method":"abortDisplayQR",
    "id":"123",
    "params": [
        "device",{}
    ]
}

Request Parameters

The table below describes the parameters of the request:
NameTypeDescription
devicestringThe service name (fixed value)

Response

A successful request will return the following response:
{
    "jsonrpc": "2.0",
    "id": "123",
    "result": {
        "statusCode": 0,
        "statusMessage": "canceled"
    }
}

Response Parameters

The table below describes the response parameters for this method:
NameTypeDescription
statusCodeintegerOperation status (0 = success)
statusMessagestringMessage indicating operation result.