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
networkWalletsstringString of network wallet addresses that can be supplied to the widget
walletAddressTagsstringString of wallet address tags (destination tags / memos) that can be supplied to the widget

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 also supply multiple wallet addresses to be utilized for all tokens supported by a single chain by using the networkWallets parameter.

The wallet address can be prefixed by any supported Onramper Network ID.

https://buy.onramper.com/?networkWallets=ETHEREUM:0xb794f5ea0ba39494ce839613fffba74279579268

You can also supply multiple destination tags / memos to be used for tokens using the walletAddressTags parameter.

The wallet address tags can be prefixed by any supported Onramper Crypto ID.

https://buy.onramper.com/?wallets=xrp_ripple:rCoinaUERUrXb1aA7dJu8qRcmvPNiKS3d,xlm_stellar:0xb794f5ea0ba39494ce839613fffba74279579268&walletAddressTags=xrp_ripple:1234567890,xlm_stellar:1234567890

You can use these URLs as a redirect or insert it into an iframe / webview