Docschargebeedocs

HomeBillingPaymentsRevRecGrowthReveal
Support

Product Updates


  • Release Notes

Getting Started


  • Overview
  • Chargebee Billing Data Centers
  • Object Relationship Model
  • Understanding Sites
  • Chargebee Tech Glossary
  • Articles and FAQ

Implementing Chargebee


  • Implementation Guide
  • Go-live Checklist
  • Articles and FAQ

AI in Chargebee


  • Chargebee Agents
  • Chargebee Copilot
  • Chargebee MCP Server (Model Context Protocol)

Developer Resources


  • Developer Resources Overview
  • Articles and FAQ

Product Catalog


  • Product Catalog Overview
  • Coupons
  • Articles and FAQ

Subscriptions


  • Working with Subscriptions
  • Billing
  • Orders
  • Articles and FAQ

Customers


  • Managing Customers
  • Account Hierarchy
  • Email Notifications
  • Branding
  • Configure Multiple Languages
  • Articles and FAQ

Entitlements


  • Entitlements Overview
  • Features Overview
  • Feature Management
  • Managing Product Entitlements
  • Subscription Entitlements
  • Customer Entitlements
  • Grandfathering Entitlements
  • Articles and FAQ

Usage Based Billing


  • Understanding Usages
  • Setting up Usage Based Billing
  • Usage Alerts
    • Setting Up Usage Alerts
  • Metered Billing
  • Articles and FAQ

Chargebee CPQ


  • Chargebee CPQ
  • Chargebee CPQ for Salesforce
  • Chargebee CPQ for HubSpot

Invoices, Credit Notes, and Quotes


  • Invoices
  • Credit Notes
  • Quotes [Legacy]
  • Transactions
  • Articles and FAQ

Taxes


  • Overview
  • Configuring Taxes
  • Country-specific Taxes
  • Articles and FAQ

Hosted Capabilities


  • Overview
  • Hosted Checkout
  • Hosted Self-Serve Portal
  • Hosted Pages Features
  • Additional Hosted Pages
  • Payment Components
  • Pricing Table
  • Managing Payments with Chargebee.js
  • Mobile-Optimized Hosted Pages
  • Articles and FAQ

Site Configuration


  • Users & Roles
  • Custom Fields & Metadata
  • Approvals
  • Mandatory Fields
  • File Attachments & Comments
  • Advanced Filter Options
  • Multicurrency Pricing
  • Multi-decimal Support
  • Configuring Reason Codes
  • Events and Webhooks
  • API Keys
  • Time Zone
  • Time Machine
  • Transfer Configurations
  • Articles and FAQ

Multi Business Entity


  • Multi Business Entity Overview
  • Customer Transfer Overview
  • Articles and FAQ

Mobile Subscriptions


  • Overview
  • Omnichannel Subscriptions
  • Omnichannel One-Time Orders
  • Mobile Subscriptions (Legacy)

Reports and Analytics


  • RevenueStory
  • Home Dashboard
  • Frequently Asked Questions
  • FAQs for Classic Reports Sunset
  • Articles and FAQ

Integrations


  • Sales
  • Customer Support and Success
  • Finance
  • Tax
  • Marketing
  • Stitch
  • Collaboration
  • Contract Management
  • Ecommerce Management
  • Articles and FAQ

Data Privacy & Security


  • Two Factor Authentication
  • SAML Single Sign-On
  • System for Cross-Domain Identity Management (SCIM)
  • EU-GDPR
  • Consent Management
  • Personal Data Management
  • Compliance Certificates
  • HIPAA Guidelines
  • PCI Recommendations and Integration Types
  • Articles and FAQ

Data Operations


  • Bulk Operations
  • Migration
  • Articles and FAQ
  1. Billing
  2. Usage Based Billing
  3. Usage Alerts
  4. Setting Up Usage Alerts
  1. Billing
  2. Usage Based Billing
  3. Usage Alerts
  4. Setting Up Usage Alerts

Setting up Alerts

This guide walks you through creating alerts, handling webhook notifications, and managing alerts over time. If you haven't already, read Usage Alerts to understand the key concepts before proceeding.

This feature is a Private Beta release. Contact Chargebee Support to enable Usage Alerts for your live and test sites.

Prerequisites

Before you create an alert, ensure the following prerequisites are met:

  • Metered feature defined: You need at least one metered feature configured in your Chargebee Billing site.
  • Usage events flowing: Chargebee Billing evaluates alerts as usage events are processed. Make sure your application is ingesting usage events for the metered feature you plan to monitor.
  • Webhook endpoint configured: Alert notifications are delivered via webhooks. Configure your endpoint under Settings > Webhooks in the Chargebee UI, or refer to the Webhooks settings for setup instructions.

During development, you can use tools like webhook.site to inspect alert webhook payloads before integrating them into your application.

Creating an alert

To create a new alert in your Chargebee Billing site, follow these steps:

  1. Navigate to Usages > Alerts > Create Alert.
  2. On the Create Usage Alert page, provide the following details:
image
  • Alert name: Enter a unique name to identify the alert.
  • Alert description: Add a brief description to provide context for the alert.
  • Alert type: Select the alert type. Currently, only Usage alerts are supported.
  • Criteria for sending alerts:
    • Select the metered feature you want to monitor.
    • Enter the percentage of included usage that should trigger the alert (for example, 80% or 100%).
  • Apply alert to:
    • Choose All subscriptions to apply the alert universally, or
    • Use filters to apply the alert to specific subscriptions.
  • Alert delivery channel:
    • Click Manage connected webhooks to configure or select webhook endpoints.
    • You will be redirected to the API Keys and Webhooks page to add or manage endpoints.
  1. Click Save Alert.

You have successfully created a usage alert. Once created, the alert becomes active and Chargebee starts evaluating it against incoming usage events.

When the configured usage threshold is exceeded for a subscription, Chargebee displays a warning banner in the UI indicating that the alert condition has been met.

image

To modify an existing alert:

  1. Navigate to Usages > Alerts.
  2. Select the alert you want to update.
  3. Click Edit Alert under Actions.
  4. Make the required changes and click Save Alert.

Disabling an alert

Disabling an alert allows you to temporarily stop notifications without deleting the alert configuration. This is useful when you want to pause monitoring or make changes without triggering alerts.

To disable an alert:

  1. Navigate to Usages > Alerts.
  2. Select the alert you want to disable.
  3. Click Disable Alert under Actions.

Once disabled:

  • Chargebee stops evaluating the alert against incoming usage events.
  • No webhook notifications are sent for the alert.

You can re-enable the alert at any time by selecting Enable Alert from the same menu.

Deleting an alert

Deleting an alert permanently removes it from your Chargebee site. This action cannot be undone.

Deleting an alert is irreversible. If you may need the alert in the future, consider disabling it instead.

To delete an alert:

  1. Navigate to Usages > Alerts.
  2. Select the alert you want to delete.
  3. Click Delete Alert under Actions.
  4. Click Delete to confirm the deletion when prompted.

After deletion:

  • The alert configuration is permanently removed.
  • No further evaluations or notifications will occur for that alert.
  • Usage Alerts - Concepts
  • Alerts API Reference
  • Alert Statuses API Reference
  • Webhook settings
  • Setting Up Usage-Based Billing

Was this article helpful?