Swapped.com Documentation
  • 🚀On-ramp Integration
    • ⚙️Sandbox Environment
    • 🔗iFrame initialization
      • 💬Order Notifications
      • 🚨Order Notification Retry Policy
      • 🪙Supported Cryptocurrencies
      • 💵Supported Fiat Currencies
      • 🗣️Supported languages
      • Onramp Aggregator Partners
    • 💳Test Credentials
    • 🎯Endpoints
      • 💳Get Payment Methods
      • 🟢Get Payment Status
      • 📘Get Transactions
      • 📈Get Current Price
      • ⚖️Get Minimum Amount
    • FAQ
  • 🚀Connect Integration
    • 🔗iFrame Initialization
    • 🤝Supported Connections
Powered by GitBook
On this page
  1. On-ramp Integration
  2. iFrame initialization

Onramp Aggregator Partners

PreviousSupported languagesNextTest Credentials

Last updated 1 month ago

Onramp aggregators skip the widget’s index & confirmation pages. Below are the various flows, depending on iframe URL parameters.

Flow Summary:

  1. Onramp Flow – If all required parameters () are supplied in the URL, the first two screens will be skipped, and the user will go straight to the summary screen.

  2. Onramp Flow with Manual Entry XRP/TON – If the wallet address is provided but the destination tag isn't provided, the user will be offered the choice to enter the unprovided destination tag if they wish to do so.

  3. Onramp Flow with wallet manual entry – If the wallet address isn't provided, the user will be prompted to enter it.

  4. Widget Flow – If any required parameters aren't provided (), the user will be shown the standard flow. In this flow, the user will need to provide any details that haven't been provided.

Handling Unprovided Parameters

If any of the following parameters aren't provided in the URL, the user will be shown the standard flow & will need to provide the unprovided details.

  • currencyCode

  • baseCurrencyCode

  • method

  • baseCurrencyAmount

Optional parameters:

  • walletAddress

  • destinationTag (Applies only to XRP/TON)

Unprovided wallet address:

If the walletAddress isn't provided in the URL, the user will be shown the Enter Wallet Address page, where they have to enter the required wallet address. In the case of XRP or TON, if the DestinationTag isn't provided, the user will be shown the Enter Wallet Address page, with the wallet address pre-filled, but the destination tag blank.

Please note that the "deposit on Merchant" page will always be skipped for onramp aggregator merchants.

🚀
🔗
Need help with your integration? Click here to chat with our custom GPT for instant answers.
Widget link demonstrating the onramp flow
Widget link demonstrating destination tag entry
Widget link demonstrating address & destination tag entry
Widget link demonstrating address entry
Widget link demonstrating manual address entry
Widget link demonstrating the widget flow
see below for more info
see below for more info
The first two pages will be skipped & users will land on the order summary page shown on the right.
Example images of the wallet entry pages.