Public API documentation
Codus Nullus PBX Billing API
The pbx-billing API powers customer onboarding, subscription lifecycle, payments, and tenant
provisioning for the Codus Nullus pbx product. It is a Hono-on-Workers surface served from https://billing-api.pbx.lt/v1. The PBX product itself lives at my.pbx.lt and is provisioned on our behalf by this API.
Our team built this API to support the billing.pbx.lt customer portal and the admin.pbx.lt
admin console. It speaks JSON, returns RFC 7807 problem-details on error, accepts bearer
JWTs for auth, and requires an
Idempotency-Key header for every mutating money or provisioning request.
The intended audience is the customer-facing SPA, the admin SPA, and external integrators (Revolut webhooks, upstream pbx-core at my.pbx.lt). Pricing, plan tiers, dunning rules, and VAT handling live in the reference and the sections below; if you are a person looking to sign up, the customer portal at billing.pbx.lt probably wants you instead.
To get started: read the auth flow, then browse the endpoint reference. For Revolut webhook integration, see the webhooks page.
Quick links
Endpoint reference
Browse the full surface, try requests in-page, copy curl + JS snippets.
Auth flow
Magic-link signup, sign-in, bearer tokens, admin 2FA, Idempotency-Key.
Error codes
RFC 7807 problem-details registry with HTTP statuses and common fixes.
Webhooks
Inbound Revolut events: signature verification, event types, idempotency.