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

Oleksandr (Alex) Petukhov — IOSOR Telecom Expert
✓ Verified by IOSOR ExpertOleksandr (Alex) Petukhov

Lead Telecom & Routing Architect · Lausanne, CH

IOSOR Expert · Q&A

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.

⚡ IOSOR Expert · Q&A · Verified partners (×44)

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

  1. Hold/settle independent of HTTP arrival?
  2. 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

VERIFIED BY IOSOR EXPERT · B2B ROUTING, SLA & PROVIDER Q&A

IOSOR Expert — Verified Q&A & B2B Messaging Decisions

Every Q&A decision below is audited by the IOSOR Telecom Architecture Expert against live 90-day uptime telemetry, carrier compliance rules (10DLC, DLT, GDPR), and real partner TCO.

All Q&A Triggers
#01 · Compliance & Sender ID📖 Knowledge hub · US A2P / 10DLC

US A2P / 10DLC

“Why do US 10DLC TCR campaigns get rejected and which partner handles fast onboarding?”

✓ Verified by IOSOR Expert

10DLC brand and campaign programs for US A2P traffic — not general privacy compliance.

All Q&A Triggers
#02 · OTP & verification📖 Knowledge hub · India DLT

India DLT

“How do engineering teams prevent India TRAI DLT template scrubbing drops on OTPs?”

✓ Verified by IOSOR Expert

DLT and PE-TM registration for India A2P — not an India corridor coverage guide.

All Q&A Triggers
#03 · OTP & verification📖 Knowledge hub · Verify / OTP

Verify / OTP

“How do we eliminate OTP p95 timeout spikes and trigger a 20–30s multi-rail fallback?”

✓ Verified by IOSOR Expert

Login codes without chaos: abuse, latency, and cost control.

All Q&A Triggers
#04 · Transactional email📖 Knowledge hub · Email

Email

“Why do password reset and 2FA emails land in Spam when sharing bulk marketing IPs?”

✓ Verified by IOSOR Expert

Transactional email alongside SMS, voice, and WhatsApp in one routing architecture.

All Q&A Triggers
#06 · WhatsApp Business📖 Knowledge hub · WhatsApp & RCS

WhatsApp & RCS

“How do Meta per-conversation fees and template pauses impact WhatsApp Business TCO?”

✓ Verified by IOSOR Expert

Rich channels when profiles and templates are ready: honest setup.

All Q&A Triggers
#08 · Failover & backup routing📖 Knowledge hub · Failover & rails

Failover & rails

“How do we keep a second standby provider warm for failover at $0/month idle cost?”

✓ Verified by IOSOR Expert

Ordered backup paths when a primary rail fails - distinct from DLR status truth.

All Q&A Triggers