Exploring the architecture behind modern payment systems.

Payment infrastructure is fragmented, underdocumented, and harder to build correctly than almost any other domain in software. These articles document the structural problems — and what better architecture could look like.

Farnaz Bagheri · Software Engineer · Payment Infrastructure

01

POS System Integrations

How payment terminals communicate with backend services, EMV certification constraints, and the gap between SDK documentation and production behavior.

02

Processor Interoperability

Why payment processors expose inconsistent APIs for identical operations, and what a normalized abstraction layer would need to handle.

03

Transaction State Architecture

Modeling payment lifecycle as a state machine — from authorization to capture, void, and refund — across distributed, sometimes-offline systems.

All articles →

Software engineer focused on payment infrastructure — the backend architecture, device protocols, and integration patterns that underlie POS systems and fintech platforms. Writing toward a more coherent understanding of how payment systems should be designed.

More about me →
Stack
Node.js · TypeScript · React · MongoDB
Domain
Payment Infrastructure · POS Systems
Protocols
EMV · ISO 8583 · REST