# ExchangeRateQuoteInput

Input · GraphQL API

Input to generate the exchange rate quote.

## Fields

- `baseCurrency` (`CurrencyCodeAlpha!`) — required: The currency code from which the exchange rate will be used to convert to the `quoteCurrency`.
- `quoteCurrency` (`CurrencyCodeAlpha!`) — required: The currency code to which the exchange rate will be used to convert from `baseCurrency`.
- `baseAmount` (`Amount`): The amount in the `baseCurrency` to be converted to the `quoteCurrency`. If this is provided, the result will include the converted amount properly rounded.
- `markup` (`Percentage`): A percentage added into the exchange rate. This allows the merchant to settle for more than the quoted `tradeRate`.

## Used by

- [GenerateExchangeRateQuoteInput](/braintree/graphql/reference/types/generate-exchange-rate-quote-input) — Input; quotes

## GraphQL definition

```graphql
input ExchangeRateQuoteInput {
  baseCurrency: CurrencyCodeAlpha!
  quoteCurrency: CurrencyCodeAlpha!
  baseAmount: Amount
  markup: Percentage
}
```

---

[View the complete GraphQL schema on GitHub](https://raw.githubusercontent.com/braintree/graphql-api/refs/heads/master/schema.graphql)