Interviewer: How to design a payment system?

Payment is always the core area of ​​a company, because it is the lifeblood of a company with transactional attributes. So, what does the payment system look like, and how does it operate and interact? Putting aside the payment architecture of financial companies with payment licenses, the following links and system components basically meet the vast majority of payment scenarios. In fact, the whole system can be regarded as two major systems: transaction core + payment core. The transaction system is associated with the business scenario and the underlying payment, while the payment system completes a series of related operations from calling payment tools to reconciliation and settlement. Let’s take a look at the core components and interactions of each system.

1. Payment System Overview

core system interaction

Insert image description here

business map

Insert image description here

2. Core system analysis

trading core

The transaction core associates the company's business system with the underlying payment, allowing the business system to focus on the business and not care about the underlying payment.
Insert image description here
Basic transaction type abstraction,
Insert image description here
multi-table aggregation & order correlation

Guess you like

Origin blog.csdn.net/uniquewonderq/article/details/130117574