The Surf team has developed easy-to-use widgets which you can use on your websites. The widgets are designed to help users buy Evers and swap tokens.
To integrate a widget, you need to paste the following string in the web page’s code:
<iframe src="<widget_address>"/>. In this string, the <widget_address> can be the following:
- pay.ever.surf – for integration of widget for buying Evers;
- payments.surf/widget/swap – for integration of the widget for swapping tokens.
At the end of the widget’s address you need to put the string “?merchantId=” with any value after the equal sign. That is, the final string of the widget’s code will look like the following:
- <iframe src="https://pay.ever.surf?merchantId=555"/> - for the purchase widget;
- <iframe src="https://paymetns.surf/widget/swap?merchantId=555"/> - for the swap widget.
In the above pieces of code, the value "555" is just an example. You can enter any integer number in place of it.