RMA restocking fee

hi all,

is there a way to charge a restocking fee for an item that is refunded ?

i want to set it up so if an item is sold, but the purchaser wants to refund it based on “change of mind” and not faulty or DOA.

help is greatly appreciated.