Payments Academy
APIs: modern way for systems PAYMENT OPERATIONS STARTED LIVE 01 APIs - application programming interfaces ACTIVE 02 MQ messaging - workhorse for payment processing inside QUEUED 03 Reliability - payments, that reliability is worth QUEUED 04 File simplicity advantage - Banks accept this because files are simple QUEUED 05 Trade-off - The trade-off is cost and specialisation. QUEUED 06 High-volume corporate connectivity - These connections suit companies that QUEUED APIs, or application programming interfaces, are the modern way for systems to talk to each other in real time. Step 1 of 6 APIs: modern way for systems STARTED APIs application programming interfaces ACTIVE MQ messaging workhorse for payment processing inside QUEUED Reliability payments, that reliability is worth QUEUED File simplicity advantage Banks accept this because files are simple QUEUED Trade-off The trade-off is cost and specialisation. QUEUED High-volume corporate connectivity These connections suit companies that send QUEUED APIs, or application programming interfaces, are the modern way for systems to talk to each other in real time.
MQ messaging PAYMENT OPERATIONS IN PROGRESS LIVE 01 APIs - application programming interfaces DONE 02 MQ messaging - workhorse for payment processing inside ACTIVE 03 Reliability - payments, that reliability is worth QUEUED 04 File simplicity advantage - Banks accept this because files are simple QUEUED 05 Trade-off - The trade-off is cost and specialisation. QUEUED 06 High-volume corporate connectivity - These connections suit companies that QUEUED MQ messaging is the workhorse for payment processing inside a bank. Step 2 of 6 MQ messaging IN PROGRESS APIs application programming interfaces DONE MQ messaging workhorse for payment processing inside ACTIVE Reliability payments, that reliability is worth QUEUED File simplicity advantage Banks accept this because files are simple QUEUED Trade-off The trade-off is cost and specialisation. QUEUED High-volume corporate connectivity These connections suit companies that send QUEUED MQ messaging is the workhorse for payment processing inside a bank.
Reliability: worth effort PAYMENT OPERATIONS IN PROGRESS LIVE 01 APIs - application programming interfaces DONE 02 MQ messaging - workhorse for payment processing inside DONE 03 Reliability - payments, that reliability is worth ACTIVE 04 File simplicity advantage - Banks accept this because files are simple QUEUED 05 Trade-off - The trade-off is cost and specialisation. QUEUED 06 High-volume corporate connectivity - These connections suit companies that QUEUED For payments, that reliability is worth the effort. Step 3 of 6 Reliability: worth effort IN PROGRESS APIs application programming interfaces DONE MQ messaging workhorse for payment processing inside DONE Reliability payments, that reliability is worth ACTIVE File simplicity advantage Banks accept this because files are simple QUEUED Trade-off The trade-off is cost and specialisation. QUEUED High-volume corporate connectivity These connections suit companies that send QUEUED For payments, that reliability is worth the effort.
File simplicity advantage PAYMENT OPERATIONS IN PROGRESS LIVE 01 APIs - application programming interfaces DONE 02 MQ messaging - workhorse for payment processing inside DONE 03 Reliability - payments, that reliability is worth DONE 04 File simplicity advantage - Banks accept this because files are simple ACTIVE 05 Trade-off - The trade-off is cost and specialisation. QUEUED 06 High-volume corporate connectivity - These connections suit companies that QUEUED Banks accept this because files are simple, cheap, and easy for corporate customers to produce from their payroll systems. Step 4 of 6 File simplicity advantage IN PROGRESS APIs application programming interfaces DONE MQ messaging workhorse for payment processing inside DONE Reliability payments, that reliability is worth DONE File simplicity advantage Banks accept this because files are simple ACTIVE Trade-off The trade-off is cost and specialisation. QUEUED High-volume corporate connectivity These connections suit companies that send QUEUED Banks accept this because files are simple, cheap, and easy for corporate customers to produce from their payroll systems.
Trade-off: cost and specialisation PAYMENT OPERATIONS IN PROGRESS LIVE 01 APIs - application programming interfaces DONE 02 MQ messaging - workhorse for payment processing inside DONE 03 Reliability - payments, that reliability is worth DONE 04 File simplicity advantage - Banks accept this because files are simple DONE 05 Trade-off - The trade-off is cost and specialisation. ACTIVE 06 High-volume corporate connectivity - These connections suit companies that QUEUED The trade-off is cost and specialisation. Step 5 of 6 Trade-off: cost and specialisation IN PROGRESS APIs application programming interfaces DONE MQ messaging workhorse for payment processing inside DONE Reliability payments, that reliability is worth DONE File simplicity advantage Banks accept this because files are simple DONE Trade-off The trade-off is cost and specialisation. ACTIVE High-volume corporate connectivity These connections suit companies that send QUEUED The trade-off is cost and specialisation.
High-volume corporate connectivity PAYMENT OPERATIONS COMPLETE LIVE 01 APIs - application programming interfaces DONE 02 MQ messaging - workhorse for payment processing inside DONE 03 Reliability - payments, that reliability is worth DONE 04 File simplicity advantage - Banks accept this because files are simple DONE 05 Trade-off - The trade-off is cost and specialisation. DONE 06 High-volume corporate connectivity - These connections suit companies that ACTIVE These connections suit companies that send thousands of payments a day and want full automation with no manual file upload. Step 6 of 6 High-volume corporate connectivity COMPLETE APIs application programming interfaces DONE MQ messaging workhorse for payment processing inside DONE Reliability payments, that reliability is worth DONE File simplicity advantage Banks accept this because files are simple DONE Trade-off The trade-off is cost and specialisation. DONE High-volume corporate connectivity These connections suit companies that send ACTIVE These connections suit companies that send thousands of payments a day and want full automation with no manual file upload.

