IOSOR Learn
PAYG Wallet Partial Refund Reversal Accounting
Verify how partners process partial refunds and credit reversals in PAYG wallets to keep ledgers accurate and prevent balance drift before comparing route costs.
Lead Telecom & Routing Architect · Lausanne, CH
Finance and ops teams must confirm how each partner records partial refunds and credit reversals against PAYG balances to maintain ledger integrity and avoid silent balance drift across corridors.
Refund Trigger Classification
Map every refund reason — carrier rejection, template rejection, DLR failure, STOP opt-out, or partner-initiated credit — to a distinct ledger code. Require partners to return the original transaction ID, refund amount, timestamp, and reason code in the webhook payload so reconciliation scripts can auto-match without manual lookup.
Partial vs Full Reversal Logic
Validate that partners apply proportional reversal: if a 100-message batch returns 3 failed DLRs, only the per-message cost for those 3 units credits back. Confirm no hidden rounding floors or minimum-charge rules that swallow fractional credits. Test with odd quantities (e.g., 7 of 50) and verify the wallet delta equals unit cost × failed count.
During pre-flight verification, validate that automatic failover thresholds trigger deterministic rerouting without duplicating outbound segments or exhausting retry backoff budgets under peak regional load.
Idempotency and Duplicate Protection
Ensure refund webhooks carry a unique refund_id and that your ledger treats re-delivered webhooks as no-op. Log every refund_id with status (applied, duplicate, rejected) and alert on duplicate rates above 0.1%. Partners must guarantee at-least-once delivery with deduplication keys.
Ledger Posting Sequence and Audit Trail
Enforce strict ordering: debit wallet → create refund record → credit wallet → emit audit event. Any gap breaks reconciliation. Store partner refund reference, internal transaction hash, and before/after balances in an immutable append-only log. Run nightly checksum comparing partner statement totals vs internal ledger deltas.
Dispute and Chargeback Interlock
When a refund escalates to chargeback or arbitration, freeze the affected wallet segment until resolution. Link the chargeback case ID to the original refund record so partial credits don't double-count. Require partners to expose chargeback status via API for real-time dashboard visibility.
Start with IOSOR
Compare verified partner refund handling, webhook schemas, and ledger SLAs for your corridors using Decision Brief. Cross-reference with PAYG Wallet Dispute and Chargeback Arbitration Framework, PAYG Wallet Balance Transfer Fee and Currency Reconciliation Audit, and DLR Failure Ledger Refunds: Reconciling Undelivered SMS Segment Credits to close reconciliation gaps before routing traffic.
IOSOR takeaway
Map every refund reason — carrier rejection, template rejection, DLR failure, STOP opt-out, or partner-initiated credit — to a distinct ledger code. Require partners to expose chargeback status via API for real-time dashboard visibility (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- Rate Card Version Drift: Quote Lock and Cost Verification Gate
Verify partner rate cards stay locked between quote and invoice: version pins, DLR receipt checks, webhook latency gates, and route comparison via Decision Brief.
- Volume Tier Breakpoints: Verifying Cost Cliffs Before Route Commitment
Verify where volume-tier breakpoints land across partner routes, detect cost cliffs versus real savings steps, and normalize tier curves before committing SMS volume.
- PAYG Wallet Route Tier Commitment Reconciliation Audit
Verify committed volume tiers across SMS, voice, and email routes reconcile with actual PAYG wallet debits before renewing or expanding a partner contract.












