30MHz Billing History API

The billing-history API from 30MHz — 6 operation(s) for billing-history.

Operations 8

GET /billing-history/organization/{organizationId}/year/{year}/month/{month} Return billing history #
DELETE /billing-history/organization/{organizationId}/year/{year}/month/{month} Remove billing history for a specific organization and month, including the… #
GET /billing-history/organization/{organizationId} Return billing history #
POST /billing-history/organization/{organizationId}/forecast Return billing history forecast for current month #
GET /billing-history/all-organizations/year/{year}/month/{month} Return billing history for a specific month for all organisations that are… #
GET /billing-history/all-organizations Return billing history for all organisations that are billable #
POST /billing-history/all-organizations Generate billing history records for every billable organization for the past… #
POST /billing-history Create billing history entry for an organization #

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/30mhz-billing-history-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

30mhz-billing-history-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2.0'
  title: ZENSIE Billing History API
servers:
- url: https://api.30mhz.com/api
tags:
- name: billing-history
paths:
  /billing-history/organization/{organizationId}/year/{year}/month/{month}:
    get:
      tags:
      - billing-history
      summary: Return billing history
      description: Authentication required for this operation.
      operationId: getBillingHistoryByOrganizationIdAndMonth
      parameters:
      - name: organizationId
        in: path
        required: true
        schema:
          type: string
      - name: year
        in: path
        required: true
        schema:
          type: string
      - name: month
        in: path
        required: true
        schema:
          type: string
      security:
      - Bearer: []
      responses:
        '200':
          description: Billing history record returned
        '403':
          description: Not enough permissions to perform the operation
      x-admin-only: true
    delete:
      tags:
      - billing-history
      summary: Remove billing history for a specific organization and month, including the…
      description: Operation reserved to administrators.
      operationId: deleteBillingHistoryByOrganizationAndMonth
      parameters:
      - name: organizationId
        in: path
        required: true
        schema:
          type: string
      - name: year
        in: path
        required: true
        schema:
          type: string
      - name: month
        in: path
        required: true
        schema:
          type: string
      security:
      - Bearer: []
      responses:
        '200':
          description: Billing history records removed
        '403':
          description: User not allowed to perform this operation. Should be admin.
        '404':
          description: No billing history for the organization in that month.
      x-admin-only: true
  /billing-history/organization/{organizationId}:
    get:
      tags:
      - billing-history
      summary: Return billing history
      description: Authentication required for this operation.
      operationId: getBillingHistoryByOrganizationId
      parameters:
      - name: organizationId
        in: path
        required: true
        schema:
          type: string
      security:
      - Bearer: []
      responses:
        '200':
          description: List of billing history records returned
        '403':
          description: Not enough permissions to perform the operation
      x-admin-only: true
  /billing-history/organization/{organizationId}/forecast:
    post:
      tags:
      - billing-history
      summary: Return billing history forecast for current month
      description: Authentication required for this operation.
      operationId: getBillingHistoryForecastForCurrentMonth
      parameters:
      - name: organizationId
        in: path
        required: true
        schema:
          type: string
      security:
      - Bearer: []
      responses:
        '200':
          description: Billing history record returned
        '403':
          description: Not enough permissions to perform the operation
      x-admin-only: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BillingHistoryForecastRequest'
          application/xml:
            schema:
              $ref: '#/components/schemas/BillingHistoryForecastRequest'
  /billing-history/all-organizations/year/{year}/month/{month}:
    get:
      tags:
      - billing-history
      summary: Return billing history for a specific month for all organisations that are…
      description: Operation reserved to administrators.
      operationId: getBillingHistoryOrganisationsByMonth
      parameters:
      - name: year
        in: path
        required: true
        schema:
          type: string
      - name: month
        in: path
        required: true
        schema:
          type: string
      security:
      - Bearer: []
      responses:
        '200':
          description: Billing history records returned
        '403':
          description: Not enough permissions to perform the operation
  /billing-history/all-organizations:
    get:
      tags:
      - billing-history
      summary: Return billing history for all organisations that are billable
      description: Operation reserved to administrators.
      operationId: getBillingHistoryOrganisationsCurrentMonth
      security:
      - Bearer: []
      responses:
        '200':
          description: Billing history records returned
        '403':
          description: Not enough permissions to perform the operation
    post:
      tags:
      - billing-history
      summary: Generate billing history records for every billable organization for the past…
      description: Authentication required for this operation.
      operationId: createSqsBillingHistoryRequest
      security:
      - Bearer: []
      responses:
        '200':
          description: Billing History requests created for all the billable organizations.
        '403':
          description: Not enough permissions to perform the operation. User must be admin.
      x-admin-only: true
      requestBody:
        content:
          application/json:
            schema:
              type: object
          application/xml:
            schema:
              type: object
  /billing-history:
    post:
      tags:
      - billing-history
      summary: Create billing history entry for an organization
      description: Authentication required for this operation.
      operationId: createSqsBillingHistoryRequestForOrganization
      security:
      - Bearer: []
      responses:
        '200':
          description: Billing History request created
        '403':
          description: Not enough permissions to perform the operation
        '404':
          description: Organization does not exist
        '400':
          description: The organization is not billable
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BillingHistoryRequest'
          application/xml:
            schema:
              $ref: '#/components/schemas/BillingHistoryRequest'
components:
  schemas:
    BillingHistoryRequest:
      type: object
      properties:
        month:
          type: string
        organization:
          type: string
        year:
          type: string
    BillingHistoryForecastRequest:
      type: object
      properties:
        includePausedChecks:
          type: boolean
  securitySchemes:
    Bearer:
      description: ''
      type: apiKey
      name: Authorization
      in: header