From what I saw in the news, it doesn’t appear Stripe has had any problems attracting funding without going public.
When you are Stripe big, what does YC do for you that you can't do with your own money printing machine? Aside from cash, there must be other advantages to having investors.