Kortexio Billing API

The Billing API from Kortexio — 6 operation(s) for billing.

GitHub OpenAPI

Operations 6

GET /api/tenants/me/usage Get usage #
POST /api/tenants/me/tier Change tier #
GET /api/tenants/me/billing/checkout-config Checkout config #
POST /api/tenants/me/billing/confirm Start checkout #
GET /api/tenants/me/invoices List invoices #
GET /api/tenants/me/invoices/{id}/pdf Download invoice PDF #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/kortexio-io:kortexio-io-billing-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

kortexio-io-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Kortexio Billing API
  description: 'Public integration API for Kortexio.


    - `/v1/chat/completions`, `/v1/models`, `/v1/embeddings` — OpenAI-compatible (App API key)

    - `/api/chat` — Ollama-compatible chat (App API key)

    - `/api/tenants/me/*` — Dashboard JWT (Keycloak) from the user app

    - `/api/tenants/signup` — Public, no auth


    Full developer docs: https://kortexio.io/docs'
  version: v1
tags:
- name: Billing
paths:
  /api/tenants/me/usage:
    get:
      tags:
      - Billing
      summary: Get usage
      description: Monthly usage summary for the tenant.
      responses:
        '200':
          description: OK
      security:
      - DashboardJwt: []
      operationId: getApiTenantsMeUsage
      x-operation-id-source: derived
  /api/tenants/me/tier:
    post:
      tags:
      - Billing
      summary: Change tier
      description: Upgrade or downgrade the tenant plan.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChangeTierRequest'
        required: true
      responses:
        '200':
          description: OK
      security:
      - DashboardJwt: []
      operationId: postApiTenantsMeTier
      x-operation-id-source: derived
  /api/tenants/me/billing/checkout-config:
    get:
      tags:
      - Billing
      summary: Checkout config
      description: Order summary for hosted Mollie checkout.
      parameters:
      - name: plan
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/TenantTier'
      - name: billing
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
      security:
      - DashboardJwt: []
      operationId: getApiTenantsMeBillingCheckoutConfig
      x-operation-id-source: derived
  /api/tenants/me/billing/confirm:
    post:
      tags:
      - Billing
      summary: Start checkout
      description: Create Mollie hosted checkout session and return redirect URL.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConfirmBillingCheckoutRequest'
        required: true
      responses:
        '200':
          description: OK
      security:
      - DashboardJwt: []
      operationId: postApiTenantsMeBillingConfirm
      x-operation-id-source: derived
  /api/tenants/me/invoices:
    get:
      tags:
      - Billing
      summary: List invoices
      description: List billing invoices for the tenant.
      responses:
        '200':
          description: OK
      security:
      - DashboardJwt: []
      operationId: getApiTenantsMeInvoices
      x-operation-id-source: derived
  /api/tenants/me/invoices/{id}/pdf:
    get:
      tags:
      - Billing
      summary: Download invoice PDF
      description: Generate or download a PDF for a billing invoice.
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
      security:
      - DashboardJwt: []
      operationId: getApiTenantsMeInvoicesByIdPdf
      x-operation-id-source: derived
components:
  schemas:
    ConfirmBillingCheckoutRequest:
      type: object
      properties:
        tier:
          $ref: '#/components/schemas/TenantTier'
        billingInterval:
          type:
          - string
          - 'null'
        vat:
          $ref: '#/components/schemas/BillingVatDetails'
      additionalProperties: false
    BillingVatDetails:
      type: object
      properties:
        countryCode:
          type:
          - string
          - 'null'
        vatNumber:
          type:
          - string
          - 'null'
        billingAddress:
          type:
          - string
          - 'null'
      additionalProperties: false
    TenantTier:
      enum:
      - 0
      - 1
      - 2
      - 3
      type: integer
      format: int32
    ChangeTierRequest:
      type: object
      properties:
        tier:
          $ref: '#/components/schemas/TenantTier'
      additionalProperties: false
  securitySchemes:
    AppApiKey:
      type: http
      description: App API key from the dashboard (`cmk_live_...`).
      scheme: bearer
      bearerFormat: API Key
    DashboardJwt:
      type: http
      description: Keycloak JWT from the user dashboard.
      scheme: bearer
      bearerFormat: JWT