# RefundPaymentInput

Input for `refundPayment`.

```
input RefundPaymentInput {

  paymentId: ID!

  amount: Int!

  refundReason: RefundReason

}
```

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

#### [`RefundPaymentInput.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 refund.

#### [`RefundPaymentInput.amount`](#amount) ● [`Int!`](https://docs.monei.com/es/es/apis/graphql/types/scalars/int/.md) non-null scalar[​](#amount "Enlace directo al amount")

The amount to refund, which must be less than or equal to the original amount.

#### [`RefundPaymentInput.refundReason`](#refund-reason) ● [`RefundReason`](https://docs.monei.com/es/es/apis/graphql/types/enums/refund-reason/.md) enum[​](#refund-reason "Enlace directo al refund-reason")

The reason for refunding the Payment.

### Member Of[​](#member-of "Enlace directo al Member Of")

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