Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is this not exactly what you are looking for?

https://docs.stripe.com/checkout/quickstart



But that's deceptive and not all you need. You wind up having to learn about all of the lifecycle and state machine pieces anyway.

The API surface area is large and cluttered with stuff that's entirely irrelevant to most business types, yet you have to understand which parts of the API, checkout session, and webhook callback payloads are relevant and mutate your subscription state.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: