Skip to content

feat(billing): detect API customers near/over plan caps and notify them with a self-serve upgrade CTA #4636

Description

@koala73

Part of the plan-limit upgrade lifecycle epic (#4635). This is the detect + notify half (its sibling #4634 is the upgrade mechanism).

Problem

When an API customer approaches or exceeds their plan caps (per-minute burst / daily allowance), we currently do nothing customer-facing — they'd be silently throttled once #3199 enforcement flips on, or (worse) surprised. We must notify them first and point them at a self-serve upgrade, so they can choose to upgrade or reduce traffic. No auto-charge, no silent throttle.

Scope

Relationships

Open product decisions (resolve in planning)

Thresholds & sustained-vs-spike logic; channels (email / in-app / both); cadence & anti-spam; copy; and sequencing vs #3199 enforce and #4560 overage billing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium priority, schedule when capacity allowsarea: APIBackend API, sidecar, keys

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions