you pay back to your employer the full amount "in its entirety", and then u file an amended tax return for the earlier yr when u received the bonus, to take away that bonus, and u should get the tax back from the govt.