IOSOR Learn
Event order vs ledger posting
Networks deliver callbacks out of order. A late DLR, early MO, or status flip before settle must not invent a second debit or rewrite a settled row. This page
Lead Telecom & Routing Architect · Lausanne, CH
Networks deliver callbacks out of order. A late DLR, early MO, or status flip before settle must not invent a second debit or rewrite a settled row. This page is the posting-order contract: ledger rules survive reordering — not a correlation-ID primer and not an MO-vs-MT billing essay.
IOSOR is white-label PAYG. PAYG funds an out-of-order smoke; soft review near USD 1,000/month prices “last event wins the money” as recon debt.
Arrival order is not ledger law
HTTP arrival is a transport accident. Money posts under hold → settle → outcome-update — not “whatever callback landed last.” Soft USD 1,000/month treats reordering as a finance incident when product shows success while the ledger double-moves. PAYG proves a forced late DLR never opens a parallel debit. Same-ID replays: Duplicate webhook must not create a second debit. This page owns different events, wrong sequence.
What out-of-order looks like
| Arrival pattern | Safe posting | Unsafe reaction.
| | |.
| DLR before settle | Pending; settle once under hold | Debit from DLR alone.
| Failed then delivered | Update outcome in place | Second charge for flip.
| MO before MT correlate | File inbox; join on MT settle | Charge MO as outbound.
| Status after refund | No new money; annotate | Resettle released intent.
| Two terminals, one intent | One money row | Two debit rows.
Workers apply the same table at volume: Webhook consumer ops at volume. Authenticity first: Signature and replay-window gate.
Posting rules that survive reordering
Mint hold and idempotency keys before side effects (Webhook contract before the first send. Settle once per billable intent; later events update outcome only. Never open a parallel debit for early/late DLR or MO. Reject or park outside the signed window — no invented success. Export joins by intent — not arrival timestamp. Money↔outcome: Debit rows vs delivery status ledger. Soft volume language stays blocked while out-of-order smoke shows two money lines for one intent.
Lag is normal; double money is not
Pending after settle is ordinary. A second charge for the same key because a callback arrived late is a bug.
Buyer checklist for event order vs posting
- Hold/settle independent of HTTP arrival?
- Late DLR updates outcome — never a second debit?
Start with IOSOR
Post the PAYG debit on the business key, not on the order the webhook arrived. A late DLR and an early accepted can land in either sequence; the ledger still writes one row. Replay inside the signature window must not create a second debit. Force one late status and one early status on a paid send and prove a single posting.
IOSOR takeaway
Arrival order is not ledger law. The posting key owns the money; the queue order does not.
Do: post once on the idempotency key; attach late DLR as status, not as a new debit.
Don’t: debit again because the DLR arrived first, or leave a second row for a replayed webhook.
Was this guide helpful?
Related guides
- Webhook Endpoint Health Probes and Failover Gate Verification
How to probe webhook endpoint health, set failover gates, and verify partner route readiness before committing SMS volume to a new channel.
- Webhook Retry Storm Control: Backoff and Jitter Policy Comparison
Compare retry backoff and jitter policies that stop synchronized webhook storms across partner routes while preserving DLR delivery SLAs and rate-limit headroom.
- Webhook Endpoint Failover: DNS Cutover Gates for Partner Route Comparison
Decide when to fail over webhook ingestion across regions or providers without losing events, duplicating debits, or breaking signature validation.