Key points of this lesson, in order.

0:00 / 3:39 Step 1 of 6

How Systems Connect

System Design Deep Dive, Lesson 6 of 7, Narration 3:39, D09 Payment architecture and technology

ReconciliationPayment hubISO 20022

What you will learn

Your objective. By the end of this lesson, you will be able to explain systems connect. APIs, or application programming interfaces, are the modern way for systems to talk to each other in real time.

Why it matters. This matters because the architecture decides what the bank can build, how fast it can change, and where a payment can fail. Most payment requirements live in the architecture.

Chapter objective: Learner applies system design to payments, covering throughput, latency, idempotency, exactly-once processing, and failure recovery, and designs a system for a stated load. Learner practises this skill on realistic banking cases, explaining the reasoning clearly and using correct terminology throughout the work.

Key learning points

  • APIs: modern way for systems
  • MQ messaging
  • Reliability: worth effort
  • File simplicity advantage
  • Trade-off: cost and specialisation
  • High-volume corporate connectivity

Key terms

Reconciliation: The process of comparing records from two sources, such as a bank statement and an internal ledger, to confirm they agree.

Payment hub: A central system in a bank that receives payment instructions from all channels, validates them, applies screening and routing rules, and sends them to the correct clearing system or correspondent.

ISO 20022: An international standard for financial messaging that defines XML message formats for payments, securities and trade.

Banking architecture diagram showing How Systems Connect.

Practise this lesson

Exercise

Map the payment in this lesson through the hub components.

Use the hub components and their order in this lesson.

  1. What to do. List each component the payment passes through, what it does, and what happens if it fails.

Correct result. The payment enters through a channel, passes the gateway, validation, fraud and sanctions checks, routing, and the ledger, then leaves through the right clearing system. A failure at any component stops or holds the payment, and the hub must record where it stopped.

Why. The hub is where most payment requirements live. If you cannot map a payment through it, you cannot specify, test or fix it.

Check your understanding

Practice question

Which of the following best describes systems connect?

Takeaway and next step

What to remember

This decoupling means the sender does not need to wait for the receiver, and a message is never lost if the receiver is briefly down.

Send a payment through the hub and watch it pass each component named in this lesson.

Open the Payment Hub Architecture Simulator →

Builds on "Exception Queues".

Transcript and full text

Show transcript

