initialize api exposed
by the SDK.
Calling initialize allows our SDK to authenticate with the K42 platform and start background heartbeating processes
which allow you to monitor the health of your POS.
initialize
Params
The address of the K42 mesh to make requests through
The endpoint to use for the scanner. This is optional and defaults to
http://192.168.249.100:80The auth token to use to speak to the K42 transactions platform.
The K42
network-id to connect under. This is optional as the network may be automatically determined.The auth token to use to speak to the K42 transactions platform.
An id for the store location.
An optional name for the store.
An optional path to store internal long-lived state. Defaults to
%USER%/APPDATA/k42sdk on Windows and $HOME/.local/share/k42sdk/ on MacOS and LinuxResponse
Whether or not the intialize call was successful
A failure message present if the initialization call failed.
