Billing
Get ledger
Append-only history of every wallet movement.
GET
Pagination cursor.
Max 200.
Filter to one of:
stripe_topup, rental_charge, refund,
auto_topup, adjustment.Ledger entries, newest first.
Current wallet
total (same as totalCents from /v1/billing/balance).Entry types
| Type | amountCents | Trigger |
|---|---|---|
stripe_topup | positive | One-off Stripe Checkout completed |
auto_topup | positive | Auto-topup threshold tripped + Stripe charge succeeded |
rental_charge | negative | Metering tick, ~1/second per running rental |
refund | positive | Failed pod, < 60s crash, or manual refund |
adjustment | positive or negative | Manual ops adjustment (rare; we’ll email you) |
balanceAfterCents is the wallet total immediately after this entry was
applied. Helpful for reconciling — entries[i].balanceAfterCents should
equal entries[i].amountCents + entries[i+1].balanceAfterCents.
Tax / export
We don’t generate invoices automatically. To export your full ledger as CSV for accounting:nextCursor if your account has more than 200 entries.