getRetailerInfo

The getRetailerInfo method allows you to verify the merchant's name and ID. 🏬 This is useful for confirming that a terminal was configured correctly after installation or setup.

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.