Webhook Events

subscription.group_spend.threshold_reached

Fired when a feature group's total metered spend on a subscription crosses an alert threshold (critical, warning, or info) for the current billing period. Doc-only for parsing.

post/webhook-events/subscription.group_spend.threshold_reached

Response

Webhook payload

alert_status'ok' | 'info' | 'warning' | 'in_alarm'
alert_type'low_ongoing_balance' | 'low_credit_balance' | 'feature_wallet_balance' | 'subscription_spend' | 'subscription_line_item_spend' | 'subscription_group_spend' | 'entitlement_grant_threshold' | 'entitlement_grant_exhausted'
current_spendstring
group_idstring
subscription_line_item_idstring
thresholdstring
triggered_atstring date-time

Changes

Changed in 4 of the 108 revisions of this API.469

    • added the optional property subscription/customer/environment_id to the response with the 200 status

      response-optional-property-added

  • 29f14678f58f443See the full diff
    • removed the optional property alert_settings from the response with the 200 status

      response-optional-property-removed

    • removed the optional property group from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/active_pause_id from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/auto_invoice_threshold from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/billing_anchor from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/billing_cycle from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/collection_method from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/commitment_amount from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/commitment_duration from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/coupon_associations from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/created_at from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/created_by from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/credit_grants from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/customer/contact from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/customer/created_at from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/customer/created_by from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/customer/environment_id from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/customer/integrations from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/customer/status from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/customer/tenant_id from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/customer/updated_at from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/customer/updated_by from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/enable_true_up from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/entitlements from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/environment_id from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/gateway_payment_method_id from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/invoicing_customer_id from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/latest_invoice from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/line_items from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/overage_factor from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/pauses from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/payment_behavior from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/payment_terms from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/phases from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/plan from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/proration_behavior from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/status from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/synced_price_sequence from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/tenant_id from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/timezone from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/updated_at from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/updated_by from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription/version from the response with the 200 status

      response-optional-property-removed

    • removed the optional property subscription_line_item from the response with the 200 status

      response-optional-property-removed

    • added the optional property group_id to the response with the 200 status

      response-optional-property-added

    • added the optional property subscription_line_item_id to the response with the 200 status

      response-optional-property-added

    • added the optional property threshold to the response with the 200 status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 50b7421a969024See the full diff
    • added the new entitlement_grant_exhausted enum value to the alert_type response property for the response status 200

      response-property-enum-value-added

    • added the new entitlement_grant_threshold enum value to the alert_type response property for the response status 200

      response-property-enum-value-added

    • added the optional property subscription/coupon_associations/items/subscription_line_item/meter to the response with the 200 status

      response-optional-property-added

    • added the optional property subscription/entitlements to the response with the 200 status

      response-optional-property-added

    • added the optional property subscription/line_items/items/meter to the response with the 200 status

      response-optional-property-added

    • added the optional property subscription_line_item/meter to the response with the 200 status

      response-optional-property-added

    • endpoint added

      endpoint-added