> For the complete documentation index, see [llms.txt](https://docs.getsphere.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getsphere.com/features/integrations/api/example-billing-flows-with-stripe.md).

# Example Billing Flows with Stripe

You have the option to either:&#x20;

* Create custom checkouts using Stripe Elements - this allows for greater flexibility and customization of the payment form, or&#x20;
* Utilize Stripe-hosted Checkouts - where Stripe manages the entire checkout experience for you.&#x20;

Both methods involve incorporating the Sphere API to calculate taxes, ensuring accurate tax rates are applied during the checkout process.

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-type="content-ref"></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td><strong>Stripe Elements</strong></td><td><a href="/pages/QVGfPAnfH9vmRTIoTZ7n">/pages/QVGfPAnfH9vmRTIoTZ7n</a></td><td><a href="/pages/QVGfPAnfH9vmRTIoTZ7n">/pages/QVGfPAnfH9vmRTIoTZ7n</a></td><td data-object-fit="cover"><a href="/files/lrcqDpweC07eNTYzY40X">/files/lrcqDpweC07eNTYzY40X</a></td></tr><tr><td><strong>Stripe-hosted Checkout</strong></td><td><a href="/pages/hjw2DdayxQyLPDKOBVcY">/pages/hjw2DdayxQyLPDKOBVcY</a></td><td><a href="/pages/hjw2DdayxQyLPDKOBVcY">/pages/hjw2DdayxQyLPDKOBVcY</a></td><td><a href="/files/1AjU2YAYFqnEY9HJhbAK">/files/1AjU2YAYFqnEY9HJhbAK</a></td></tr></tbody></table>
