# CapturePaymentInput

Input for `capturePayment`. Requires the payment to be in `AUTHORIZED` state.

```
input CapturePaymentInput {

  paymentId: ID!

  amount: Int

}
```

### Fields[​](#fields "Direct link to Fields")

#### [`CapturePaymentInput.paymentId`](#payment-id) ● [`ID!`](https://docs.monei.com/apis/graphql/types/scalars/id/.md) non-null scalar[​](#payment-id "Direct link to payment-id")

Payment id to capture.

#### [`CapturePaymentInput.amount`](#amount) ● [`Int`](https://docs.monei.com/apis/graphql/types/scalars/int/.md) scalar[​](#amount "Direct link to amount")

The amount to capture, which must be less than or equal to the original amount. Any additional amount will be automatically refunded. Defaults to the authorized amount when omitted.

### Member Of[​](#member-of "Direct link to Member Of")

[`capturePayment`](https://docs.monei.com/apis/graphql/operations/mutations/capture-payment/.md) mutation
