Use the releaseReservation method to release a reservation instead of capturing it.

If you use the releaseReservation on a payment that was reserved using the payment type, but later captured using the paymentAndCapture type - that payment will be refunded. This can happen when an acquirer doesn't support the payment type for captures. This applies to Swish, PPS, ING, PNB Paribas, Rabobank, Swedbank - Lithuania, SEB - Lithuania, Handelsbanken - Finland, OP-Pohjola - Finland, Danske Bank - Finland, Nordea - Lithuania, Nordea - Finland, Nordea - Sweden, Przelewy24, Paysera, Sofort.

It is not possible to release part of a reservation. A release always covers the full amount of the reservation.