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

# Start a Premium checkout

> A Stripe Checkout link where the person subscribes their Personal account to Premium, monthly or yearly. Open it in a browser; Premium starts once Stripe confirms payment. An account already on Premium gets its Settings page instead, and one with a subscription the billing portal. An open checkout for the other interval is kept unless replace_existing is true: the link is then a Settings page that asks to replace it.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/billing/checkout
openapi: 3.1.0
info:
  title: Pomerado API
  version: '1'
  description: >-
    Run and build website tools, follow their jobs, and manage logins, API keys
    and webhooks. Authenticate with a Pomerado API key (pom_…), an MCP OAuth
    token or a Dashboard session as a Bearer token.
servers:
  - url: https://api.pomerado.ai
security: []
tags:
  - name: account
    x-group: Account
  - name: api_keys
    x-group: API keys
  - name: usage
    x-group: Usage
  - name: quota
    x-group: Quota
  - name: billing
    x-group: Billing
  - name: integrations
    x-group: Integrations
  - name: connect
    x-group: Connect
  - name: tools
    x-group: Tools
  - name: webhooks
    x-group: Webhooks
paths:
  /v1/billing/checkout:
    post:
      tags:
        - billing
      summary: Start a Premium checkout
      description: >-
        A Stripe Checkout link where the person subscribes their Personal
        account to Premium, monthly or yearly. Open it in a browser; Premium
        starts once Stripe confirms payment. An account already on Premium gets
        its Settings page instead, and one with a subscription the billing
        portal. An open checkout for the other interval is kept unless
        replace_existing is true: the link is then a Settings page that asks to
        replace it.
      operationId: billing.checkout
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              required: []
              properties:
                interval:
                  type: string
                  enum:
                    - monthly
                    - yearly
                  description: Default monthly
                replace_existing:
                  type: boolean
                  description: >-
                    Replace an open checkout for the other interval instead of
                    answering a page that asks to (default false)
              additionalProperties: false
      responses:
        '200':
          description: The page to open
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillingLink'
        '400':
          description: invalid_request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: unauthorized, reauthentication_required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: request_too_large
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '501':
          description: not_configured
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: temporarily_unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearer: []
components:
  schemas:
    BillingLink:
      type: object
      required:
        - url
      properties:
        url:
          type: string
          description: The page to open in a browser
      additionalProperties: false
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - retryable
            - docs_url
          properties:
            code:
              type: string
            message:
              type: string
            retryable:
              type: boolean
            docs_url:
              type: string
            details:
              type: object
              required: []
              properties: {}
              additionalProperties:
                $id: /schemas/unknown
          additionalProperties: false
      additionalProperties: false
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.