Novence Billing API

The Billing API from Novence — 5 operation(s) for billing.

GitHub OpenAPI

Operations 7

GET /v1/billing/quotas Quotas and usage #
POST /v1/billing/checkout Stripe Checkout session (Pro / Scale) #
POST /v1/billing/portal Stripe Customer Portal #
GET /v1/billing/spend-limit Get spend limit #
PUT /v1/billing/spend-limit Set or remove spend limit #
GET /v1/billing/mpp Subscribe via MPP SPT #
POST /v1/billing/mpp Subscribe via MPP SPT #

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/novence-ai:novence-ai-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

novence-ai-billing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Novence Billing API
  version: 0.2.1
  description: 'Control plane for autonomous AI agent website hosting.


    **Deploy polling:** use `GET /v1/projects/{id}/deployments/latest` until

    `deployment.status` is `live` (or `failed`). Project `status` is lifecycle

    (`active`/`deleted`) — it does not become `live`.


    **OTP TTL:** email verification codes expire in **15 minutes**.


    **Discovery:** `https://api.novence.ai/llms.txt` and `/openapi.yaml` redirect

    to `https://novence.ai/…`.'
servers:
- url: https://api.novence.ai
  description: Production API
- url: http://127.0.0.1:8080
  description: Local
tags:
- name: Billing
paths:
  /v1/billing/quotas:
    get:
      summary: Quotas and usage
      description: 'Prefer `usage.storage_bytes` over `storage_gb` for exact accounting.

        `quotas.checkRuns` is included **check minutes** per month (same unit as

        `usage.check_minutes`).

        `quotas.formSubmissionsPerMonth` / `usage.form_submissions` apply only to

        Novence Forms (BYO Formspree/Web3forms do not count).


        Plan matrix (verified Free / Pro / Scale):

        - Free $0: 1 project, 1 GB storage, 10 GB bandwidth, 20 deploys, 30 check

        minutes, **1 custom domain**, **50 form submissions**. Other Free

        overages hard-blocked (402).

        - Pro $29: 20 projects, 50 GB, 200 GB bandwidth, 2,000 deploys, 4,000 check

        minutes, 10 custom domains, 2,000 form submissions (soft overage

        $0.005/submission past included).

        - Scale $149: 125 projects, 250 GB, 1.5 TB bandwidth, 20,000 deploys,

        40,000 check minutes, 100 custom domains, 20,000 form submissions

        (soft overage $0.005/submission).


        Bandwidth overage meter is $0.08/GB (S3→Cloudflare origin pull COGS

        ~$0.09/GB; Workers visitor egress is $0). Unverified accounts keep

        `customDomains: 0` and `formSubmissionsPerMonth: 0`.'
      security:
      - bearerAuth: []
      responses:
        '200':
          description: OK
      tags:
      - Billing
      operationId: getV1BillingQuotas
      x-operation-id-source: derived
  /v1/billing/checkout:
    post:
      summary: Stripe Checkout session (Pro / Scale)
      description: 'Returns a Stripe Checkout URL for a Pro ($29) or Scale subscription.

        Requires a verified email (403 otherwise). Use after a 2nd project or a

        402 — never after the first live URL. Prefer MCP `checkout` when on MCP.'
      security:
      - bearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                plan:
                  type: string
                  enum:
                  - pro
                  - scale
                  default: pro
                successUrl:
                  type: string
                  format: uri
                cancelUrl:
                  type: string
                  format: uri
      responses:
        '200':
          description: Checkout session
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                    format: uri
                    nullable: true
                  id:
                    type: string
        '401':
          $ref: '#/components/responses/Error'
        '403':
          description: Email not verified
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                properties:
                  error:
                    type: string
      tags:
      - Billing
      operationId: postV1BillingCheckout
      x-operation-id-source: derived
  /v1/billing/portal:
    post:
      summary: Stripe Customer Portal
      description: Manage an existing subscription. Not first-time subscribe — use `/v1/billing/checkout` or `/v1/billing/mpp`.
      security:
      - bearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                returnUrl:
                  type: string
                  format: uri
      responses:
        '200':
          description: Portal URL
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                    format: uri
      tags:
      - Billing
      operationId: postV1BillingPortal
      x-operation-id-source: derived
  /v1/billing/spend-limit:
    get:
      summary: Get spend limit
      description: 'Monthly overage cap (Pro/Scale), month-to-date overage at list rates, and

        what is paused. Overage excludes the plan''s base price. Also returned as

        `spendLimit` on `GET /v1/billing/quotas` and `GET /v1/account`.'
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Spend limit status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpendLimitStatus'
      tags:
      - Billing
      operationId: getV1BillingSpendLimit
      x-operation-id-source: derived
    put:
      summary: Set or remove spend limit
      description: 'Set, change, or remove the monthly overage cap. At the cap, anything that

        would add overage pauses and nothing more is billed: live sites (503

        "site paused") once bandwidth is past the included pool, deploy checks

        (deploys still ship), Novence form submissions, and new custom domains.

        Paused items resume when the cap is raised or the UTC month resets.

        Requires nv_, or a mgmt_ session with `billing:portal`.'
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - limitUsd
              properties:
                limitUsd:
                  type:
                  - number
                  - 'null'
                  minimum: 0
                  maximum: 100000
                  description: USD, up to 2 decimals. 0 = never pay overage. null removes the cap.
      responses:
        '200':
          description: Updated spend limit status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SpendLimitStatus'
        '400':
          $ref: '#/components/responses/Error'
      tags:
      - Billing
      operationId: putV1BillingSpendLimit
      x-operation-id-source: derived
  /v1/billing/mpp:
    get:
      summary: Subscribe via MPP SPT
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Subscribed
        '402':
          description: Payment required
      tags:
      - Billing
      operationId: getV1BillingMpp
      x-operation-id-source: derived
    post:
      summary: Subscribe via MPP SPT
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Subscribed
        '402':
          description: Payment required
      tags:
      - Billing
      operationId: postV1BillingMpp
      x-operation-id-source: derived
components:
  schemas:
    SpendLimitStatus:
      type: object
      properties:
        limitUsd:
          type:
          - number
          - 'null'
          description: Monthly overage cap in USD. null = no cap.
        overageUsd:
          type: number
          description: Month-to-date overage at list rates (excludes the base plan price).
        remainingUsd:
          type:
          - number
          - 'null'
        usedPct:
          type:
          - integer
          - 'null'
          description: overage / limit
          capped at 100. null when the limit is null or 0.: null
        applies:
          type: boolean
          description: Only verified Pro/Scale accounts incur overage. A limit on Free is kept for later.
        reached:
          type: boolean
        paused:
          type: array
          items:
            type: string
            enum:
            - bandwidth_gb
            - check_minutes
            - form_submissions
            - custom_domains
          description: What is paused right now. bandwidth_gb means live sites are paused.
        pausedLabels:
          type: array
          items:
            type: string
        sitesPaused:
          type: boolean
        period:
          type: object
          properties:
            start:
              type: string
              format: date-time
            resetsAt:
              type: string
              format: date-time
  responses:
    Error:
      description: JSON error
      content:
        application/json:
          schema:
            type: object
            required:
            - error
            properties:
              error:
                type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key (nv_…) or management token (mgmt_…)