After a partial refund, the payment has state is 'refunded' which prevents further refunds because the state machine transition can't be re-applied.
Quickpay also allows partial capture, which creates the same issue.
Possible solution:
Apply the corresponding transitions to current payments with the given partial amounts and create new payments with the remaining amount.