Fiat Parameters

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

OptionTypeDescription
defaultAmountnumberDefault fiat amount to display when the widget loads (must be used with defaultFiat)
defaultFiatstringDefault fiat currency to display when the widget loads
isAmountEditablebooleanParameter to prevent the amount from being changed by the end-user
onlyFiatsstringSelect the specific fiat currencies to display
excludeFiatsstringSelect the specific fiat currencies to exclude

defaultFiat | defaultAmount

The default behavior of the Onramper Widget utilizes country detection to automatically recommend the local fiat currency and fiat amount for each individual end-user.

This behavior can be customized by supplying the defaultFiat and defaultAmount parameters by adding it to your integration URL.

The defaultFiat can be supplied by itself, however the defaultAmount requires defaultFiat to also be added.

https://buy.onramper.com/?defaultAmount=5000&defaultFiat=PHP

onlyFiats | excludeFiats

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

This behavior can be customized by adding the excludeFiats parameter to exclude specific fiat currencies.

https://buy.onramper.com/?excludeFiats=USD,EUR

By utilizing the onlyFiats parameter you can select the specific fiat currencies to display in the Onramper Widget.

https://buy.onramper.com/?onlyFiats=USD