In this sentence, "difference" refers to the remaining amount or discrepancy in money that needs to be refunded.
For example, if a customer paid more than necessary for a product or service, the "difference" is the extra amount they overpaid, which will be refunded to them.
So, here, "refund the difference" means giving back the amount of money that was overpaid.