Yeah but Stripe doesn’t get to keep most of those fees - it’s mostly interchange which goes to Visa which is then distributed to the issuing bank of the credit card
That's just as logical as if I were to build a value-added service on top of AWS, or if I bought things on Alibaba and then sold them in America.