getProperty method retrieves specific terminal details, such as the terminal serial number (S/N), the DCS hardware serial number, or the Agamento application version. If no property type is specified, it returns a broader dictionary of terminal-related properties.
Request
JSON-RPC 2.0All methods in TweezerComm follow a JSON-RPC 2.0 structure. See Integration for more details on how the requests are structured and sent.
getProperty, and include the params array:
Request Parameters
The request must include the params array with the following parameters:- The first parameter is the service name:
device. - The second parameter (optional) is a numeric property type:
1for Terminal Serial Number (S/N)2for DCS Hardware Serial Number3for Agamento Version
Response
The response varies depending on the input:- If a property type is specified, the result is a single string value.
- If no property type is specified, the result is a dictionary containing multiple device properties.
Response Parameters
The table below describes the response parameters for this method:| Name | Type | Description |
|---|---|---|
retailerNumber | string | Retailer identifier |
nayaxSN | string | Nayax serial number |
isActiveDes | string | Activation status |
emvConfigFileId | int | EMV configuration file ID |
emvProvider | int | EMV provider ID |
paymentMethods | string | Enabled payment method codes |
cibusEnabled | string | Cibus support status |
cibusRestaurantId | int | Cibus restaurant ID |
cibusPosId | int | Cibus POS ID |
multipassEnabled | string | Multipass support status |
multipassPosId | int | Multipass POS ID |