> For the complete documentation index, see [llms.txt](https://sdk.venly.io/sdk-reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/pay/vymoonpayonrampurlrequest.md).

# 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](/sdk-reference/ts-js-v3/object-references/pay/vycryptocurrencysymbol.md) |                                                                                                                                                                                | ✗        |
| 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](/sdk-reference/ts-js-v3/function-references/pay/fiat-on-off-ramp/getmoonpayfiatonrampurl.md)
