wallet.balance.drop
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).
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.drop.
triggered_at*stringWhen the event was triggered (ISO 8601).
date-timedata*The details of the drop: the customer, the level that was crossed, 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_1c360a0ac5bf7e224e327a809a605ae6", "event_type": "wallet.balance.drop", "triggered_at": "2026-10-20T16:56:14.683Z", "data": { "customer": { "id": "cmvgxdc8c001q07jmyy4qkcqd", "name": "Coho Winery" }, "threshold": 50, "previous_balance": 110, "current_balance": 35, "currency_code": "usd" }}{ "X-Clocknext-Signature": "t=1791367200,v1=5257a869e7ecebeda32affa62cdca3fa51cad7e77a0e56ff536d0ce8e108d8bd", "X-Clocknext-Event-Id": "evt_1c360a0ac5bf7e224e327a809a605ae6", "X-Clocknext-Event-Type": "wallet.balance.drop"}Types
Every object type on this page, with its fields.
WalletBalanceDropEvent
| 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.drop. |
triggered_at | string | yes | When the event was triggered (ISO 8601). |
data | WalletBalanceDropData | yes | The details of the drop: the customer, the level that was crossed, and the balance before and after. |
WalletBalanceDropData
The data object of a wallet.balance.drop event: the customer, the threshold that was crossed, and the balance before and after the change. The level is in USD or a percentage, and exactly one of threshold and threshold_percentage is present. When the org has the Reserved Wallet on, reserved_balance is also present.
| Field | Type | Required | Description |
|---|---|---|---|
customer | WebhookCustomer | yes | The customer the event is about. |
threshold | number | no | USD threshold crossed: the customer's own, else this endpoint's. Once per crossing from above. Present for a USD level, absent for a percentage one. |
threshold_percentage | number | no | The threshold crossed, as a percentage (0 to 100) of the plan's Wallet amount per cycle, as saved: the customer's own, else this endpoint's. Once per crossing from above. Present for a percentage level, absent for a USD one. The balances are still in USD. |
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. |
reserved_balance | number | no | The Reserved Wallet's live balance (balance less what was consumed), in USD. Present only when the org has the Reserved Wallet on. The threshold is still checked on the main Wallet only (previous_balance, current_balance): the Reserved Wallet is used after the main Wallet runs out, so this value often stays the same from one alert to the next. |
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. |