optional cryptocurrency to purchase, e.g., FIAT_ON_RAMP_CRYPTO_CURRENCY_BTC, defaults to the native currency associated with the network/wallet address passed in.
params.fiatCurrencyAmount
string
optional preset fiat amount, e.g., ‘100’.
params.fiatCurrencyCode
v1FiatOnRampCurrency
optional fiat currency to use, e.g., FIAT_ON_RAMP_CURRENCY_ETH.
params.network
v1FiatOnRampBlockchainNetwork
optional blockchain network, e.g., FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_ETHEREUM, defaults to the network associated with the wallet address passed in.
params.onrampProvider
v1FiatOnRampProvider
optional onramp provider, e.g., FIAT_ON_RAMP_PROVIDER_COINBASE or FIAT_ON_RAMP_PROVIDER_MOONPAY, defaults to FIAT_ON_RAMP_PROVIDER_MOONPAY.
params.openInNewTab
boolean
params.organizationId
string
organization ID to specify the sub-organization (defaults to the current session’s organizationId).