Add Stripe Customer Portal session API for account billing.
Expose POST /api/finance/portal/ so authenticated users can open Stripe's hosted portal for plan changes, payment methods, and cancellations (chat_web_app#33 companion).
This commit is contained in:
@@ -70,6 +70,7 @@ STRIPE_PRICE_ID=
|
||||
FRONTEND_BASE_URL=https://chat.aimloperations.com
|
||||
# STRIPE_CHECKOUT_SUCCESS_URL=https://chat.aimloperations.com/billing/success?session_id={CHECKOUT_SESSION_ID}
|
||||
# STRIPE_CHECKOUT_CANCEL_URL=https://chat.aimloperations.com/billing/cancel
|
||||
# STRIPE_PORTAL_RETURN_URL=https://chat.aimloperations.com/account/
|
||||
|
||||
# Gunicorn / ASGI (UvicornWorker for WebSockets)
|
||||
GUNICORN_WORKERS=2
|
||||
|
||||
Reference in New Issue
Block a user