API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · platform_charges

Platform Charge Schema

Schema ID
platform_charge
Collection
platform_charges
Permissions
  • Readplatform_invoice_view
  • Createadmin_bypass
  • Editadmin_bypass
  • Deleteadmin_bypass

Fields

Platform Charge Schema

platform_charges4 permissions

Codemeta-side billable item for chargeable tenant actions outside the subscription itself.

typestringrequired
domainwebhostingai_overageaddonlive_supportsms
read-only
descriptionstringrequired
1–500 characters
quantitynumberrequired
≥ 0
unitPriceCentsintegerrequired
≥ 0read-only
netCentsintegerrequired
≥ 0read-only
vatRatestringrequired
Pattern
periodFromdaterequired
read-only
periodTodaterequired
read-only
statusstringrequired
openinvoicedvoid
read-only
stripeInvoiceItemIdstringoptional
read-onlynullable
platformInvoiceIdstringoptional
read-onlynullable
sourceRefstringoptional
1–200 charactersread-only
currencystringrequired
EUR
notesstringoptional
max 2000 charactersnullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/platform_charges — List, paginated + filterable
  • GET /api/v1/platform_charges/<id> — Single entity
  • POST /api/v1/platform_charges — Create
  • PATCH /api/v1/platform_charges/<id> — Partial update
  • DELETE /api/v1/platform_charges/<id> — Soft delete
  • GET /api/v1/platform_charges/<id>/timeline — Audit + activities

Search