How praneetsahoo/enterprise_transaction works
PayRecon is a planned batch transaction-reconciliation and fraud-telemetry pipeline. Its documented workflow takes raw payment dumps through S3, Python cleaning and validation, invalid-row DLQ handling, MySQL loading, then merchant settlement and sliding-window fraud analysis. The repository currently exposes configuration and a deterministic sample-data generator, while the application packages are empty; therefore, later-stage components and their links reflect README documentation, not inspected implementations. The README describes SQL analytics, but no SQL files appear in the supplied tree.
Main entry points: preprocessing Clean and validate · generate_sample_data.py Sample generator · raw Raw transaction files · processed Clean transaction data
Components 12
Inputs
- Sample generator
scripts/generate_sample_data.py - Raw transaction files
data/raw - S3 object storage
Preprocessing
- Rules and settings
app/config.py - Clean and validate
app/preprocessing - Invalid-row DLQ
data/dlq - Clean transaction data
data/processed
Data layer
- MySQL connection and loader
app/database - RDS MySQL
Analytics
- Merchant settlement
app/analytics - Sliding-window fraud
app/analytics
Other components
- Data operator
Connections 12
- Data operator → Sample generator: generates samples
scripts/generate_sample_data.py - Sample generator → Raw transaction files: writes CSVs
scripts/generate_sample_data.py - Data operator → S3 object storage: provides dumps
README.md - S3 object storage → Clean and validate: supplies dumps
README.md - Raw transaction files → Clean and validate: local input
README.md - Clean and validate → Rules and settings: uses rules
README.md - Clean and validate → Invalid-row DLQ: routes invalid rows
README.md - Clean and validate → Clean transaction data: writes clean data
README.md - Clean transaction data → MySQL connection and loader: batch loads
README.md - MySQL connection and loader → RDS MySQL: connects to
README.md - RDS MySQL → Merchant settlement: provides transactions
README.md - RDS MySQL → Sliding-window fraud: provides transactions
README.md