Skip to main content

Checkout SDK

@lynqpay/checkout-sdk embeds Lynq’s hosted payment form in a browser page.
For a no-build integration, use the version-pinned browser bundle:
The classic script exposes 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 throws ConfigError.
Last modified on August 7, 2026