# CapturePaymentInput

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

```
input CapturePaymentInput {

  paymentId: ID!

  amount: Int

}
```

### Fields[​](#fields "Enlace directo al Fields")

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

Payment id to capture.

#### [`CapturePaymentInput.amount`](#amount) ● [`Int`](https://docs.monei.com/es/es/apis/graphql/types/scalars/int/.md) scalar[​](#amount "Enlace directo al 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 "Enlace directo al Member Of")

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