---
title: "Create a Stripe checkout session"
method: POST
path: "/api/workspaces/{workspaceId}/billing/checkout"
tags: ["Billing"]
---

# Create a Stripe checkout session

`POST /api/workspaces/{workspaceId}/billing/checkout`

## Request

- Base URL: `https://hiveship.app/api`
- URL: `https://hiveship.app/api/api/workspaces/{workspaceId}/billing/checkout`
- Auth: API key in cookie `hiveship_access`

## Path parameters

- `workspaceId` string, required

## Response `200`

Checkout URL

---

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