You can sell your ebooks through Amazon's Kindle program or Apple's iTunes Connect, which gives you access to a large majority of the digital-book reading market and the barriers for entry are incredibly low. You don't need to invest lots of money to make this happen, but you do need to invest lots of time, not only in writing the ebooks, but in marketing them as well.
You'll also need ecommerce software, fulfillment software, worry about warehousing, customer service and refunds. But that's not all. You'll also need traffic. Think search engine optimization, Facebook ads, and other social media campaigns. It is hard work, especially on your own. You could opt for Amazon's platform, which might be the easier route. But, then again, at the end of the day, this is a serious business, which could produce significant profits. So you're either all in or you're not.
Some advertisers offer multi-tier programs that distribute commission into a hierarchical referral network of sign-ups and sub-partners. In practical terms, publisher "A" signs up to the program with an advertiser and gets rewarded for the agreed activity conducted by a referred visitor. If publisher "A" attracts publishers "B" and "C" to sign up for the same program using his sign-up code, all future activities performed by publishers "B" and "C" will result in additional commission (at a lower rate) for publisher "A".