# VyMoonpayOnRampUrlRequest

## 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 | [VyCryptoCurrencySymbol](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/pay/vycryptocurrencysymbol) |                                                                                                                                                                                | ✗        |
| 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**

* [getMoonpayFiatOnRampUrl](https://sdk.venly.io/sdk-reference/ts-js-v3/function-references/pay/fiat-on-off-ramp/getmoonpayfiatonrampurl)
