# Building Scalable Payment Systems: Requirements and Processing Flow

DevFeed: [Building Scalable Payment Systems: Requirements and Processing Flow](<https://devfeed.tech/articles/how-to-build-a-payments-system-that-scales-to-infinity-with-examples-23767.md>)

Original publisher: [Read original article](<https://cockroachlabs.com/blog/cockroachdb-payments-system-architecture>)

Author: Charlie Custer, Michelle Gienow

Published: 2024-05-08T00:00:00Z

Content type: tutorial

Language: en

Sources: [Cockroach Labs](<https://devfeed.tech/sources/cockroach-labs.md>)

Topics: [data-architecture](<https://devfeed.tech/topics/data-architecture.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [Kafka](<https://devfeed.tech/topics/kafka.md>)

Tags: [availability](<https://devfeed.tech/tags/availability.md>), [data-management](<https://devfeed.tech/tags/data-management.md>), [kafka](<https://devfeed.tech/tags/kafka.md>), [payment-processing](<https://devfeed.tech/tags/payment-processing.md>), [payments](<https://devfeed.tech/tags/payments.md>)

## AI overview

This tutorial outlines payment-system requirements, including long-term transaction data retention, high-volume data management, accuracy, consistency, and availability. It also describes the authorization and capture flow and notes that transaction details can be logged in databases and systems such as Apache Kafka.

## Source excerpt

Everybody, from banking applications to retailers to SaaS applications, deals with payment processing. But architecting a system that can deal with payments at scale is challenging.