---
title: "Cancel Stripe checkout for paid tunnels project creation"
method: POST
path: "/api/workspaces/{workspaceId}/projects/tunnels/payment-checkout/cancel"
tags: ["projects"]
---

# Cancel Stripe checkout for paid tunnels project creation

`POST /api/workspaces/{workspaceId}/projects/tunnels/payment-checkout/cancel`

## Request

- Base URL: `https://rstream.io`
- URL: `https://rstream.io/api/workspaces/{workspaceId}/projects/tunnels/payment-checkout/cancel`
- Auth: HTTP bearer

## Path parameters

- `workspaceId` string, required

## Request body

- CancelTunnelsProjectCheckoutParams
  - `checkoutSessionId` string
  - `projectId` string

## Response `200`

Successful response.

- CancelTunnelsProjectCheckoutResponse
  - `canceled` true, required

## Other responses

- `400`: Request validation failed.
- `401`: Authentication is required.
- `403`: The token is not authorized.
- `404`: Workspace not found.

---

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