Hello,
If the bank rejects your deposit then the IRS will mail a check to the address on your return. You can check out this link for more info or here .
Thank you!