Documentation
Billing
Prepaid and postpaid accounts, usage metering, and invoices.
Billing tracks usage per product unit, supports prepaid top-ups and postpaid invoicing, and exposes a real-time monitor dashboard.
Key endpoints
- GET /v1/billing/account: account status and balance
- POST /v1/billing/account/setup: prepaid or postpaid onboarding
- GET /v1/billing/monitor: spend velocity and alerts
- GET /v1/billing/usage: usage breakdown by product
- POST /v1/billing/payments/prepay: top up prepaid balance
Usage is recorded automatically from platform Kafka events. Prepaid accounts suspend when balance is insufficient.