Services/Payment (Legacy)
Core (Frozen)frozenPhase 1

Payment (Legacy)

Payment processing and invoicing — remains in the legacy monolith during Phase 1 due to the constraint. New services access it via an Anti-Corruption Layer (ACL) adapter pattern.

Bounded Context

Payment

Data Ownership

payments, invoices, reconciliation

Key APIs

/api/payments/* (via ACL bridge)

Communication Patterns

ACL adapter pattern — new services call a clean interface that translates to legacy API format

Database

Legacy SQL Server (shared monolith DB) — payment, invoice tables

Primary Owner

D1

Integration Points

Payment module stays in legacy monolith during Phase 1. Other services connect via Anti-Corruption Layer (ACL).
ACL adapter translates between new service contracts and legacy API formats.