IOSOR Learn
PAYG Balance Drain Velocity: Alerting Before Fraud Exhausts Credit
How to set drain-velocity alert thresholds that fire before an abusive route empties a PAYG balance, and what telemetry to demand from partners.
Lead Telecom & Routing Architect · Lausanne, CH
Alerting must fire on consumption rate, not on a low-balance floor: measure spend per minute against your observed baseline and trip a webhook-driven alarm within minutes when velocity exceeds a tolerance band, so an abusive route is capped long before the credit reaches zero.
Why a balance floor alert is always too late
A static low-balance threshold tells you the money is nearly gone, which is exactly the moment the fraud has already succeeded. On a PAYG messaging or voice balance, the loss event is the rate of consumption: an abusive sender can push thousands of SMS or Verify attempts through a single unguarded route in the time it takes a human to read a floor alert.
What telemetry the alert loop actually needs
Four streams make velocity alerting possible, and each must arrive with timestamps you can trust. First, ledger-level spend rows with per-message cost, so burned credit maps to a specific route and sender. Second, DLR receipts keyed to message IDs, so you can separate messages that reached a handset from attempts that never delivered. Third, webhook delivery latency — if the consumption event reaches your system ten minutes late, no velocity rule can fire in time.
Setting the velocity band and the trip points
Start with a baseline from a clean week: median spend per five-minute window, plus the 95th percentile. Set the warning trip at roughly three times the p95 and the hard trip at five times, then verify against real traffic before trusting either. Build two trip points per band — one on aggregate spend velocity, one on attempts to a single E.164 prefix, because targeted drains look small in aggregate but huge per destination.
Verifying partner telemetry before you depend on it
Run a controlled test with a known small batch and measure three things: the delay from send to ledger row, the delay from send to DLR, and whether the webhook payload carries sender and route identifiers. A partner that reports consumption only in daily summaries cannot support velocity alerting at any threshold. Ask for the webhook retry and ordering behaviour — out-of-order ledger rows can make velocity appear to drop and reset your baseline. Check that delivery receipts and spend rows share a join key.
Where velocity alerting meets route and filter evidence
Velocity tells you that credit is draining; it does not tell you why. Pair every trip with the route and filter evidence from your carrier and partner layer so the response targets the actual abuse path. If the drain coincides with a filter bypass signature, the alert should name the route segment, not just the sender — see Detecting Carrier-Level Spam Filter Silencing and Route Drops for the detection signals to join against the velocity window.
Start with IOSOR
Before committing to any route, gate the partner on telemetry, not on price. Third, webhook delivery latency — if the consumption event reaches your system ten minutes late, no velocity rule can fire in time. Start with a baseline from a clean week: median spend per five-minute window, plus the 95th percentile (/tools/brief).
PAYG hold before first debit · Wallet stop-lines before production.
IOSOR takeaway
A static low-balance threshold tells you the money is nearly gone, which is exactly the moment the fraud has already succeeded. Check that delivery receipts and spend rows share a join key (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- OTP Velocity Cap Drift Detection: Verify Route Failover Before Abuse Escalates
Detect silent per-route OTP velocity cap drift, audit DLR and webhook evidence, and compare failover-ready partner routes before abuse spikes hit your funnel.
- Verifying OTP Delivery Receipts Against Forged Success Signals
How ops leads test whether DLR and webhook success signals are auditable before trusting OTP conversion and fraud dashboards, and pick routes with receipt integrity.
- OTP Velocity Fencing: Auditing Threshold Drift Before It Leaks Fraud
How to audit per-account, per-number, and per-IP OTP velocity fences for silent threshold drift after rule changes, traffic mix shifts, or partner filter updates.












