# VyMoonpayOnRampUrlRequest

## Properties

| Field          | Type                                                                                              | Description                                                                                                                                                                    | Required |
| -------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- |
| FiatAmount     | long                                                                                              | 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   | long                                                                                              | 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/c-sdk-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/c-sdk-v3/function-references/pay/fiat-on-off-ramp/getmoonpayfiatonrampurl.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sdk.venly.io/sdk-reference/c-sdk-v3/object-references/pay/vymoonpayonrampurlrequest.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
