Customer Portal Flow

The Customer Portal functionality enables your users to manage their own billing, subscriptions, and payment methods — all through a secure, Stripe-hosted experience. With a single API call, you can generate a link that takes your authenticated customer directly to their Stripe billing portal.

This eliminates the need to build subscription management UI yourself, and ensures your billing processes are secure.

1

Authenticate

Before generating the portal link, ensure the user is authenticated in your system and has a valid JWT access token. This token must be passed to the Fusion API to identify the user and their Stripe customer record.

2

Generate

Use the following Generate Customer Portal URL endpoint to retrieve the customer portal URL.

3

Redirect

You can now send the user to the portal with a simple redirect.

window.location.href = response.portal_url;

Update payment methods

Allows users to securely add, update, or remove their saved payment methods through Stripe's hosted interface.

Cancel or pause subscriptions

Give users the flexibility to cancel or temporarily pause their subscription directly from the portal — no support tickets needed.

View billing history and invoices

Customers can easily access and download past invoices, view billing dates, and keep track of their payment history.

Switch plans

Let users upgrade or downgrade their subscription plans instantly, based on the pricing options you've enabled in Stripe.

Was this section helpful?

What made this section unhelpful for you?

On this page
  • Customer Portal Flow