---
title: "Create Stripe Customer Portal session"
method: POST
path: "/api/v1/billing/portal"
tags: ["billing"]
---

# Create Stripe Customer Portal session

`POST /api/v1/billing/portal`

## Request

- Base URL: `https://slatehut.com`
- URL: `https://slatehut.com/api/v1/billing/portal`
- Auth: HTTP bearer

## Response `200`

Redirect URL for the portal

- BillingPortalResponse
  - `url` string, uri, required

## Other responses

- `400`: Validation or conflict error
- `401`: Missing or invalid credentials
- `403`: Not allowed for this resource
- `500`: Validation or conflict error

---

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