Create subscription management session

Creates an Aura-hosted Stripe Billing Portal session where the authenticated customer can manage or cancel their subscription and payment details. Redirect the customer to the returned `url`; they return to your `returnUrl` when done. The customer is resolved from the access token. This operation requires AURA-managed Stripe credentials on the customer source and a Stripe customer ID linked to the customer; otherwise it returns `400`.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
returnUrlstringRequiredformat: "uri"
Where the customer is redirected after managing their subscription.
localestringOptional
Optional locale for the hosted experience.
configurationstringOptional
Optional portal configuration identifier.

Response

Successful.
urlstringOptionalformat: "uri"
Hosted URL to redirect the customer to.

Errors

400
Bad Request Error
401
Unauthorized Error