Money does not disappear in the banking system, I would imagine that money eould eventuslly find its way back to the sender, ebay, but may take some time.
Do you mean the account number was also wrong, as if the correct Bank, Branch and Account number, I would think it would arrive whatever name was on it.
I have been retired for a long time, and systems have probably changed, but in my day a credit which could not be applied to an account would be on its way back to senders bank within 2 days.
There are links which you can use to see the bank account details to which money is sent, and it is up to account holder to see that they are up to date. I think it is most unlikely that ebay got the information wrong as it would merely be the information that you supplied.