> ## Documentation Index
> Fetch the complete documentation index at: https://docs.korve.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Checkout

> Start checkout to activate the organization. Returns a hosted payment URL.



## OpenAPI

````yaml /openapi.json post /v1/orgs/{orgId}/billing/checkout
openapi: 3.1.0
info:
  title: Korve API
  version: 0.1.0
  description: >-
    Typed control plane for deploying applications and explicitly provisioning
    their managed infrastructure.
servers:
  - url: https://api.korve.dev
security: []
paths:
  /v1/orgs/{orgId}/billing/checkout:
    post:
      tags:
        - billing
      summary: Create Checkout
      description: >-
        Start checkout to activate the organization. Returns a hosted payment
        URL.
      operationId: billing.createCheckout
      parameters:
        - name: orgId
          in: path
          required: true
          schema:
            type: string
          description: The organization's id (UUID) or slug — either form is accepted.
      requestBody:
        required: false
        x-korve-max-bytes: 1048576
        content:
          application/json:
            schema:
              type: object
              properties:
                successUrl:
                  type: string
                cancelUrl:
                  type: string
      responses:
        '200':
          description: Checkout session.
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                required:
                  - url
        '409':
          description: Organization is already active.
      security:
        - session: []
components:
  securitySchemes:
    session:
      type: apiKey
      in: cookie
      name: korve.session_token

````