Most banks will reject an IRS direct deposit unless the name and SSN of the taxpayer matches the name and SSN of the account holder. If you have a joint account with both names and both SSNs, the bank will probably accept the refund, but only your bank can tell you for sure.