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, 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.
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 for the shared embedding pattern and sample starter project.
In the API Reference
- Create a subscription-management session
- Subscriptions — programmatic subscription endpoints.
