IOSOR Learn
API Request Cancellation and In-Flight Cost Recovery
Compare partner support for stop-send signals, credit refunds, and cancellation APIs to recover costs on queued or in-flight messages.
Lead Telecom & Routing Architect · Lausanne, CH
Engineers cancelling queued or in-flight messages must verify which partners honor stop-send signals, refund credits, or expose cancellation APIs to prevent wasted spend and maintain billing transparency.
Cancellation Signal Propagation
Partners differ in how quickly a stop-send request reaches the carrier gateway. Some expose a synchronous cancel endpoint that returns a 202 only after the upstream queue acknowledges revocation; others queue the cancellation asynchronously and may still deliver the message. Measure propagation latency by sending a test burst, issuing cancel, and correlating DLR receipts with webhook timestamps.
Credit Refund Eligibility
Refund policies vary: certain partners auto-credit messages cancelled before carrier hand-off, while others require a manual ticket with message IDs and timestamps. Document each partner's refund window — typically 5–30 seconds post-submit — and whether partial refunds apply for multi-segment messages where only some segments are stopped.
Cancellation API Surface
A solid cancellation API accepts batch message IDs, returns per-ID status (cancelled, already-sent, not-found), and emits webhooks for each state change. Verify idempotency keys prevent duplicate cancellation requests from double-refunding. Test edge cases: cancelling during carrier maintenance windows, cancelling messages stuck in gateway retry loops, and cancelling messages with priority queuing flags.
DLR Correlation for Audit
Match cancellation requests to final DLR statuses (DELIVERED, FAILED, EXPIRED, CANCELLED) to prove cost recovery. Partners that surface a CANCELLED DLR code simplify reconciliation; those that only return FAILED require cross-referencing webhook logs. Build an automated reconciliation job that runs hourly and flags discrepancies >0.1%.
Partner Route Comparison for Revocation
Use the comparison tool to filter partners by cancellation SLA, refund automation, and webhook granularity. Prioritize routes that expose real-time revocation status and automated credit return for your primary corridors.
Start with IOSOR
Run a live partner comparison at Decision Brief to match providers with verified stop-send latency, refund windows, and cancellation API coverage for your channel and corridor. Cross-reference with API Request Deduplication Across Redundant Routes, API Request Priority Queuing for Critical OTP Delivery, and Establishing Outbound Route Cost-Band Verification Protocols for a complete operational picture.
IOSOR takeaway
Partners differ in how quickly a stop-send request reaches the carrier gateway. Prioritize routes that expose real-time revocation status and automated credit return for your primary corridors (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- Webhook Signature Verification: Legacy Scheme Replay and Acceptance Gate
Audit inbound provider callbacks: decide when legacy HMAC schemes, skewed timestamps, and replay caches are safe to accept, and when to enforce a cutover gate.
- Verify MCC MNC Porting Lag Gate on Developers Routes Before Scaling
Check MCC MNC porting lag gates on developers routes before raising SMS volume, then compare verified partner routes in /tools/brief for your corridor.
- Sandbox-to-Production Webhook Replay Parity Gate for Messaging APIs
Test whether sandbox webhooks replay identical signed payloads, retry cadence, and DLR order as production — then gate the route via a partner comparison.












