---
title: "Generate Checkout New Url"
method: POST
path: "/billing/generate_user_plan_checkout/"
---

# Generate Checkout New Url

`POST /billing/generate_user_plan_checkout/`

## Request

- Base URL: `https://api.simple.ink` (the document declares no server; this is the origin it was published from)
- URL: `https://api.simple.ink/billing/generate_user_plan_checkout/`
- Auth: none declared

Generates a checkout url for the user to complete the purchase.

## Request body

- BillingTestIn
  - `plan_id` string, required
  - `site_id` string, uuid4, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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