Downgrade Webhook
Handles webhook events triggered by package downgrade flows for Qontak One clients. Modpanel recalculates postpaid usage on subscription update and, when negative quota is detected on a component with triggers_downgrade = true, dispatches staggered downgrade webhooks to Chat and CRM services so they can enforce progressive restrictions.
Scope Changes
- Backend — Modpanel subscription-update listener; Quota Management API
triggers_downgradeparameter; staggered Sidekiq downgrade-webhook scheduler (Day 0 → Week 1 → Week 2 → Week 3 → Month 1); email notification dispatch
Initiatives
prds/downgrade-webhook.md— PRD: Downgrade Webhook Phase 1 Core Flowrfcs/downgrade-webhook.md— RFC: agent-execution-ready engineering design
QA Lane
Lane B — keeps a human QA gate. Money-critical: downgrade events trigger billing and quota recalculation. No E2E test specs exist for this initiative yet, so the Lane-A entry bar (100% E2E, spec-mapped coverage) is unmet regardless. Classified by Yoddi, Izzul (QA), 2026-06-26.