Documentation
Customer detail
Everything about one Customer in one place — Plan, balances, usage, Invoices, Payments, Members and settings.
The Customer detail page is the full record for a single company: an editable identity header, a Plan-and-balances sidebar, range-aware money metrics, and a row of tabs covering Purchases, Subscriptions, Invoices, Payments, Credit Notes, usage, Members, activity and settings. Most tabs load their own data the first time you open them, so the page opens fast and fills in as you explore.

What you can do here
- Track a Customer's revenue, cost, profit and gross margin over a time window you choose.
- Review the active Plan, any tracked charges accruing this cycle, and every balance the Customer holds.
- Add or reduce a balance and read its transaction history (owner or admin only).
- Browse the Customer's Purchases, Invoices (with PDF download), Payments, credit notes and per-request usage logs.
- See the Customer's invoice balance — credit you owe them — and its history, and, as an owner or admin, add or take off balance by hand.
- Manage tracked Members — add, edit or remove them.
- Follow an audit timeline of everything that has happened to the Customer.
- Edit the profile, billing details and the currency the customer pays in, set per-customer credit-rule overrides and a low-balance threshold, or delete the Customer (owner or admin only).
- In a sandbox, turn on a Test clock and move the Customer's date forward to see renewals and Invoices without waiting (owner or admin only).
Header and sidebar
These are always visible, above and beside the tabs.
Identity header. A breadcrumb back to Customers, the company logo, the legal
name (falling back to the display name), a copyable customerId:… badge (plus
a copyable External ID badge when the Customer has one — see
External ID), and
the "Since" join date. Owners and admins also get:
- An Edit button that opens the same profile dialog used to add a Customer.
- A logo that doubles as an uploader — click it to pick an image (500 KB or smaller).
- A time-range filter pinned to the right that drives the money metrics and the Overview tab.
Plan & balances sidebar. A single bordered column. It starts with the Customer: the logo and the name on one line, then the billing address, the customer ID and the External ID below. Three stacked sections follow:
- Plan — pricing model, cost per cycle, billing cadence and the next billing / renewal date (or start date when the Plan is scheduled; once that date has passed, a note that the Plan is waiting for its first Invoice to be paid), plus a spending limit for pay-as-you-go Plans. Shows No active plan until a Purchase attaches one.
- Metered usage — for Plans with arrear (billed-at-cycle-end) components, each component's per-unit pricing and the amount accrued in the current open cycle. Hidden for prepaid-only Customers.
- Balances — a card per balance: the Wallet (cash balance, on every Plan), the Reserved Wallet when your workspace has it on (see Reserved Wallet), and any Credit, Outcome and Unit allowances. Each shows the remaining amount and a usage meter; a gear icon (owner/admin) opens a drawer to Add or Reduce that balance and view its transaction history.
Above the tabs sit four range-dependent stat cards — Revenue, Cost, Profit and Gross margin — that recompute whenever you change the time range.
Tabs
Overview
The Customer's revenue view for the selected range: a revenue-trend chart, a revenue-vs-cost chart, and a revenue-by-month table for the last 12 months. Revenue is what you've billed, not counting tax or the part of an Invoice paid from manually added balance; cost is the provider cost: model cost plus Unit Signal cost.
Purchases
Every Plan and Credit Purchase recorded for this Customer, in a paginated table. Empty until the Customer has made a Purchase.
Subscriptions
The billing periods of this Customer's Plans, one row per period.
Columns are Subscription (the SUB-… number), Plan, Start date,
Next renewal (the end date for a subscription marked for cancellation, and —
for a scheduled, renewed or cancelled one) and Status. The status tabs narrow
the rows to All, Active, Renewed, Scheduled, Marked for
Cancellation or Cancelled.
A row with a number opens that period's
subscription page. A Free Plan grant or an
older Purchase, from before subscriptions ran in periods, can also show here with
— for its number. It isn't a subscription, so it has no page to open.
Owners and admins get a ⋯ menu on each row — Change plan and Cancel Subscription, or Complete Cancellation on a marked one — as on the Subscriptions page. Cancelling asks whether to refund the unused time: see Changing the plan or cancelling.
Invoices
Invoices raised for this Customer. Each row offers a PDF download. Empty until an Invoice has been raised.
Payments
Payments against this Customer's Invoices, including Payments taken through the Customer portal, with per-row actions.
Credit Notes
The credit notes made on this Customer's Invoices, in a paginated table: Credit note, Invoice (links to it), Type, Amount, Date, Status and a ⋯ menu. Search matches the credit note or the Invoice. The Status tabs narrow the rows to All, Issued, Refunded, Refund failed or Void. It is the Credit notes page for this one Customer, so there is no Customer column. The ⋯ menu downloads the PDF or voids a note. Owners and admins can void one while its Invoice is still open. The two tabs keep each other up to date: a credit note made on the Invoices tab appears here, and voiding one here changes the Invoice's amount.
Usage Logs
A per-request log of tracked usage. Columns cover the timestamp, the Member, request type, model, token counts (input / output / cache), the Credit and Outcome consumed, cost (provider vs. customer) and status. Once the Customer's Members start consuming, every request shows up here.
Members
The people tracked against this Customer. Search by name or email, and — as an owner or admin — add a member (full name required, email optional; no email is sent), edit one, or remove one. Removing a Member keeps their historical activity intact; only the active membership goes away.
Activity
An audit timeline of customer-level changes, grouped by day: the Customer being created, Members added or removed, Plan and Credit Purchases, and manual Wallet, Credit or Outcome adjustments — with who made each one. Per-request usage lives in the Usage Logs tab, not here.
Manage
The Customer's invoice balance, which every member can see, plus credit rule overrides, the low-balance threshold and the payment method, which only owners and admins see. Profile, address and currency are edited from the Edit button in the page header.
Invoice balance
The Customer's invoice balance: credit you owe them that pays their Invoices. It comes from credit notes (including the unused time refunded when a subscription is cancelled) and plan changes, and from adjustments you make by hand. It is separate from the Wallet. The Invoice Balance card shows:
- The balance in one number. Hover it to see how much is From card payments (can be refunded to the card) and how much is Cash and goodwill (only pays Invoices).
- View details — the history of the balance, newest first, in a table of Reason, Debit, Credit, Balance (what the balance was right after that line), Invoice (links to it) and Date. The Reason is short: Adjustment (added or taken off by hand), Credit note CN-003, Credit for unused time (Starter) (a plan change), Applied to invoice, Returned from voided invoice, Refund to card (Pending) with its status in brackets, and Refund failed, money returned or Refund rejected, money returned.
- Adjust balance — a dialog with a Credit or Debit switch, an Amount, and a required Reason that is kept in the history. A credit is cash: it can pay Invoices but is never refundable to a card, and what it pays isn't counted as revenue. A debit can't take more than the balance holds. Nothing is edited or deleted: to fix a mistake, add an entry the other way.
The balance is used on an Invoice only when the matching box is ticked in Settings → Organisation → Payments. Then it pays new Invoices on its own, and an open Invoice gets a Use balance button to pay it by hand.
Other settings
- Credit rules — per-customer overrides for the Credit rules this Customer inherits: disable a rule for them or replace its Credit amount.
- Wallet — set a Low balance threshold: type a value and choose its unit,
USD or Percentage (%). A percentage (0 to 100) is a share of the Wallet
amount the Customer's active plan gives per cycle: on a plan that gives $100, 10%
is triggered at or below $10. Press the check mark (or Enter) to save, and
Clear to remove it. A Customer has one level at a time: saving one replaces
the other. When this Customer's Wallet drops to or below it, a
wallet.balance.dropwebhook is triggered. A percentage applies to advance-billed Wallets only; with no active plan Wallet amount, it sends nothing. It can also be set with the API. - Payment method — the card auto-pay charges (brand, last 4 digits and expiry), or No card saved. Update payment (or Add payment) makes a link to send to the Customer: they open it, enter a card on a secure page, and it replaces the saved one. Nothing is charged on that page; any open auto-pay Invoice on their active Plan is then paid with the new card. With Paddle the new card goes on the Customer's existing saved card record in Paddle, so they always have one. The link works once and for 24 hours, and making a new link turns the older one off. Needs a connected payment gateway (Stripe or Paddle). The same link can be made with the API.
Reserved Wallet
The Reserved Wallet is a second pot of money that sits behind a Customer's ordinary Wallet — a safety net for when the Wallet runs dry.
Turning it on. It is off by default. An owner switches it on for the whole workspace in Settings → Organisation → Billing → "Enable Reserved balance in wallet". Once it is on, every Customer shows a Reserved Wallet balance, whether or not their Plan has a Wallet.
How a charge uses it. When a wallet-funded Arrear charge comes in:
- It takes money from the Wallet first.
- If the Wallet can't cover it all, the rest comes from the Reserved Wallet, down to 0.
- If there's still some left after that, it goes back on the Wallet, which then reads negative.
For example: the Wallet has $10, the Reserved Wallet has $50, and a $70 charge arrives. The Wallet pays $10, the Reserved Wallet pays $50, and the last $10 leaves the Wallet at −$10.
What never touches it. The Reserved Wallet itself never goes negative. A manual Add or Reduce on the ordinary Wallet only ever moves the Wallet — it never dips into the Reserved Wallet. Reducing the Reserved Wallet by more than it holds is refused, not capped.
Using it over the API. Send pool: "reserved" to
Manage a customer's wallet balance
to top up or reduce it; the remaining you get back is then the Reserved
balance. Read it back as wallet.reservedBalance on
Get a customer's balances
(left out while the feature is off), or as reservedBalanceUsd on the wallet
history (null while the feature is off), where each entry's pool (main or
reserved) says which balance it moved.
curl -X POST https://payments.clocknext.com/api/v1/customers/cus_abc123/wallet/adjust \
-H "Authorization: Bearer $CLOCKNEXT_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "delta": 500, "pool": "reserved", "notes": "Reserved balance for Q4" }'Test clock
A Test clock gives one Customer of a sandbox its own date. Move that date forward, and every billing cycle that ends on the way is billed: the renewal Invoices, the metered (Arrear) Invoices, the emails and the webhooks come in minutes, not after a month. The other Customers of the sandbox stay on today's date.
The Test clock is only in sandbox workspaces. Owners and admins turn it on and move it; members can see it. It is only on this page: there is no API for it.

