getRetailerInfo

The getRetailerInfo method allows the client application to verify the merchant (retailer) name and ID associated with the device. This can be used after the establishment process (process done by Nayax's team) or client setup to confirm that the correct merchant information such as the ID and name provided by the ABS (Shva) has been configured.

Request

📘

JSON-RPC 2.0

All methods in TweezerComm follow a JSON-RPC 2.0 structure. See Get Startedfor more details on how the requests are structured and sent.

In the request, ensure to configure the following:

  • The method field must be set to getRetailerInfo.
  • The service must be set to ashrait in the params.
{
    "jsonrpc": "2.0",
    "method": "getRetailerInfo",
    "params": [
        "ashrait"
    ],
    "id": "136bdaa3"
}

Request Parameters

This method doesn't require any parameters beyond the standard service name.

Response

A successful call returns the retailer's identification details.

{
    "jsonrpc": "2.0",
    "id": "136bdaa3",
    "result": {
        "id": "0883012013",
        "name": "MODULARITY 12",
        "transmitTime": 1721217720
    }
}

Response Parameters

The table below describes the response parameters for this method.

NameTypeDescription
idstringThe unique identifier for the retailer.
namestringThe registered name of the retailer.
transmitTimeintegerThe time the information was transmitted, in Unix epoch format.