The self-service portal for end-user customers at
/portal: account setup, two-factor authentication, usage
and balance, invoices, reloads, and API documentation.
Audience: your API customers. For the company side see
ACCOUNTING.mdandUSER-MANAGEMENT.md.
Open http://<host>:<port>/portal and choose
Create an account.
Sign-in afterwards is email + password on the same screen.
x-api-key header.The API & pricing tab shows the live rate card (free / fixed / variable per endpoint, with size-based pricing for storage) and every plan’s multiplier and monthly credit — the same numbers the server bills from.
The interactive API reference (Swagger UI) is linked at the top
(/docs).
Your invoice history with status (draft,
issued, paid), totals, credit, amount due, and
due date. View / print opens a print-ready invoice —
use the browser’s Print → Save as PDF for a copy.
Only your own invoices are visible; other customers’ ids return “not found”.
On the Security tab, click Set up 2FA:
From then on, sign-in requires the password and the current code. You can disable 2FA with a valid code from the same tab. Sessions expire after 7 days.
Session-based (Authorization: Bearer <token> from
signup/login):
POST /portal/api/signup ·
POST /portal/api/login ·
POST /portal/api/logoutGET /portal/api/me ·
POST /portal/api/api-keyGET /portal/api/usage ·
GET /portal/api/pricingGET /portal/api/invoices ·
GET /portal/api/invoices/:id[?format=html]POST /portal/api/2fa/setup|enable|disablePOST /portal/api/reload ·
PUT /portal/api/email-invoicingSecurity notes: passwords are stored as scrypt hashes; TOTP secrets are only shown during setup; no hash or secret is ever returned by the API.