Introduction
PacSpace records usage before the invoice. Both sides can check the same record later.
What this is for
You charge for metered usage: model tokens, GPU-hours, agent-to-agent transactions, API calls. Before the invoice goes out, PacSpace records the usage and creates a proof.
Written by one side. Visible to both. Owned by neither.
Four calls integrate into your existing billing workflow. No re-architecture, no replacement of your metering or invoicing stack.
Core Capabilities
| Capability | What It Does | API Call |
|---|---|---|
| Emit | Record usage for a customer | POST /api/v1/balance/delta |
| Derive | Compute a running balance from all verified deltas | GET /api/v1/balance/derive/:customerId |
| Compare | Check two balance views before the invoice | POST /api/v1/balance/compare |
| Checkpoint | Create a period-end proof root over verified deltas | POST /api/v1/balance/checkpoint |
How It Works
- Record usage - as usage accrues or charges apply, emit deltas on the cadence you control.
- Derive balances - PacSpace computes the current balance from verified deltas.
- Compare views - both sides can check the same record before month end.
- Checkpoint the period - create one proof root for the invoice window.
Business data stays private. Proofs can be checked.
What Changes Day To Day
After the wiring, the rhythm is simple. The flush runs unattended on your chosen cadence. Close means locking the period so the invoice references a record that can no longer move. And a challenged number is answered by opening the same record both sides already share, instead of pulling logs. Recordation walks the rhythm end to end, including who on the team touches each step.
Where to Go Next
Pick the path that matches what you're trying to do:
| I want to... | Go to |
|---|---|
| Integrate usage recordation into my app | Balance API |
| Manage my account, keys, and billing | Dashboard API |
| React to record changes | Webhooks |
| Understand proof checking | Verification & Proofs |
| Deploy an autonomous agent | Agents |
| Get running now | Quick Start Guide |