Hi Matiu,
Thanks for posting and welcome to the Community Forum.
I understand the importance of having all transactions match with the bank feeds. If the electronic payment was processed to the wrong bank account, we could correct it by deleting the electronic payment, this will return all transactions that make up for the electronic payment back to prepare the electronic payment screen. To find which transaction to delete, we could go to the Find transactions > Account tab > Electronic clearing account > Open the transaction recorded to the wrong bank account and delete it. After that, we could go back to Prepare Electronic Payment window.
Let us know if you require any further assistance with this.
Cheers,
Genreve