---
title: "Create Customer Portal Session"
method: POST
path: "/billing/customer-portal"
tags: ["billing"]
---

# Create Customer Portal Session

`POST /billing/customer-portal`

Create a Stripe Customer Portal session for subscription management.
Allows users to update payment methods, cancel subscriptions, view invoices, etc.
Requires authentication via Stytch session token.

## Request body

- CustomerPortalRequest
  - `email` string, nullable

## Response `200`

Successful Response

- CustomerPortalResponse
  - `url` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/tryscott/apis/one-shot-api.md) · [All operations](https://skmtc.dev/tryscott/apis/one-shot-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tryscott/one-shot-api/revisions/28bdface01df/schema)
