Skip to content

Usage & Low Balance Alerts

DEP provides two layers of financial alerts so your messaging operations don’t stop due to running out of balance or a spending spike:

  1. Low balance alert per billing account (configured on the billing account detail page /billing/[id]).
  2. Usage & Spend Alerts per channel and message category (configured in Billing › Usage Alerts, /billing/alerts).
  • Your account has billing:read permission to access the Billing.
  • To receive spend webhooks on your internal systems, make sure your webhook endpoint is registered in Developer › Webhook menu for events billing.usage_alert.

1. Configuring low balance alerts per billing account

Section titled “1. Configuring low balance alerts per billing account”

This alert monitors the available funds remaining on each billing account and sends a notification when the balance falls below the threshold you set.

  1. Open Billing › Overview (/billing).
  2. On the Billing Account table, click the Details table, click the
  3. button on the Low balance alert, enter the threshold value in the Limit ({currency}) card (fill in 0 to disable the alert).
  4. Click Save Threshold.

:::note[Low balance alert delivery behavior]

  • Trigger when crossing a threshold (Edge-triggered): The alert is sent once when the effective balance drops from above to below the Limit ({currency}) (for postpaid/invoice accounts, the effective balance takes the credit limit into account). The next alert will only become active again after the balance is topped up beyond that threshold.
  • Nominal amounts in Rupiah: Notification Low Balance Warning in the portal (Saldo akun Anda (‹balance›) berada di bawah ambang batas (‹threshold›).) and the warning email display the current balance and threshold as whole Rupiah amounts (for example, Rp 50.000).
  • Low balance email frequency: In addition to in-portal notifications, sending low balance alert emails to the billing contact is controlled by the account support switch and is limited to at most 1 email per 24 hours (86.400 seconds) per billing account. :::

Rules on the page Usage & Spend Alerts page monitor daily or monthly accumulated spend (WIB timezone) based on billing account, channel, or message category.

  1. Open Billing › Usage Alerts (/billing/alerts).
  2. Click New Alert Rule at the top right of the page.
  3. On the dialog Create Usage Alert Rule, fill in the following fields:
    • Rule Name: Identifying name for the rule (required, for example Batas Harian Marketing WhatsApp).
    • Billing Account: Select a specific billing account or All Billing Accounts.
    • Channel: Select the channel to monitor (for example whatsapp, sms, rcs, voice, or all channels).
    • Category: Select a specific category or All Categories.
    • Period: Select Daily (WIB) or Monthly (WIB).
    • Spend Threshold (IDR): Enter the spending limit value in positive Rupiah.
    • Notify Via: Select one or more notification channels: in-app, email to admin/billing contact, or webhook (billing.usage_alert).
  4. Click Save Rule.

To change or disable an existing rule, click Change or Delete in the column Actions in the rules table.

Element / ParameterDescription
Spending update frequencySpending data is evaluated and updated approximately every every 15 minutes (Spend updates about every 15 minutes.).
Notifications per periodAny rule with a status of Active only triggers a notification once per period (Daily (WIB) or Monthly (WIB)) when Spend / Threshold reaches or exceeds the value Spend Threshold (IDR).
Webhook EventWhen the webhook option is checked on Notify Via, the system sends an HMAC-signed payload with event type billing.usage_alert.
Rule Table ColumnsDisplays Name, Channel, Category, Period, Spend / Threshold, channel Notifications, Status (Active / Inactive), and Actions (Change / Delete).

The new rule appears in the table Usage & Spend Alerts with status Active, and your team will receive automatic alerts as soon as the account balance runs low or the current period spend exceeds the threshold.

  • The message “Spend threshold must be a positive Rupiah value” appears: Make sure the column Spend Threshold (IDR) is filled with a number greater than 0.
  • Low balance email not received even though the notification appears in the portal: Check whether the billing contact’s email address is registered on your billing account, whether a low balance email has already been sent in the last 24 hours, or contact the support team to ensure low balance email delivery is enabled on your account.