Create a billing portal session
Creates a Stripe-hosted billing portal session for an organization and returns its URL. The caller must be an admin of the organization named in the path: an admin of a different organization is refused, as are API keys and service credentials. The portal exposes invoices and payment methods and can change the subscription, so it is a person’s surface and there is no machine credential that opens one.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Organization ID
Body
Return URL where Stripe should send the user after they leave the billing portal
Where Stripe should send the user after they exit the customer portal.
"https://app.anthid.com/settings/billing"
Response
Billing portal session created
Stripe-hosted customer portal session URL.
"https://billing.stripe.com/p/session/test_123"