There is no facility for making deductions, it is all or nothing. Only business sellers can refund less than full amount.
To be honest, buyer’s fault, let him request a refund. By agreement with buyer you could agree a partial refund, but if seller went about it the right way, through his payment provider, he could still get a full refund.