A customer portal session gives a customer a short-lived authenticated URL to manage their own subscriptions — cancel, view billing history, and update payment methods.Documentation Index
Fetch the complete documentation index at: https://docs.stellartools.dev/llms.txt
Use this file to discover all available pages before exploring further.
The portal session object
The URL to redirect the customer to. Valid until
expires_at.The session token embedded in the URL.
ISO 8601 timestamp. The session expires shortly after creation.
Create a portal session
POST /customers/{customer_id}/portal
Create a session and redirect the customer to the returned url. The URL is single-use and short-lived — generate it on demand, never store it.

