---
title: "Create a Stripe Billing Portal session"
method: POST
path: "/stripe/portal"
tags: ["Billing"]
---

# Create a Stripe Billing Portal session

`POST /stripe/portal`

## Request

- Base URL: `https://api.apphandoff.com/api`
- URL: `https://api.apphandoff.com/api/stripe/portal`
- Auth: API key in cookie `sb-access-token`

## Request body

- object

## Response `200`

Portal session URL

- object
  - `url` string, uri, required

## Other responses

- `401`: Not authenticated
- `404`: No Stripe customer on file

---

[API](https://skmtc.dev/apphandoff/apis/apphandoff-api.md) · [All operations](https://skmtc.dev/apphandoff/apis/apphandoff-api/llms.txt) · [OpenAPI document](https://skmtc.dev/apphandoff/apis/apphandoff-api/revisions/9f138fe46d56?raw)
