TeyaPosLinkSDK
Initializes the PosLink integration for the specified authConfig and eposInstanceId. We recommend providing a logger implementation to help diagnose issues.
PosLink is a Teya Cloud service designed to handle payment requests and deliver push notifications to the terminal linked by the user during the PosLinkSDK.setupTransactionsApi process. During the first successful PosLinkSDK.setupTransactionsApi call, the user will also be required to log in to their Teya account.
Return
An instance of PosLinkSDK to configure the integration.
Parameters
Auth configuration details for the PosLink integration.
SDK will use production endpoints if true, otherwise it will use dev endpoints.
A unique identifier for the ePOS instance, like a device unique identifier. Included in new payment requests sent to the PosLink service.
used for SDK logs. If none is provided, no logs will be generated.