getConfig method is used to retrieve the current terminal configuration. It returns a complete configuration object with various system settings, such as printer usage, supported transaction types, and UI behavior.
This method is often used with setConfig to read and update the terminal configuration.
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.
method field needs to be set to getConfig, and the params must include the fixed value device as shown in the example request below: