Mt Pelerin
Buy cryptoSell cryptoSupportContact
On/Off-Ramp & Swaps
On/Off-Ramp & Swaps
  • 👋Introduction
  • đŸ”ĨWhy Mt Pelerin?
  • 👨‍đŸ’ģIntegration guides
    • 📍Getting started
    • đŸ–Ĩī¸Web integration
    • 📱Mobile integration
    • âš™ī¸Parameters and customization
      • General parameters
      • On ramp parameters
      • Off ramp parameters
      • Swap parameters
      • Automating the end user address validation
      • Branding parameters
    • âŒ¨ī¸APIs
    • ❕Events
  • 🧑‍đŸ’ŧService information
    • 💲Revenue sharing
    • 💱Chains and currencies
    • đŸ’ŗPayment methods
    • 💰Pricing & limits
    • âŗDelivery times
    • 🆔Identity verification
    • 🌍Supported countries
    • 📩User notifications
  • â„šī¸Additional information
    • 🔧Support
    • 🇨🇭About Mt Pelerin
    • 📋Changelog
Powered by GitBook
On this page
  • Direct links
  • iFrame
  • Popup / modal
  1. Integration guides

Web integration

How to add our exchange widget to your website

PreviousGetting startedNextMobile integration

Last updated 1 year ago

Direct links

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 :

Buy tab:

Sell tab:

Swap tab:

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.

iFrame

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.

Popup / modal

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:

showMtpModal({ lang: 'en' /* options */ });

To customize the content of the interface, please refer to the list of available parameters in Parameters and customization.

👨‍đŸ’ģ
đŸ–Ĩī¸
https://widget.mtpelerin.com/?_ctkn=954139b2-ef3e-4914-82ea-33192d3f43d3&type=direct-link&tabs=buy,sell,swap&tab=buy
https://widget.mtpelerin.com/?_ctkn=954139b2-ef3e-4914-82ea-33192d3f43d3&type=direct-link&tabs=buy,sell,swap&tab=sell
https://widget.mtpelerin.com/?_ctkn=954139b2-ef3e-4914-82ea-33192d3f43d3&type=direct-link&tabs=buy,sell,swap&tab=swap