Let me provide some information about the credit made by mistake in QuickBooks Online.
Since the credit to the customer's credit card is incorrect, I suggest you proceed with contacting our QuickBooks Payments Team. One of them will need to take over and check if it's still possible to reverse the process.