VyMoonpayOnRampUrlRequest

\!! DESCRIPTION MISSING !!

Properties

Field
Type
Description
Required

fiatAmount

BigInt

A positive integer representing how much fiat the user wants to spend

fiatCurrency

string

The code of the fiat currency (_e.g. usd, aud, gbp_) you want the user to purchase with

cryptoAmount

BigInt

A positive integer representing how much crypto the user wants to buy. If you pass both `fiatAmount` and `cryptoAmount`, the `cryptoAmount` amount will take precedence.

cryptoCurrency

redirectUrl

string

This is the URL where you want to send the user after they finish the buying process. A transaction ID and status is added to the URL as query parameters.

email

string

This is the user's email address. If you provide a valid email address, the user won't need to enter it

walletAddress

string

This is the cryptocurrency wallet address where the purchased funds will be sent. If a valid wallet address is passed, the user won't need to enter one.

References

Operation

Last updated