Embed the LightSwap swap flow on your website with an iframe.
The LightSwap widget lets you add the hosted swap flow to your website with an iframe.Use the widget when you want users to complete the swap flow on your page without building a backend API integration first.The widget can run without a key. If you have a fee-sharing agreement with LightSwap, add your public widget key so swaps can be attributed to your partner account.All query parameters are optional. https://lightswap.me/widget is a valid widget URL and opens with LightSwap defaults.
Do not put a Partner API key in the widget. API keys are secret backend credentials. Widget keys are public attribution identifiers.
LightSwap stores partner fee-sharing terms in its own systems. Do not add custom fee or commission parameters to the widget URL.You do not need to register a domain before embedding the widget. If you use a public widget key, only place it on pages where you want swaps attributed to your partner account.
Email partner@laptev-fzco.com if you want attributed widget usage or fee sharing.Looking for a backend API integration instead of the iframe widget? Start with API Usage or go directly to the API Reference.