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
  • Unsupported countries
  • Supported chains and assets
  • Fees and exchange conversion result
  • Response example:
  1. Integration guides

APIs

PreviousBranding parametersNextEvents

Last updated 11 months ago

Unsupported countries

(GET)

Supported chains and assets

(GET)

Fees and exchange conversion result

(POST)

Parameter
Example value
Description

sourceCurrency

CHF

destCurrency

BTC

sourceAmount

100

Input amount. âš ī¸ Do not use it at the same time as destAmount, or you will get a 400 error.

destAmount

100

Output amount. âš ī¸ Do not use at the same time as sourceAmount, or you will get a 400 error.

sourceNetwork

fiat

One of our supported chains (see Tokens endpoint above), or 'fiat'.

destNetwork

bitcoin_mainnet

One of our supported chains (see Tokens endpoint above), or 'fiat'.

isCardPayment

false

'true' or 'false' if the payment will be made by card (only valid if sourceNetwork is fiat, ignored otherwise)

Response example:

{
  "fees": {
    "networkFee": "2.2605",
    "fixFee": 0
  },
  "sourceCurrency": "CHF",
  "destCurrency": "BTC",
  "sourceNetwork": "fiat",
  "destNetwork": "bitcoin_mainnet",
  "sourceAmount": 100,
  "destAmount": "0.00398660113390708486776"
}

"destAmount" is the net final amount, which includes all applicable fees.

One of our supported fiat or crypto .

One of our supported fiat or crypto .

👨‍đŸ’ģ
âŒ¨ī¸
https://api.mtpelerin.com/countries/forbidden
https://api.mtpelerin.com/currencies/tokens
https://api.mtpelerin.com/currency_rates/convert
Chains and currencies
Chains and currencies