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
defaultFiatstringDefault fiat currency to display when the widget loads
isAmountEditablebooleanParameter to prevent the amount from being changed by the end-user
onlyFiatstringSelect the specific fiat currencies to display
excludeFiatstringSelect 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.

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

onlyFiat | excludeFiat

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 excludeFiat parameter to exclude specific fiat currencies.

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

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

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