π₯οΈWeb integration
How to add our exchange widget to your website
Last updated
How to add our exchange widget to your website
If you just want to redirect your users to our on/off-ramp widget, you can use one of following links on your website or in your mobile app :
You can add parameters to the URLs above to customize what is displayed of the widget, please refer to the list of available parameters in Parameters and customization.
To integrate our on & off ramp service as an iFrame on your website, add the following code in the HTML part of the target web page:
<iframe allow="usb; ethereum; clipboard-write; payment; microphone; camera" loading="lazy" src="https://widget.mtpelerin.com/?lang=en" title="Mt Pelerin exchange widget"></iframe>You must include the attributes allow="usb; ethereum; clipboard-write; payment; microphone; camera" loading="lazy" in your iFrame code as shown above, or some features of the widget will not function properly.
To customize the content of the interface, please refer to the list of available parameters in Parameters and customization.
To integrate our on & off ramp service as a popup / modal window on your website, first add the following code in the HTML part of the target web page:
<script src="https://widget.mtpelerin.com/mtp-widget.js"></script>Then call the following JavaScript function to open the modal:
To customize the content of the interface, please refer to the list of available parameters in Parameters and customization.
Last updated
showMtpModal({ lang: 'en' /* options */ });