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

# paymentCapture Mutation

DEPRECATED

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

Captures the authorized payment amount.

Requires the MANAGE\_ORDERS permission.

```graphql
paymentCapture(
  amount: PositiveDecimal
  paymentId: ID!
): PaymentCapture @deprecated
```

Details

```graphql
type PaymentCapture {
  payment: Payment
  paymentErrors: [PaymentError!]! @deprecated
  errors: [PaymentError!]!
}
```

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

### Arguments

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

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

Transaction amount.

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

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

Payment ID.

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

### Type

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

#### [`PaymentCapture`](/api-reference/payments/objects/payment-capture.md)

Captures the authorized payment amount.

Requires the MANAGE\_ORDERS permission.
