Wallets Parameter

There are currently two available parameters for customize the wallet behavior.

OptionTypeDescription
walletsstringString of wallet addresses that can be supplied to the widget
isAddressEditablebooleanParameter to prevent the end-user from editing the wallet address.

The wallets parameter accepts a string of wallet addresses that can be supplied to the widget.

The format for a single wallet address is colon-separated by the Onramper Token ID and the wallet address.

BTC:3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5

You can supply multiple wallet addresses by combining the above patterns and supplying it as a comma-separated string.

wallets=BTC:3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5,ETH:0xb794f5ea0ba39494ce839613fffba74279579268

Your URL should look something like this and should also include a production API Key:

https://buy.onramper.com/?wallets=BTC:3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5,ETH:0xb794f5ea0ba39494ce839613fffba74279579268

You can use this URL as a redirect or insert it into an iframe / webview