No, you do not have to pay taxes on your buyer rebate. And yes, of course, it is legal. Some agents say it is not legal to discourage the practice.