APIs, or application programming interfaces, are the modern way for systems to talk to each other in real time. When a customer checks a balance on a mobile app, the app calls an API on the core banking system and gets an answer in less than a second. When a corporate customer submits a payment through a banking portal, the portal calls the payment hub API. APIs are fast and interactive, which makes them ideal for customer-facing services and for real-time payments. Their trade-off is that both systems must be available at the same moment, and a badly designed API can expose sensitive data if it is not properly secured with authentication, encryption, and rate limits. MQ messaging is the workhorse for payment processing inside a bank. Instead of one system calling another directly, it places a message on a queue, and the receiving system picks it up when it is ready. This decoupling means the sender does not need to wait for the receiver, and a message is never lost if the receiver is briefly down. IBM MQ is the most common product in this space, and it is used for the critical path between the hub, the payment engines, and core banking. The trade-off is complexity. Queues need monitoring, dead letter queues need management, and tracing a payment across five queues requires good logging. For payments, that reliability is worth the effort. File transfers are the oldest connection type and are still essential for bulk payments. A large company that pays 50,000 employees sends a single file containing all 50,000 salary instructions, usually over SFTP, which is a secure file transfer protocol. The bank picks up the file, validates every line, and processes the payments in a batch. Files are also used for statements, regulatory reports, and reconciliation data. Their trade-off is speed. A file is processed as a batch, so an error on line 40,000 is only found after the whole file is read. Banks accept this because files are simple, cheap, and easy for corporate customers to produce from their payroll systems. SWIFT Alliance Access and Alliance Gateway are the specialist connections that link a bank to the SWIFT network. Alliance Access is the software that sits inside the bank and creates, validates, and stores SWIFT messages such as MT103 payment instructions and MT202 bank-to-bank transfers. Alliance Gateway is the component that connects Alliance Access to the SWIFT network itself, handling the secure transmission and the acknowledgements. Together they form the bank gateway to more than 11,000 financial institutions worldwide. The trade-off is cost and specialisation. SWIFT connectivity needs dedicated hardware, annual fees, and staff who understand SWIFT message standards, but no bank can do international payments without it. Host-to-host connections are direct links between a bank and a large corporate customer, built for high-volume straight-through processing. A multinational company with a treasury system sends payment instructions directly to the bank over a secure leased line or a virtual private network, often using the ISO 20022 format or a host-to-host file protocol. The bank returns status updates and statements over the same link. These connections suit companies that send thousands of payments a day and want full automation with no manual file upload. The trade-off is setup effort. Each host-to-host connection is custom-built, takes weeks to establish, and needs ongoing maintenance when either side changes its systems.

APIs, or application programming interfaces, are the modern way for systems to talk to each other in real time. When a customer checks a balance on a mobile app, the app calls an API on the core banking system and gets an answer in less than a second. When a corporate customer submits a payment through a banking portal, the portal calls the payment hub API. APIs are fast and interactive, which makes them ideal for customer-facing services and for real-time payments. Their trade-off is that both systems must be available at the same moment, and a badly designed API can expose sensitive data if it is not properly secured with authentication, encryption, and rate limits.

MQ messaging is the workhorse for payment processing inside a bank. Instead of one system calling another directly, it places a message on a queue, and the receiving system picks it up when it is ready. This decoupling means the sender does not need to wait for the receiver, and a message is never lost if the receiver is briefly down. IBM MQ is the most common product in this space, and it is used for the critical path between the hub, the payment engines, and core banking. The trade-off is complexity. Queues need monitoring, dead letter queues need management, and tracing a payment across five queues requires good logging. For payments, that reliability is worth the effort.

File transfers are the oldest connection type and are still essential for bulk payments. A large company that pays 50,000 employees sends a single file containing all 50,000 salary instructions, usually over SFTP, which is a secure file transfer protocol. The bank picks up the file, validates every line, and processes the payments in a batch. Files are also used for statements, regulatory reports, and reconciliation data. Their trade-off is speed. A file is processed as a batch, so an error on line 40,000 is only found after the whole file is read. Banks accept this because files are simple, cheap, and easy for corporate customers to produce from their payroll systems.

SWIFT Alliance Access and Alliance Gateway are the specialist connections that link a bank to the SWIFT network. Alliance Access is the software that sits inside the bank and creates, validates, and stores SWIFT messages such as MT103 payment instructions and MT202 bank-to-bank transfers. Alliance Gateway is the component that connects Alliance Access to the SWIFT network itself, handling the secure transmission and the acknowledgements. Together they form the bank gateway to more than 11,000 financial institutions worldwide. The trade-off is cost and specialisation. SWIFT connectivity needs dedicated hardware, annual fees, and staff who understand SWIFT message standards, but no bank can do international payments without it.

Host-to-host connections are direct links between a bank and a large corporate customer, built for high-volume straight-through processing. A multinational company with a treasury system sends payment instructions directly to the bank over a secure leased line or a virtual private network, often using the ISO 20022 format or a host-to-host file protocol. The bank returns status updates and statements over the same link. These connections suit companies that send thousands of payments a day and want full automation with no manual file upload. The trade-off is setup effort. Each host-to-host connection is custom-built, takes weeks to establish, and needs ongoing maintenance when either side changes its systems.

Full lesson text (all scenes)

Completing a lesson updates your progress dashboard on the homepage.

Scene timestamps are estimated by allocating the narration text proportionally across the real audio length. The audio playback position is the source of truth: pause freezes the visual, seeking restores the correct scene, replay restarts the scene animation.