# refundPayment

Refunds a captured payment, fully or partially. Refunds are validated against the captured operation (for `AUTH`+`CAPTURE` flows the capture operation is used). Repeated refund calls with the same `paymentId` and `amount` in quick succession are deduplicated. Account must have refunds enabled.

```
refundPayment(

  input: RefundPaymentInput!

): Payment
```

### Arguments[​](#arguments "Direct link to Arguments")

#### [`refundPayment.input`](#input) ● [`RefundPaymentInput!`](https://docs.monei.com/apis/graphql/types/inputs/refund-payment-input/.md) non-null input[​](#input "Direct link to input")

### Type[​](#type "Direct link to Type")

#### [`Payment`](https://docs.monei.com/apis/graphql/types/objects/payment/.md) object[​](#payment- "Direct link to payment-")

Payment returned from create/refund/capture/cancel and the send-link/receipt mutations.
