How Customer Records Work
Each customer ID creates a customer record for usage, balances, checkpoints, and receipts.
When you emit a delta through the Balance API, each unique customerId maps to its own customer record.
No setup step is required.
Automatic Records
On first use of a new customerId, PacSpace:
- Creates a deterministic customer reference.
- Isolates the customer's deltas, balances, and checkpoints.
- Tracks summary metadata (first activity, last activity, and total deltas).
curl -X POST https://app.pacspace.io/api/v1/balance/delta \
-H "X-Api-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"customerId": "cust_001",
"delta": 500,
"reason": "initial_deposit"
}'
One Customer, One Record
| Customer ID | Customer Reference | Deltas | Balance |
|---|---|---|---|
cust_001 | 0xA1b2...Ef34 | 42 | 4,500.00 |
cust_002 | 0xC3d4...5678 | 128 | 12,800.00 |
partner_acme | 0xE5f6...9abc | 1,204 | 95,320.00 |
Data remains customer-scoped:
- Deltas for one customer do not affect another customer's balance.
- Checkpoints and receipts are generated per customer context.
- Verification remains isolated across customers.
Monthly Views
Customer records are now periodized by default:
- Records counts records accepted during the selected UTC month.
- Recorded amount this period is the signed amount recorded during the selected UTC monthly cycle.
- Verified this period counts records that completed verification during the selected UTC month.
- Cumulative balance is the all-time signed balance over verified records.
- Dashboard customer pages persist the selected month in the URL (
?period=YYYY-MM) so links are shareable. - Public customer endpoints accept the same optional
periodselector.
For multi-month analysis, use scoped derive windows and the monthly breakdown panel (last 3 / 12 / 24 months) to review cumulative progression month by month.
When a selected month has no activity:
- If the customer has prior activity, the dashboard suggests jumping to the most recent active month.
- For net-new customers, the dashboard prompts: Record a delta to get started.
Deterministic Customer Reference
The same customerId always yields the same customerReference.
This gives you stable identifiers across:
- API calls
- SDK versions
- dashboard views
Privacy Boundary
PacSpace stores derived verification data for each customer record and does not need your private customer profile data.
You keep private business context (names, emails, account metadata) in your own systems.
Viewing Customer Records
Dashboard
Open Customers to browse records, search by customer ID, and inspect activity.
API
# List records
curl https://app.pacspace.io/api/v1/balance/customers \
-H "X-Api-Key: YOUR_API_KEY"
# Get one record
curl "https://app.pacspace.io/api/v1/balance/customers/cust_001?period=2026-04" \
-H "X-Api-Key: YOUR_API_KEY"
SDK
const { customers } = await pac.balance.customers();
const customer = await pac.balance.customer('cust_001', { period: '2026-04' });
console.log(customer.recordedThisPeriod, customer.recordedAmountThisPeriod, customer.verifiedThroughAt, customer.cumulativeBalance);
See Querying Customer Records for endpoint details.