Crypto Parameters

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

Onramp

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

Offramp

OptionTypeDescription
sell_defaultCryptostringDefault crypto currency to display when the widget loads
sell_excludeCryptosstringParameter to exclude specific crypto currencies
sell_onlyCryptosstringSelect the specific crypto currencies to display
sell_excludeCryptoNetworksstringParameter to exclude specific crypto networks
sell_onlyCryptoNetworksstringSelect the specific crypto networks to display

sell_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 sell_defaultCrypto parameter by adding it to your integration URL.

https://buy.onramper.com?mode=sell&sell_defaultCrypto=ETH

sell_excludeCryptos | sell_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 sell_excludeCryptos parameter to exclude specific crypto currencies.

https://buy.onramper.com/?mode=sell&sell_excludeCryptos=BTC,ETH

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

https://buy.onramper.com/?mode=sell&sell_onlyCryptos=ETH

sell_excludeCryptoNetworks | sell_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 sell_excludeCryptoNetworks parameter to exclude specific crypto networks.

https://buy.onramper.com/?mode=sell&sell_excludeCryptoNetworks=BITCOIN

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

https://buy.onramper.com/?mode=sell&sell_onlyCryptoNetworks=ETHEREUM,POLYGON