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

# orderRefund Mutation

DEPRECATED

The legacy Payments API is deprecated and will be removed. Use the Transactions API instead.

Refund an order.

Requires the MANAGE\_ORDERS permission.

```graphql
orderRefund(
  amount: PositiveDecimal!
  id: ID!
): OrderRefund @deprecated
```

Details

```graphql
type OrderRefund {
  order: Order
  orderErrors: [OrderError!]! @deprecated
  errors: [OrderError!]!
}
```

<a id="arguments"></a>

### Arguments

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

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

Amount of money to refund.

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

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

ID of the order to refund.

<a id="type"></a>

### Type

<a id="orderrefund"></a>

#### [`OrderRefund`](/api-reference/orders/objects/order-refund.md)

Refund an order.

Requires the MANAGE\_ORDERS permission.
