The returned-payment leg is the one that bites later. A payout is two records, your ledger and the beneficiary bank, and returns arrive asynchronously, sometimes days after the submit looked clean. Treat submission as an intent rather than a fact until settlement confirms, and model the return as its own event type, not an edit to the original. And validate beneficiaries before the payout enters the batch, not after the return comes back; the rework loop on returned bulk payouts is where ops teams drown.
1
u/SidMangsatabam 3d ago
The returned-payment leg is the one that bites later. A payout is two records, your ledger and the beneficiary bank, and returns arrive asynchronously, sometimes days after the submit looked clean. Treat submission as an intent rather than a fact until settlement confirms, and model the return as its own event type, not an edit to the original. And validate beneficiaries before the payout enters the batch, not after the return comes back; the rework loop on returned bulk payouts is where ops teams drown.