# MonetaryAmountInput

Input · GraphQL API

Input fields representing an amount with currency.

## Fields

- `value` (`Amount!`) — required: The amount of money, either a whole number or a number with up to 3 decimal places.
- `currencyCode` (`CurrencyCodeAlpha!`) — required: The currency code for the monetary amount.

## Used by

- [CreatePayPalOneTimePaymentInput](/braintree/graphql/reference/types/create-pay-pal-one-time-payment-input) — Input; amount
- [CreateRecurringBillingSubscriptionPlanInput](/braintree/graphql/reference/types/create-recurring-billing-subscription-plan-input) — Input; monetaryAmount
- [LocalPaymentContextInput](/braintree/graphql/reference/types/local-payment-context-input) — Input; amount
- [NonInstantLocalPaymentContextInput](/braintree/graphql/reference/types/non-instant-local-payment-context-input) — Input; amount
- [PayPalShippingOptionInput](/braintree/graphql/reference/types/pay-pal-shipping-option-input) — Input; amount
- [TransactionRiskEvaluateInput](/braintree/graphql/reference/types/transaction-risk-evaluate-input) — Input; amount
- [UpdatePayPalOneTimePaymentInput](/braintree/graphql/reference/types/update-pay-pal-one-time-payment-input) — Input; amount
- [UpdateRecurringBillingSubscriptionPlanInput](/braintree/graphql/reference/types/update-recurring-billing-subscription-plan-input) — Input; monetaryAmount

## GraphQL definition

```graphql
input MonetaryAmountInput {
  value: Amount!
  currencyCode: CurrencyCodeAlpha!
}
```

---

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