IOSOR Learn

Webhook contract before the first send

Buyer path: agree signed URL, event types, and idempotency key before the first PAYG send — contract first, paid traffic later.

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

Lead Telecom & Routing Architect · Lausanne, CH

IOSOR Expert · Q&A

A PAYG send without a webhook contract is spend with no shared truth. Buyers must lock the signed URL, the event list, and the idempotency key before the first paid message leaves the wallet — not after finance asks why status and ledger disagree. This page is that buyer path, not a keys-at-launch checklist and not a signature deep-dive.

IOSOR is white-label PAYG. PAYG funds a contract pilot on one corridor; soft review near USD 1,000/month prices “send first, contract later” as recon debt. Clients see white-label event names only.

Agree the contract before the first paid send

Paid send means the wallet can debit. Contract means product, finance, and ops already share where callbacks land, which events count as money or status truth, and which key makes retries safe. Launch habits and runway can look green while the contract is still a Slack thread — that is not ready. See webhooks and keys at launch and Day-1 runway: what must be green. Do not buy traffic on last week’s staging callback URL.

Signed URL and consumer ownership

| Contract field | Why buyers care.

| | A signed URL without an owner becomes folklore at 02:00. Soft USD 1,000/month treats folklore as volume risk; PAYG proves one URL, one owner, one smoke with 2xx only after signature middleware is on. See also webhooks that survive launch.

Event types product and finance share

List events that may move money or status before the first send: accepted, delivered, failed, expired, inbound STOP, and any verify result you treat as truth. Unlisted events fail closed — they do not invent ledger rows. Shared words: Shared status language for product and finance. Hold still fails closed without PAYG proof — balance reservation before first debit. The contract is the event menu; later gates decide whether each row is trusted.

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

Idempotency key before spend

Agree the key shape before spend: platform event or message ID, stored before side effects, readable next to the debit row.

Buyer checklist for the webhook contract

  1. Signed production URL named and owned before first paid send?
  2. Event list product and finance share written — not oral?

Start with IOSOR

Enter the IOSOR console and register your signed HTTPS callback URL alongside your designated idempotency key field before enabling paid message dispatches. Ensure product, finance, and engineering team leads review the shared event schema—such as delivered, failed, and expired—to confirm unlisted callbacks automatically fail closed. Run a zero-spend duplicate-event payload test through your webhook gate to verify that retries record against a single ledger row before releasing traffic holds.

IOSOR takeaway

A webhook contract is not an informal alignment; it is an explicit boundary that protects finance and product from double-debits and phantom status updates. Establishing signing secret ownership, exact URL ownership, and strict idempotency key parsing prior to the first paid delivery prevents retry storms from inventing ledger entries.

Do freeze your callback event list and enforce an ACK-before-side-effects architecture across all inbound callbacks. Don't launch live production traffic using synthetic keys derived from timestamps or body hashes, and never rely on oral agreements for event status definitions.

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