> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/orders/llms.txt)
> Source: https://docs.saleor.io/api-reference/orders/inputs/order-grant-refund-create-input

# OrderGrantRefundCreateInput Input Type

No description

```graphql
input OrderGrantRefundCreateInput {
  amount: Decimal
  reason: String
  reasonReference: ID
  lines: [OrderGrantRefundCreateLineInput!]
  grantRefundForShipping: Boolean
  transactionId: ID!
}
```

<a id="fields"></a>

### Fields

<a id="amount"></a>

#### [`amount`](#amount) ● [`Decimal`](/api-reference/miscellaneous/scalars/decimal.md)

Amount of the granted refund. If not provided, the amount will be calculated automatically based on provided `lines` and `grantRefundForShipping`.

<a id="reason"></a>

#### [`reason`](#reason) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Reason of the granted refund.

<a id="reason-reference"></a>

#### [`reasonReference`](#reason-reference) ● [`ID`](/api-reference/miscellaneous/scalars/id.md)

ID of a `Page` (Model) to reference in reason.

Added in Saleor 3.22

<a id="lines"></a>

#### [`lines`](#lines) ● [`[OrderGrantRefundCreateLineInput!]`](/api-reference/orders/inputs/order-grant-refund-create-line-input.md)

Lines to assign to granted refund.

<a id="grant-refund-for-shipping"></a>

#### [`grantRefundForShipping`](#grant-refund-for-shipping) ● [`Boolean`](/api-reference/miscellaneous/scalars/boolean.md)

Determine if granted refund should include shipping costs.

<a id="transaction-id"></a>

#### [`transactionId`](#transaction-id) ● [`ID!`](/api-reference/miscellaneous/scalars/id.md)

The ID of the transaction item related to the granted refund. If `amount` provided in the input, the transaction.chargedAmount needs to be equal or greater than provided `amount`.If `amount` is not provided in the input and calculated automatically by Saleor, the `min(calculatedAmount, transaction.chargedAmount)` will be used. Field required starting from Saleor 3.21.

Added in Saleor 3.20

This API is currently in **Feature Preview** and can be subject to changes at later point.

<a id="member-of"></a>

### Member Of

[`orderGrantRefundCreate`](/api-reference/orders/mutations/order-grant-refund-create.md) mutation
