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

# orderCapture Mutation

DEPRECATED

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

Capture an order.

Requires the MANAGE\_ORDERS permission.

```graphql
orderCapture(
  amount: PositiveDecimal!
  id: ID!
): OrderCapture @deprecated
```

Details

```graphql
type OrderCapture {
  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 capture.

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

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

ID of the order to capture.

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

### Type

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

#### [`OrderCapture`](/api-reference/orders/objects/order-capture.md)

Capture an order.

Requires the MANAGE\_ORDERS permission.
