Kairon Billing API

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

GitHub OpenAPI

Operations 7

POST /api/billing/checkout Billing controller checkout #
PUT /api/billing/addons/cold-email Billing controller set cold email #
GET /api/billing/auto-top-up Billing controller auto top up #
PUT /api/billing/auto-top-up Billing controller set auto top up #
GET /api/billing/me Billing controller me #
POST /api/billing/portal Billing controller portal #
POST /api/billing/reconcile Billing controller reconcile #

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/heykairon-com:heykairon-com-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

heykairon-com-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Kairon Billing API
  description: B2B agentic go-to-market platform
  version: 0.0.0
  contact: {}
servers: []
security:
- api-key: []
tags:
- name: Billing
paths:
  /api/billing/checkout:
    post:
      operationId: BillingController_checkout
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BillingCheckoutDto'
      responses:
        '201':
          description: ''
      tags:
      - Billing
      summary: Billing controller checkout
      x-summary-source: derived
  /api/billing/addons/cold-email:
    put:
      operationId: BillingController_setColdEmail
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ColdEmailDto'
      responses:
        '200':
          description: ''
      tags:
      - Billing
      summary: Billing controller set cold email
      x-summary-source: derived
  /api/billing/auto-top-up:
    get:
      operationId: BillingController_autoTopUp
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - Billing
      summary: Billing controller auto top up
      x-summary-source: derived
    put:
      operationId: BillingController_setAutoTopUp
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AutoTopUpDto'
      responses:
        '200':
          description: ''
      tags:
      - Billing
      summary: Billing controller set auto top up
      x-summary-source: derived
  /api/billing/me:
    get:
      operationId: BillingController_me
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - Billing
      summary: Billing controller me
      x-summary-source: derived
  /api/billing/portal:
    post:
      operationId: BillingController_portal
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - Billing
      summary: Billing controller portal
      x-summary-source: derived
  /api/billing/reconcile:
    post:
      operationId: BillingController_reconcile
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - Billing
      summary: Billing controller reconcile
      x-summary-source: derived
components:
  schemas:
    BillingCheckoutDto:
      type: object
      properties:
        plan:
          type: string
          const: starter
          x-nestjs_zod-uses-3-point-1-syntax: true
      required:
      - plan
    ColdEmailDto:
      type: object
      properties:
        tier:
          anyOf:
          - type: string
            enum:
            - cold_email_1k
            - cold_email_25k
          - type: 'null'
          x-nestjs_zod-uses-3-point-1-syntax: true
          x-nestjs_zod-empty-type: true
      required:
      - tier
    AutoTopUpDto:
      type: object
      properties:
        enabled:
          type: boolean
        thresholdUsd:
          type: integer
          minimum: 1
          maximum: 1000
        amountUsd:
          type: integer
          minimum: 5
          maximum: 1000
        monthlyLimitUsd:
          type: integer
          minimum: 5
          maximum: 10000
      required:
      - enabled
      - thresholdUsd
      - amountUsd
      - monthlyLimitUsd
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: x-api-key
      description: 'A Kairon API key (Settings → Integrations → API access), sent as `x-api-key`. NOT an `Authorization: Bearer` token — that header belongs to the separate /mcp door and is ignored here.'
    session:
      type: apiKey
      in: cookie
      name: better-auth.session_token