If the info you provided is for a closed or invalid account, the government will mail you a refund check.
If you haven't filed yet, you can still change your bank account info for direct deposit.
And how long would that take?
That will add about 2-3 weeks to the time it takes to get your refund.