destination_address
parameter<FundCard />
or <FundButton />
UI React componentpresetFiatAmount
or presetCryptoAmount
fiatCurrency
required for presetFiatAmount
defaultAsset
(can be omitted when session token specifies only one asset)Parameter | Reqd | Type | Description |
---|---|---|---|
sessionToken | Yes | String | Token generated by the Session Token API. |
defaultAsset | Yes | String | UUID of asset. optional if session token contains a single asset. Received from Onramp Options and sent to Buy Quote. |
presetFiatAmount | Yes | Number | Amount in fiat to be spent on the crypto purchase, fees included. |
presetCryptoAmount | Yes | Number | Use this instead of presetFiatAmount with defaultPaymentMethod set to CRYPTO_ACCOUNT for send only. |
fiatCurrency | Yes | String | Ticker symbol of the fiat currency. Required only when using presetFiatAmount . |