Card authorization — System design

A card network checks every swipe for fraud, places a hold and records it, all quickly. Design it so two holds never spend the same limit.

All system design challenges