Skip to content

Billing Usage Alert

When you set a threshold on the Usage Alertspage, the system sends a billing.usage_alert webhook event as soon as your account usage or spending crosses that threshold.


{
"event": "billing.usage_alert",
"tenant_id": "0195f2a0-1234-7000-8000-000000000001",
"timestamp": "2026-11-04T12:00:00Z",
"data": {
"alert_id": "0195f2d0-3333-7000-8000-000000000055",
"name": "Batas Anggaran Kampanye Bulanan",
"period": "monthly",
"metric": "spend",
"threshold_amount": "5000000",
"current_amount": "5120000",
"currency": "IDR",
"triggered_at": "2026-11-04T12:00:00Z"
}
}

FieldTypeDescription
eventstringAlways has the value "billing.usage_alert".
data.alert_idstring (UUID)The ID of the usage alert rule that was triggered.
data.namestringThe name of the alert rule you configured in the portal.
data.periodstringThe alert evaluation period (for example, daily or monthly).
data.metricstringThe metric being monitored (for example, total spend or usage volume).
data.threshold_amountstringThe threshold value configured in the account currency.
data.current_amountstringThe actual usage value when the threshold was exceeded.
data.currencystringAccount currency code (for example "IDR").