DSM — Payments Monolith Decomposition
Fifteen modules of a payments monolith listed in package order, where partitioning cuts 15 backwards dependencies to 4 and leaves an eight-module ledger and settlement core no extraction order untangles.
Make it your own.
title "Payments monolith — module coupling before extraction"
mode component
convention ir-fad
# Package order as the repository lists it — the order every extraction plan
# starts from and the one the matrix is meant to overturn.
components: Auth tokens, Card vault, Chargebacks, Currency rates, Fee schedule
components: Ledger, Merchant onboarding, Notifications, Payouts, Reconciliation
components: Refunds, Reporting, Risk rules, Scheme adapters, Settlement
Card vault <- Auth tokens(2)
Fee schedule <- Currency rates(2), Merchant onboarding
Ledger <- Fee schedule(3), Currency rates(2), Settlement(3)
Scheme adapters <- Card vault(3), Auth tokens
Risk rules <- Merchant onboarding(2), Ledger(2), Chargebacks(2)
Settlement <- Ledger(3), Scheme adapters(2), Reconciliation(3)
Reconciliation <- Settlement(2), Ledger(3), Scheme adapters
Refunds <- Ledger(3), Scheme adapters(2), Risk rules
Chargebacks <- Scheme adapters(2), Ledger(2), Refunds(2)
Payouts <- Settlement(3), Ledger(2), Merchant onboarding
Notifications <- Payouts(2), Chargebacks, Refunds
Reporting <- Ledger(3), Settlement(2), Reconciliation(2), Fee schedule
Merchant onboarding <- Auth tokens(2), Risk rules(2)
Currency rates <- Scheme adapters