wallet.balance.update
Triggered when a customer's Wallet balance increases or decreases, except through usage signals.
X-Clocknext-Signature*stringt=<unix seconds>,v1=<hex HMAC-SHA256> — the HMAC of ${t}.${rawBody} keyed with the endpoint's signing secret. See Verify the signature.
X-Clocknext-Event-Id*stringThe event's id — the same as id in the body, and the same on every retry.
X-Clocknext-Event-Type*stringThe event name — the same as event_type in the body.
application/json- body
id*stringevt_ + 32 hex characters. Unique per event, and the same on every retry of it — use it to skip duplicates.
event_type*stringAlways wallet.balance.update.
triggered_at*stringWhen the event was triggered (ISO 8601).
date-timedata*The details of the change: the customer, what changed the balance, and the balance before and after.
Answer any 2xx within 5 seconds; the body is ignored. Anything else counts as failed and is retried.
{ "id": "evt_586c3a7ef5008b31d7a3c4807a53b417", "event_type": "wallet.balance.update", "triggered_at": "2026-10-20T16:56:13.772Z", "data": { "customer": { "id": "cmvgxdc8c001q07jmyy4qkcqd", "name": "Coho Winery" }, "source": "TOPUP", "previous_balance": 0, "current_balance": 50, "currency_code": "usd" }}{ "X-Clocknext-Signature": "t=1791367200,v1=5257a869e7ecebeda32affa62cdca3fa51cad7e77a0e56ff536d0ce8e108d8bd", "X-Clocknext-Event-Id": "evt_586c3a7ef5008b31d7a3c4807a53b417", "X-Clocknext-Event-Type": "wallet.balance.update"}Types
Every object type on this page, with its fields.
WalletBalanceUpdateEvent
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | evt_ + 32 hex characters. Unique per event, and the same on every retry of it — use it to skip duplicates. |
event_type | string | yes | Always wallet.balance.update. |
triggered_at | string | yes | When the event was triggered (ISO 8601). |
data | WalletBalanceUpdateData | yes | The details of the change: the customer, what changed the balance, and the balance before and after. |
WalletBalanceUpdateData
The data object of a wallet.balance.update event: the customer, what changed the wallet balance, and the balance before and after the change.
| Field | Type | Required | Description |
|---|---|---|---|
customer | WebhookCustomer | yes | The customer the event is about. |
source | "TOPUP" | "ADJUSTMENT" | yes | TOPUP: a paid invoice, portal payment or recurring grant. ADJUSTMENT: a manual or automatic change. |
previous_balance | number | yes | Wallet balance before the change, in USD. |
current_balance | number | yes | Wallet balance after the change, in USD. Can be negative. |
currency_code | string | yes | Always usd — Wallet balances are held in USD. |
WebhookCustomer
The customer the event is about.
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | The customer's Clocknext id. |
name | string | yes | The customer's name. |
Get a payment GET
Resolves only PAID invoices; anything else is a 404.
wallet.balance.drop POST
Triggered when a customer's Wallet balance falls to or below their low-balance threshold, or the endpoint's threshold if they have none. The level is in USD (`threshold`) or a percentage of the plan's Wallet amount per cycle (`threshold_percentage`).