---
title: "POST /payment/start"
method: POST
path: "/payment/start"
tags: ["payment"]
---

# POST /payment/start

`POST /payment/start`

Create a new stripe checkout session or redirect to the customer billing portal.

## Request body

- object
  - `billingPlan` union, required
    - 'pro_monthly'
    - 'pro_yearly'
  - `redirectUrl` string
  - `flow` 'oss-agent'

## Response `200`

Default Response

## Other responses

- `400` — Bad request
- `401` — No auth
- `403` — Forbidden
- `404` — Not found
- `422` — Invalid payload
- `500` — Uncaught error

---

[API](https://skmtc.net/scalar/apis/core.md) · [All operations](https://skmtc.net/scalar/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scalar/core/versions/f2eb95a82c72/schema)
