Affiliate marketing, like any other business, involves making money. As it is counted as income and you need to pay expenses, you also need to pay taxes.  You need to consider all the money you make and pay taxes accordingly.