> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CheckoutDiscountRuleDiscountInput

> Pass exactly one of percentage or fixedAmount.

**fixedAmount** `[CheckoutDiscountRuleFixedAmountDiscountInput](/docs/api-reference/v3/reference/checkout/checkout-discount-rule-fixed-amount-discount-input)`

A fixed amount off.

**fields**

**amount** `[MoneyInput!](/docs/api-reference/v3/reference/common/money-input)` *required*

Amount off, in the shop's currency.

**fields**

**amount** `[Decimal!](/docs/api-reference/v3/reference/common/decimal)` *required*

The amount as an exact decimal string (e.g. "19.99").

**currency** `String!` *required*

ISO 4217 currency code (e.g. USD).

**percentage** `[CheckoutDiscountRulePercentageDiscountInput](/docs/api-reference/v3/reference/checkout/checkout-discount-rule-percentage-discount-input)`

A percentage off.

**fields**

**percentage** `Int!` *required*

Percent off, a whole number from 1 to 100.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.