Widget - swaps
About
Swaps feature allows customers to swap crypto tokens using one of the supported swap providers.
Currently supported swap providers
These providers facilitate the crypto tokens swap process, ensuring secure and timely transactions.
Enabling Swaps
To enable the swaps feature, add the following query parameter within your widget integration URL:
supportSwap=true&mode=swap
For example, the URL to activate swaps will be:
https://buy.onramper.com?apiKey=pk_prod_01HETEQF46GSK6BS5JWKDF31BT&supportSwap=true&mode=swap
How it works
Onramper allows users to swap their crypto from any wallet compatible with WalletConnect. They just need to connect it using the WalletConnect's interface.
Updated 2 days ago