Stripe Payment / Prebuilt Checkout

I am looking to create a Stripe Checkout element / button on my page.
https://bbullis.homepo.st/preview/90d39ff5-6b50-460b-8db5-53ac648282bb

Here is some of the documention from Stripe I have been following. https://stripe.com/docs/checkout/integration-builder

Is this possible through a Builder.io page?

It’s definitely possible to achieve this in Builder! First, you’ll need an endpoint to create and update sessions from Stripe. On Builder’s side, you can then create a button with a click action defined to hit that endpoint.

How would you create that endpoint if you use Builder hosting?

I’m trying to create a button that takes you to Stripe’s pre-built checkout form and am not quite sure how I should approach it. Similar to the post above, I’m using this documentation from Stripe: https://stripe.com/docs/checkout/integration-builder