SuperPay · Overdraft Settlement: Sub-transaction vs Separate Transaction

Sales agent SA1 transfers 900 LE to merchant M1, who is overdrawn by 105 LE

Sender SA1 · 1,900.00 LE Receiver M1 · −105.00 LE Transfer 900.00 LE
Approach 1Settlement as a sub-transactionone atomic transaction
Approach 2Settlement as a separate transactiontwo independent transactions

SuperPay Agent App · Simulated

9:41

Sequence Diagram

Overdraft settlement

Wallet balances (LE)

In progress
If the transfer succeeds, the end state must be SA1 991.00 · M1 795.00 · Tax +5 · Fees +7 · Commission −3. If it fails, nothing should have moved.

Step Inspector

Step 1 / 1–5 scenario · Space play · ←→ step · R restart
Illustrative simulation of SuperPay's transfer engine. Wallet IDs, endpoints and payloads are examples. Amounts follow the case SA1 → M1, 900 LE, with a 105 LE overdraft.