Контекстолог Billing API

The Billing API from Контекстолог — 8 operation(s) for billing.

GitHub OpenAPI

Operations 8

GET /billing Billing #
POST /billing/pay Billing Pay #
POST /billing/invoice Billing Invoice #
GET /billing/invoice/{payment_id} Billing Invoice View #
GET /billing/usdt/{payment_id} Billing Usdt #
POST /billing/check/{payment_id} Billing Check #
GET /billing/platega/{payment_id} Billing Platega #
POST /billing/plan Billing Plan #

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/kontekstolog-online:kontekstolog-online-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

kontekstolog-online-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Контекстолог Billing API
  version: 0.1.0
tags:
- name: Billing
paths:
  /billing:
    get:
      summary: Billing
      operationId: billing_billing_get
      parameters:
      - name: error
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Error
      - name: notice
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Notice
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Billing
  /billing/pay:
    post:
      summary: Billing Pay
      description: Онлайн-счёт уводит на страницу Platega, USDT — на страницу перевода.
      operationId: billing_pay_billing_pay_post
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_billing_pay_billing_pay_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Billing
  /billing/invoice:
    post:
      summary: Billing Invoice
      description: Счёт на безналичную оплату от полугода — для тех, кому нужен договор и платёжка.
      operationId: billing_invoice_billing_invoice_post
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_billing_invoice_billing_invoice_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Billing
  /billing/invoice/{payment_id}:
    get:
      summary: Billing Invoice View
      operationId: billing_invoice_view_billing_invoice__payment_id__get
      parameters:
      - name: payment_id
        in: path
        required: true
        schema:
          type: integer
          title: Payment Id
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Billing
  /billing/usdt/{payment_id}:
    get:
      summary: Billing Usdt
      description: 'Страница перевода USDT: адрес, точная сумма, QR. Статус обновляется сам.'
      operationId: billing_usdt_billing_usdt__payment_id__get
      parameters:
      - name: payment_id
        in: path
        required: true
        schema:
          type: integer
          title: Payment Id
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Billing
  /billing/check/{payment_id}:
    post:
      summary: Billing Check
      operationId: billing_check_billing_check__payment_id__post
      parameters:
      - name: payment_id
        in: path
        required: true
        schema:
          type: integer
          title: Payment Id
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_billing_check_billing_check__payment_id__post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Billing
  /billing/platega/{payment_id}:
    get:
      summary: Billing Platega
      operationId: billing_platega_billing_platega__payment_id__get
      parameters:
      - name: payment_id
        in: path
        required: true
        schema:
          type: integer
          title: Payment Id
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Billing
  /billing/plan:
    post:
      summary: Billing Plan
      operationId: billing_plan_billing_plan_post
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_billing_plan_billing_plan_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Billing
components:
  schemas:
    Body_billing_check_billing_check__payment_id__post:
      properties:
        csrf:
          type: string
          title: Csrf
          default: ''
      type: object
      title: Body_billing_check_billing_check__payment_id__post
    Body_billing_pay_billing_pay_post:
      properties:
        csrf:
          type: string
          title: Csrf
          default: ''
        plan:
          type: string
          title: Plan
          default: ''
        months:
          type: integer
          title: Months
          default: 1
        provider:
          type: string
          title: Provider
          default: platega
      type: object
      title: Body_billing_pay_billing_pay_post
    Body_billing_plan_billing_plan_post:
      properties:
        csrf:
          type: string
          title: Csrf
          default: ''
        plan:
          type: string
          title: Plan
      type: object
      required:
      - plan
      title: Body_billing_plan_billing_plan_post
    Body_billing_invoice_billing_invoice_post:
      properties:
        csrf:
          type: string
          title: Csrf
          default: ''
        plan:
          type: string
          title: Plan
        months:
          type: integer
          title: Months
          default: 6
        company:
          type: string
          title: Company
          default: ''
        inn:
          type: string
          title: Inn
          default: ''
        kpp:
          type: string
          title: Kpp
          default: ''
        address:
          type: string
          title: Address
          default: ''
      type: object
      required:
      - plan
      title: Body_billing_invoice_billing_invoice_post
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError