Prodantix Billing API
The billing API from Prodantix — 6 operation(s) for billing.
The billing API from Prodantix — 6 operation(s) for billing.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/prodantix-com:prodantix-com-billing-api"
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.
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: 3.2.0
info:
title: Prodantix Billing API
version: 0.1.0
servers:
- url: https://api.prodantix.com
description: Flags and messaging
- url: https://eu.api.prodantix.com
description: Event ingestion (EU)
- url: https://eu.replay.prodantix.com
description: Session replay (EU)
tags:
- name: Billing
paths:
/v1/plans:
get:
summary: List the plan catalogue
tags:
- Billing
description: 'Every prodantix plan with its entitlements and prices, and the add-ons sold beside them: the ladder and the add-on areas the pricing page and the plan picker render. Public, and cacheable for five minutes.'
responses:
'200':
description: The plan catalogue
content:
application/json:
schema:
type: object
properties:
plans:
type: array
items:
$ref: '#/components/schemas/PublicPlan'
addOns:
type: array
items:
$ref: '#/components/schemas/AddOnDto'
description: 'The add-ons a company can buy beside any plan, active rows only, in
billing''s order.'
required:
- plans
- addOns
'503':
description: The plan catalogue is unavailable
operationId: getV1Plans
x-operation-id-source: derived
/v1/ai/models:
get:
summary: List the AI models and their prices
tags:
- Billing
description: 'Every model a workspace can pick for the AI add-on, with its price per million tokens of each kind in micro-dollars: the model''s price plus the markup. Public, and cacheable for an hour.'
responses:
'200':
description: The offered models and their prices
content:
application/json:
schema:
type: object
properties:
markupPercent:
type: integer
format: uint32
minimum: 0
models:
type: array
items:
$ref: '#/components/schemas/PublicAiModel'
required:
- markupPercent
- models
'503':
description: The model list has not loaded yet
operationId: getV1AiModels
x-operation-id-source: derived
/v1/company/add-ons:
get:
summary: List the add-on catalogue
tags:
- Billing
description: 'Every add-on the company can buy beside its tier: area bundles, single features and standalone add-ons, each per billing cycle with its price. Needs prodantix.billing.read.'
security:
- bearerAuth: []
responses:
'200':
description: The catalogue
content:
application/json:
schema:
type: object
properties:
addOns:
type: array
items:
$ref: '#/components/schemas/AddOnDto'
required:
- addOns
operationId: getV1CompanyAddOns
x-operation-id-source: derived
/v1/company/held-add-ons:
get:
summary: List the company's add-ons
tags:
- Billing
description: The add-ons the company holds, with when a removed one ends. Needs prodantix.billing.read.
security:
- bearerAuth: []
responses:
'200':
description: The held add-ons
operationId: getV1CompanyHeldAddOns
x-operation-id-source: derived
/v1/company/add-ons/{addOnKey}/preview:
get:
summary: Preview an add-on
tags:
- Billing
description: What buying the add-on adds to the next invoice, and which held features of its area it replaces with their unused time credited. Needs prodantix.billing.read.
security:
- bearerAuth: []
parameters:
- name: addOnKey
in: path
required: true
description: The add-on, as the catalogue names it
schema:
type: string
- name: quantity
in: query
required: false
description: How many units, for an add-on bought in units
schema:
type: integer
format: int32
responses:
'200':
description: The preview
content:
application/json:
schema:
type: object
properties:
amountDueMinor:
type: integer
format: int64
currency:
type: string
replaces:
type: array
items:
type: string
required:
- amountDueMinor
- currency
- replaces
'404':
description: No such add-on in the catalogue
operationId: getV1CompanyAddOnsByAddOnKeyPreview
x-operation-id-source: derived
/v1/company/add-ons/{addOnKey}:
post:
summary: Buy an add-on
tags:
- Billing
description: Adds the add-on to the company's subscription, prorated on the next invoice; a bundle replaces the area's held features. Refused with ADD_ON_ALREADY_HELD or ADD_ON_COVERED_BY_BUNDLE (409), ADD_ON_NO_PAYMENT_METHOD, ADD_ON_COMPANY_HALTED or ADD_ON_NEEDS_SUBSCRIPTION (402). Needs prodantix.billing.manage.
security:
- bearerAuth: []
parameters:
- name: addOnKey
in: path
required: true
description: The add-on, as the catalogue names it
schema:
type: string
- name: Idempotency-Key
in: header
required: false
description: Up to 255 characters. A retry with the same key within 24 hours answers the first result instead of running again; the same key with a different request answers 409.
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
quantity:
type:
- integer
- 'null'
format: int32
responses:
'200':
description: The held add-on
content:
application/json:
schema:
type: object
properties:
addOnKey:
type: string
area:
type:
- string
- 'null'
endsAt:
type:
- string
- 'null'
kind:
type: string
quantity:
type: integer
format: int32
source:
type: string
required:
- addOnKey
- kind
- quantity
- source
'404':
description: No such add-on in the catalogue
'402':
description: 'Refused: no card on file, the company''s billing has stopped, or no subscription to add it to'
'409':
description: Already held, or covered by a held bundle
operationId: postV1CompanyAddOnsByAddOnKey
x-operation-id-source: derived
delete:
summary: Remove an add-on
tags:
- Billing
description: 'Removes the add-on at the end of the current period: the company keeps it until then and what was built with it is kept. Needs prodantix.billing.manage.'
security:
- bearerAuth: []
parameters:
- name: addOnKey
in: path
required: true
description: The add-on, as the catalogue names it
schema:
type: string
responses:
'200':
description: The held add-on
content:
application/json:
schema:
type: object
properties:
addOnKey:
type: string
area:
type:
- string
- 'null'
endsAt:
type:
- string
- 'null'
kind:
type: string
quantity:
type: integer
format: int32
source:
type: string
required:
- addOnKey
- kind
- quantity
- source
'404':
description: No such add-on in the catalogue
operationId: deleteV1CompanyAddOnsByAddOnKey
x-operation-id-source: derived
components:
schemas:
PublicAiModel:
type: object
properties:
id:
type: string
displayName:
type: string
perMillion:
$ref: '#/components/schemas/PublicAiPrices'
required:
- id
- displayName
- perMillion
PublicAiPrices:
type: object
properties:
input:
type: integer
format: int64
output:
type: integer
format: int64
cacheWrite5m:
type: integer
format: int64
cacheWrite1h:
type: integer
format: int64
cacheRead:
type: integer
format: int64
required:
- input
- output
- cacheWrite5m
- cacheWrite1h
- cacheRead
AddOnDto:
type: object
properties:
addOnKey:
type: string
area:
type:
- string
- 'null'
currency:
type: string
cycle:
type: string
grants: true
kind:
type: string
priceCents:
type: integer
format: int64
priced:
type: boolean
unit:
type:
- string
- 'null'
required:
- addOnKey
- currency
- cycle
- grants
- kind
- priceCents
- priced
PublicPlan:
type: object
properties:
tier:
type: string
cycle:
type: string
trialDays:
type: integer
format: int32
priced:
type: boolean
entitlements: true
required:
- tier
- cycle
- trialDays
- priced
- entitlements
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: An end-user access token.
billingSignature:
type: apiKey
in: header
name: bomdisoft-billing-signature
description: HMAC signature over the raw request body, verified against a shared secret.