Turning it on. In the page header, switch on Enable test clock for this customer and confirm. The clock starts at today's date and time (UTC). It can't be turned off: to stop billing, cancel the Customer's Plan or archive the Customer. For a new test on today's date, add a new Customer.
The clock keeps moving. The header then shows Test clock · and the clock's date and time (UTC). Between two moves the clock moves on with real time and stays the same number of days ahead. If you move it 30 days ahead today, it is still 30 days ahead tomorrow.
Moving it forward. Move forward opens Move the clock forward. Pick a date, or use a quick move: +1 day, +1 week, +1 cycle (the end of the current billing cycle) or +2 cycles. The cycle moves only show when the Customer has a Plan. There is no time field: the clock keeps its time of day. Clocknext then bills each billing cycle that ends up to that date, in order, and the dialog shows a moving clock until it's done.

- The clock only moves forward. An Invoice that's been raised can't be taken back.
- One move goes at most 2 billing cycles of the Customer's shortest Plan, or 2 years when the Customer has no Plan. A later date is refused, and the message gives the furthest date you can pick. For a longer test, move again.
- One move at a time. A second move while one is still running is refused.
- A move waits about 15 seconds when the Customer has metered usage, so that the signals you just sent are on the Invoice. A signal sent while a move runs goes into the next cycle.
Example. A monthly metered Plan bought on 10 Nov 2026:
| What you do | Clock date | What happens |
|---|---|---|
| Turn on the clock, buy the Plan, send 3 signals | 10 Nov 2026 | The first cycle starts. |
| Move to 10 Dec 2026 | 10 Dec 2026 | The first cycle ends. Its Invoice is dated 10 Dec and bills the 3 signals. |
| Send 2 signals, then move to 10 Feb 2027 | 10 Feb 2027 | The cycle ending 10 Jan bills the 2 signals. The cycle ending 10 Feb had no usage, so it gets no usage Invoice. |
| Wait 2 real days | 12 Feb 2027 | The clock moved on with real time. |
Which date is used. Billing follows the clock; things outside Clocknext happen now.
| Uses the clock date | Uses the real time |
|---|---|
| Billing cycles, renewals, Invoice and due dates, reminders, and Renews in | Signals: the Signals page shows when they arrived |
| Purchases, Plan changes, cancellations, Payments, refunds, credit notes and Wallet top-ups, also when made through the API or the Customer portal | Card charges at your payment gateway |
| The rows on the Invoices, Payments, Purchases, Subscriptions and Credit notes pages, which sort by their clock dates | When emails and webhooks are sent. The dates inside them are clock dates, and your email settings apply |
| The Activity tab | When payment links and card update links expire |
| The revenue charts on the Dashboard | The cost and usage charts on the Dashboard |
On the Customers page, a small clock beside the name marks each Customer that has a Test clock.
Related
- Customers — the list this page opens from.
- API: Get a Customer · Create a Customer · List Customers
- API: Customer balances · Customer Plan
- API: Invoice balance · Adjust invoice balance
- Customer members API — manage a Customer's Members.
- Customer balances API