IOSOR Learn
End-user send still hits one PAYG ledger
Embedded Send still debits the ISV PAYG wallet. Do not invent a second ledger the product does not fund — holds, retries, and idempotency stay honest.
Lead Telecom & Routing Architect · Lausanne, CH
Embedded messaging feels free to the end user: they tap Send inside the SaaS UI and see a green check. Under the glass, every successful submit still hits one PAYG ledger owned by the ISV. There is no second wallet that appears because the product embedded an API. If the ISV does not fund holds, send must fail with an honest product error — not a fake delivered state.
Fiction accounting is the failure mode: an in-app credit meter not backed by the IOSOR wallet, SaaS refunds while the PAYG ledger burns, or retries without idempotency that double-debit one OTP. Embed hides the console; the ISV remains the funded party.
Architecture doc line: end-user send ≡ ISV PAYG debit. Every design review starts there.
One ledger, even when the UI shows product credits
Message packs sold to tenants are an ISV commercial layer. They must map to balance reservation and debits on the single IOSOR wallet the ISV funds. A tenant balance that never reconciles to ledger rows is a support debt bomb. Export tenant usage weekly against wallet lines so finance sees the same burn product sees.
Do not open a second IOSOR account per tenant unless Partner isolation is the explicit contract. Embed pilots almost always stay on one ISV account with internal fair-share caps.
Holds and idempotency still bind on embed paths
Server-side send must use idempotency keys for OTP and transactional SMS. A double-click in the SaaS UI must not create two debits for one user action. Retries after timeout follow the same key until a terminal DLR or a mapped failure.
When the wallet cannot hold, return a product-native insufficient-funds or paused-send status. Never return HTTP 200 with delivered semantics when the hold failed.
Map product errors to ledger truth
| SaaS UI signal | Ledger truth | Allowed next step.
| | |.
| Sent / delivered | Debit + DLR path exists | Show receipt id.
| Queued | Hold open or submit accepted | Poll status.
| Failed / paused | Hold rejected or stop gate | Retry only with new intent.
| Fake success | No debit / no hold | Forbidden.
Train support on the middle column. Tickets about UI greens without ledger rows waste the pilot week.
Channel handovers stay on the same wallet
If the product later adds email or voice beside SMS, spend still lands on the same PAYG ledger unless you run a second-channel handover with finance sign-off. Embed does not create a free side channel. Read Wallet adjacency before flipping another Live tile in SaaS settings.
Related ops paths
A tenant balance that never reconciles to ledger rows is a support debt bomb. Export tenant usage weekly against wallet lines so finance sees the same burn product sees.
Second-channel spend handover on one wallet · API idempotency, retries, and money · Subtenant rate limits and fair share.
Start with IOSOR
Open the IOSOR Console and map your tenant credit system directly to the primary PAYG wallet ledger. Ensure all server-side embed requests pass a deterministic idempotency key before placing a hold on the master wallet. Configure your webhook endpoint to process incoming DLRs so that open holds resolve cleanly to final ledger debits or releases.
IOSOR takeaway
An embedded SaaS interface can present custom message credits to end users, but every real dispatch binds to the single PAYG ledger funded by the ISV. Retries, channel expansions, and user status signals must reconcile directly against balance reservation rather than unbacked UI abstractions.
Do enforce strict server-side idempotency keys and map every tenant UI state to true ledger DLR responses. Don't invent unbacked secondary wallets or allow tenant UI retries to execute without concrete ledger holds.
Was this guide helpful?
Related guides
- Embedded Route Fallback Destination Weighting: Audit and Comparison Gates
Audit how fallback destinations are weighted across embedded routes, catch silent weight drift, and decide when to rebalance or renegotiate before volume shifts.
- Embedded Route Sandbox-to-Production Promotion Gates
How to decide an embedded SMS, voice, or email route is safe to promote: verify sandbox DLR receipts, schemas, credentials, and quotas transfer to live traffic.
- Embedded Route Cost-Band Quote Drift: Verify Before You Commit Volume
Prove partner-quoted per-route cost bands still hold after destination mix, encoding, and volume-tier shifts before you sign embedded messaging volume.












