Skip to main content

Purpose

Creates a Stripe Customer Portal session for subscription management.

Architecture

Request Body

{
  "return_url": "https://app.searchcompany.ai/settings/billing"
}

Response Format

{
  "url": "https://billing.stripe.com/session/..."
}

Code Location

src/app/apis/settings_billing/billing_portal/routes.py