> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.aurasos.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.aurasos.com/_mcp/server.

# Subscription management

AURA can host a subscription-management experience so a customer can update or
cancel their own subscription — without you building billing UI. Like
[hosted signup](/overview/embedded-flows/customer-signup), it's available to any
integration, not only white-label apps, when the customer source is configured
with AURA-managed Stripe credentials and the customer has a linked Stripe
customer ID.

## How it works

Create a session for the authenticated customer with a `returnUrl`, then redirect
them to the `url` in the response. There they can manage their plan and payment
details; changes flow back into AURA and emit the usual
[subscription webhooks](/overview/core-concepts/webhooks).

> **Note**
>
> The customer is resolved **from the access token** — a plain server token has
> no customer context and is rejected. A customer-scoped credential is required.
> The endpoint also returns `400` when Stripe is not configured for the customer
> source or the customer has no Stripe customer ID. Contact your AURA
> representative before implementing this flow to confirm authentication and
> Stripe provisioning for your integration.

See [Embedded flows](/overview/embedded-flows/overview) for the shared
embedding pattern and sample starter project.

## In the API Reference

* [Create a subscription-management session](/api-reference/subscription-sessions/create-subscription-management-session)
* [Subscriptions](/api-reference/subscriptions) — programmatic subscription endpoints.