---
title: "Create a Stripe customer portal session"
method: POST
path: "/billing/portal"
---

# Create a Stripe customer portal session

`POST /billing/portal`

## Request

- Base URL: `https://ship.page`
- URL: `https://ship.page/billing/portal`
- Auth: HTTP bearer

## Response `200`

Redirect the user to `url`.

- object
  - `url` string, uri, required

## Other responses

- `401`: Missing or invalid credential.

## Changes

- **2026-10-20** `99aad34506e8`: 14 warning
  - added the new `already_live` enum value to the `code` response property for the response status `401`
  - added the new `blocked` enum value to the `code` response property for the response status `401`
  - added the new `busy` enum value to the `code` response property for the response status `401`
  - added the new `content_changed` enum value to the `code` response property for the response status `401`
  - …10 more

[Operation history](https://skmtc.dev/ship/apis/ship-page/changes/billing/portal/post.md)

---

[API](https://skmtc.dev/ship/apis/ship-page.md) · [All operations](https://skmtc.dev/ship/apis/ship-page/llms.txt) · [OpenAPI document](https://skmtc.dev/ship/apis/ship-page/revisions/99aad34506e8?raw)
