Crypto Parameters

There are several optional filtering mechanisms available to limit the available crypto currencies in the Onramper widget.

OptionTypeDescription
defaultCryptostringDefault crypto currency to display when the widget loads
excludeCryptosstringParameter to exclude specific crypto currencies
onlyCryptosstringSelect the specific crypto currencies to display
excludeCryptoNetworksstringParameter to exclude specific crypto networks
onlyCryptoNetworksstringSelect the specific crypto networks to display

defaultCrypto

The default behavior of the Onramper Widget utilizes our recommendation algorithm to show the currently most-used currency for the end-user country.

This behavior can be customized by supplying the defaultCrypto parameter by adding it to your integration URL.

https://buy.onramper.com/?defaultCrypto=ETH

excludeCryptos | onlyCryptos

The default behavior of the Onramper Widget is to show all available crypto currencies based on available Onramps, Fiat Currencies and Payment Methods for each individual end-user.

This behavior can be customized by adding the excludeCryptos parameter to exclude specific crypto currencies.

https://buy.onramper.com/?excludeCryptos=BTC,ETH

By utilizing the onlyCryptos parameter you can select the specific crypto currencies to display in the Onramper Widget.

https://buy.onramper.com/?onlyCryptos=ETH

excludeCryptoNetworks | onlyCryptoNetworks

The default behavior of the Onramper Widget is to show all available crypto currencies based on available Onramps, Fiat Currencies and Payment Methods for each individual end-user.

This behavior can be customized by adding the excludeCryptoNetworks parameter to exclude specific crypto networks.

https://buy.onramper.com/?excludeCryptoNetworks=BITCOIN

By utilizing the onlyCryptoNetworks parameter you can select the specific crypto networks to display in the Onramper Widget.

https://buy.onramper.com/?onlyCryptoNetworks=ETHEREUM,POLYGON