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
  1. Integration guides
  2. Parameters and customization

Swap parameters

Customize the swap screen of the interface.

The swap tab is hidden by default, to activate it you must use the 'tabs' parameter with the 'swap' value.

Example: tabs=buy,sell,swap

Parameter
Value
Description

crypto codes

Swap tab source currency

wdc

crypto codes

Swap tab destination currency

wsa

number

Swap tab source amount*

wda

number

Swap tab destination amount*

snet

arbitrum_mainnet avalanche_mainnet

base_mainnet

bitcoin_mainnet bsc_mainnet celo_mainnet

lightning_mainnet mainnet matic_mainnet optimism_mainnet

rsk_mainnet

tezos_mainnet xdai_mainnet zksync_mainnet

Source network, for sell and swap tabs

dnet

arbitrum_mainnet avalanche_mainnet

base_mainnet

bitcoin_mainnet bsc_mainnet celo_mainnet

lightning_mainnet mainnet matic_mainnet optimism_mainnet

rsk_mainnet

tezos_mainnet xdai_mainnet zksync_mainnet

Destination network, for buy and swap tabs

*If both source amount and destination amount parameters are used, the source amount parameter prevails.

Crypto codes: AVAX, BNB, BTC, BTCB, CELO, crvUSD, DAI, ETH, EURA, EURC, EUROe, EURS, FRAX, GHO, LUSD, MAI, POL, RBTC, RDOC, RIF, sat, tzBTC, USDC, USDC.e, USDRIF, USDT, WBTC, WETH, XCHF, XDAI, XTZ

To add multiple values for a given parameter, simply separate them with a comma.

PreviousOff ramp parametersNextAutomating the end user address validation

Last updated 3 months ago

👨‍đŸ’ģ
âš™ī¸