Key points of this lesson, in order.
Core Banking Integration Patterns
What you will learn
Your objective. By the end of this lesson, you will be able to explain core banking integration patterns. A synchronous call is the simplest pattern, and it fits real-time payments where the caller needs an immediate answer.
Why it matters. This matters because APIs and integrations are how systems talk to each other. A badly specified API is a failed payment, a duplicate, or a security hole.
Chapter objective: Learner explains banking integration patterns, including file transfer, messaging, APIs, and event streaming, and selects the right pattern for a given payment integration need. Learner demonstrates this skill using realistic banking examples, explaining each step clearly and using correct terminology throughout.
Key learning points
- Synchronous call
- Asynchronous messaging fits payments
- File-based integration
- Modern file integration therefore validates each record
- Safer alternative
- Why payment systems
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.
Value date: The date on which funds become available to the beneficiary and on which interest starts to accrue. It is the date used for settlement and for nostro posting.
Banking architecture diagram showing Core Banking Integration Patterns.
Practise this lesson
Exercise
Write the request and the expected response for the API call described in this lesson.
Use the API resources, operations and fields named in this lesson.
- What to do. Write the JSON request with the required fields, the success response, and one error response with its error code.
Correct result. A correct request has all mandatory fields, a valid idempotency key, and the right resource and operation. The success response confirms acceptance, and the error response names the field or rule that failed.
Why. An API contract is a promise between two systems. If the request is wrong, the API must reject it cleanly, not fail silently.
Check your understanding
Practice question
A bank is integrating with a core banking system that only accepts files once a day, while the payment hub works in real time. What is the integration problem, and what is the usual fix?
Takeaway and next step
What to remember
This is why payment systems use transaction identifiers that link the core entry, the hub record, and the scheme message, so that reconciliation can find any break in the chain and repair it automatically.
Call the API described in this lesson with a valid request, then with a missing field, and compare the responses.
Builds on "The Integration Landscape Inside a Bank".
Transcript and full text
Show transcript
A synchronous call is the simplest pattern, and it fits real-time payments where the caller needs an immediate answer. The payment hub calls the core banking service, which checks the balance, debits GBP 1,200, and returns a success or failure response within a second. The advantage is simplicity, because the caller knows the result before it proceeds. The disadvantage is coupling, because if the core system is slow or unavailable, the payment fails immediately. Synchronous calls therefore need short timeouts, circuit breakers that stop calling a sick service, and a fallback that queues the payment rather than losing it. Asynchronous messaging fits payments where the caller can continue without an immediate answer. The hub places a message on a queue, such as an instruction to debit EUR 2,000, and the core banking system picks it up when it is ready. The queue guarantees delivery, so the message is not lost if the core system restarts. The disadvantage is that the caller does not know the result straight away, so it must listen for a response message and handle the waiting state. This pattern works well for bulk payments and for end-of-day processing, where a delay of a few minutes is acceptable and the queue smooths out peaks. File-based integration is the oldest pattern, and it still handles the largest volumes in most banks. A payment system writes a file containing 100,000 instructions, each with an account number, an amount, and a value date, and the core system reads the file overnight. Files are simple, auditable, and easy to replay, which makes them ideal for salary payments and direct debits. The disadvantage is latency, because nothing happens until the file is processed, and a single bad record can reject the whole file if the validation is not designed carefully. Modern file integration therefore validates each record separately and reports errors per record. Database sharing is a pattern that should be used with great care, because it couples two systems at the lowest level. One system reads or writes directly to the tables owned by another system, which is fast but fragile. A change to a table structure breaks every system that reads it, and a bad write from one system can corrupt data owned by another. Banks that still use this pattern usually restrict it to read-only access through views, so the consuming system cannot change the data. The safer alternative is to expose the data through a service, which hides the table structure and enforces business rules before any change is made. The atomic debit is the rule that governs every core banking pattern, whatever the transport. A payment must debit the sender account and record the payment instruction as one unit, so that a crash cannot create one without the other. If the hub sends a payment to the scheme but the core debit fails, the payment must not proceed. If the core debit succeeds but the scheme rejects the payment, the debit must be reversed. This is why payment systems use transaction identifiers that link the core entry, the hub record, and the scheme message, so that reconciliation can find any break in the chain and repair it automatically.
A synchronous call is the simplest pattern, and it fits real-time payments where the caller needs an immediate answer. The payment hub calls the core banking service, which checks the balance, debits GBP 1,200, and returns a success or failure response within a second. The advantage is simplicity, because the caller knows the result before it proceeds. The disadvantage is coupling, because if the core system is slow or unavailable, the payment fails immediately. Synchronous calls therefore need short timeouts, circuit breakers that stop calling a sick service, and a fallback that queues the payment rather than losing it.
Asynchronous messaging fits payments where the caller can continue without an immediate answer. The hub places a message on a queue, such as an instruction to debit EUR 2,000, and the core banking system picks it up when it is ready. The queue guarantees delivery, so the message is not lost if the core system restarts. The disadvantage is that the caller does not know the result straight away, so it must listen for a response message and handle the waiting state. This pattern works well for bulk payments and for end-of-day processing, where a delay of a few minutes is acceptable and the queue smooths out peaks.
File-based integration is the oldest pattern, and it still handles the largest volumes in most banks. A payment system writes a file containing 100,000 instructions, each with an account number, an amount, and a value date, and the core system reads the file overnight. Files are simple, auditable, and easy to replay, which makes them ideal for salary payments and direct debits. The disadvantage is latency, because nothing happens until the file is processed, and a single bad record can reject the whole file if the validation is not designed carefully. Modern file integration therefore validates each record separately and reports errors per record.
Database sharing is a pattern that should be used with great care, because it couples two systems at the lowest level. One system reads or writes directly to the tables owned by another system, which is fast but fragile. A change to a table structure breaks every system that reads it, and a bad write from one system can corrupt data owned by another. Banks that still use this pattern usually restrict it to read-only access through views, so the consuming system cannot change the data. The safer alternative is to expose the data through a service, which hides the table structure and enforces business rules before any change is made.
The atomic debit is the rule that governs every core banking pattern, whatever the transport. A payment must debit the sender account and record the payment instruction as one unit, so that a crash cannot create one without the other. If the hub sends a payment to the scheme but the core debit fails, the payment must not proceed. If the core debit succeeds but the scheme rejects the payment, the debit must be reversed. This is why payment systems use transaction identifiers that link the core entry, the hub record, and the scheme message, so that reconciliation can find any break in the chain and repair it automatically.
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.