Checkout SDK
@lynqpay/checkout-sdk embeds Lynq’s hosted payment form in a browser page.
window.Lynq.
mount() begins asynchronous initialization. unmount() removes the iframe and lets the instance be mounted again. destroy() permanently removes it and all listeners.
Server-rendered applications
The SDK is browser-only. In SSR applications, construct and mount Checkout in client-side code after hydration. Constructing it on the server throwsConfigError.