A refund based on a purchase is dependent on the vendor procedures.
But a vendor employee with a manager role, can log in to the vendor app or vendor portal and reverse the transaction.