IOSOR Learn
Calibrating Auto-Recharge Trigger Thresholds Against Real Burn Rate
Set the auto-recharge trigger from measured burn rate and PSP latency, so budgets fire before send-rate spikes drain the wallet without leaving idle float.
Lead Telecom & Routing Architect · Lausanne, CH
Calibrate the trigger threshold from measured burn rate times the longest delay you must absorb (PSP settlement plus webhook latency), then add a spike margin. Measure burn in credits per hour per corridor, not per day, and keep idle float only as wide as the margin demands.
Measure burn rate per corridor before choosing a number
Pull 14 days of DLR receipts and sending logs and compute credits consumed per hour for each corridor, splitting OTP and SMS. Take the p95 hourly rate, not the mean: send-rate spikes around campaign starts are what empty wallets. Segment by E.164 prefix so a busy corridor does not inflate the threshold for a quiet one. Record the maximum observed hourly draw and the time-of-day pattern.
Convert burn rate into a trigger with latency headroom
Budget latency is the interval from trigger to spendable balance: PSP authorization, settlement, and any webhook confirmation your ledger waits for. Measure it from real budget samples, again at p95. The minimum safe threshold is p95 hourly burn times p95 budget latency in hours, plus a spike margin of 25 to 50 percent.
Balance precision against idle float cost
A high threshold buys safety and ties up money across every wallet. Sum idle float at mid-cycle across all corridors and compare it with the buffer cost you accept. If float exceeds that band, lower thresholds where latency is short and burn is steady, and keep headroom only where volatility is proven.
Instrument the trigger and alert on missed fires
Log trigger time, spendable time, and balance low-water mark for every auto-recharge event. Alert when a budget takes longer than the p95 you calibrated against, and when balance drops below the hard floor. Verify that the depletion signal your wallet uses reflects settled credits, not pending ones, since a lagging notification mis-times the fire.
Set per-wallet rules and document the calibration
Write down each wallet's threshold, its input burn rate, latency figure, and margin, so a future change has a baseline. Map thresholds to currency-specific wallets rather than one blended figure, and re-verify after FX movements that shift effective burn. Coordinate with grace-period rules so a paused send does not silently consume the headroom you reserved.
Start with IOSOR
Run the calibration as a short operational checklist. First, export 14 days of DLR receipts and sending logs, compute p95 hourly burn per corridor, and note the maximum draw. Second, sample real budgets, measure p95 latency from trigger to spendable balance, and record it per PSP route for your corridor. Third, compute each wallet's threshold as burn times latency plus margin, apply the one-hour floor, and log the basis.
Related: PAYG hold before first debit · Wallet stop-lines before production.
IOSOR takeaway
Pull 14 days of DLR receipts and sending logs and compute credits consumed per hour for each corridor, splitting OTP and SMS. Coordinate with grace-period rules so a paused send does not silently consume the headroom you reserved (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- Auto-Recharge budget Velocity Throttling and Queue Depth Controls
Decide concurrency caps and queue depth for auto-recharge budgets so PSP rate limits and wallet concurrency never cause silent send stalls.
- Auto-Recharge Threshold Band Sizing: Evidence Audit Before Route Compare
Audit the trigger band before you compare routes: quantify depletion latency, DLR receipts, and fee bands so every threshold carries defensible evidence.
- Auto-Recharge Recovery Thresholds: Verification and Comparison
Set the auto-recharge fire point versus the spend-throttle point, then verify a route's breach recovery and escalation path before you commit.












