I can provide the steps on how to post a credit to a credit card from a vendor, valenciasg2-gmai.
QuickBooks Online allows you to format the CSV file you got from your bank to upload transactions to QuickBooks. Hence, you can import again those transactions.