Thus, a million little acquisitions to make the possible Stripe bundle for small companies stronger, as they become the moat. The opposite of, say, the Adyen play, when you want to lower your own costs, and make money on tiny margins to do processing for really large companies.
There are also a couple of advantages. They can take money directly from revenue before it leaves Stripes and without any processing costs. They can also invest into startups through credits and financing. And finally, their exposure to bankruptcy risk can drop as well.
Fraud detection is really, really, really, really hard so I would probably stick with someone like Stripe for this, as they have so much data that they can do a really good job.
And fundamentally, the moat for Stripe isn't just the front-end APIs, it's all the work that they do (and there's a lot) in connecting together financial infrastructure. Even if you could wave a magic wand and generate all the code Stripe has (which you can't, currently) then you'd still need to build out all the partnerships, which is a lot of work.
Disclaimer: former Stripe (though only a tourist), still hold some of their shares.
If you don't like a government regulating a market then you haven't seen a company do it.