Skip to main content

Banking Domain Knowledge Base

A comprehensive, engineer-focused reference for payment systems, ISO 20022 messaging, core banking concepts, and Australian payment infrastructure. Built for Java/Spring developers working in the payments domain.


What's in This Knowledge Base?

SectionTopics Covered
ISO 20022 Messagespain.001, pain.002, pacs.008, pacs.002, camt.053, camt.054, camt.055/056, pain.007/pacs.007
Payment FlowsInbound, Outbound, On-Us, Off-Us
Payment RailsNPP, PayTo, SWIFT, BECS, Direct Debit, BPAY, RTGS/HVCS
Parties & InstitutionsDebtor, Creditor, FIs, Correspondent Banks, Nostro/Vostro
Accounting & PostingDebit/Credit Post, Debit Reversal, Payment Return
Clearing & SettlementDNS, RTGS, ESA, Liquidity Management, Gridlock Resolution
Risk & ComplianceFraud, CoP, Sanctions, AML/CTF, KYC, Regulatory Reporting
OperationsReconciliation, Exceptions & Investigations, FX, Error Codes
ArchitecturePayment Hub, Idempotency, FIS Integration
Modern BankingOpen Banking/CDR, ISO 20022 Migration, Account Types

Interactive End-to-End Payment Lifecycle Engine

The interactive engine below illustrates a complete outbound off-us NPP credit transfer โ€” the most common domestic payment type in Australia.

End-to-End Payment Lifecycle Engine (10 Steps)
WORKFLOW STAGESSCENARIO: โœ… Happy Path (NPP Real-Time)
1
1. Payment Initiation
Debtor / Payer App โ€ข pain.001.001.11
โšก PROCESSING
2
2. AuthN & AuthZ Checks
Debtor Bank Gateway โ€ข OAuth2 / FAPI
QUEUED
3
3. Available Balance Check
Core Banking Engine โ€ข Internal API
QUEUED
4
4. Compliance & Risk Screening
Sanctions & Fraud Engine โ€ข Internal Decision Engine
QUEUED
5
5. Debtor Account Posting
Debtor Bank Ledger โ€ข camt.054 (Debit)
QUEUED
6
6. Payment Rail Routing
Payment Hub Router โ€ข Scheme Dispatch
QUEUED
7
7. Interbank pacs.008 Message
NPP / SWIFT Network โ€ข pacs.008.001.10
QUEUED
8
8. Central Bank Settlement
RBA Fast Settlement Service โ€ข RITS / FSS RTGS
QUEUED
9
9. Creditor Account Posting
Creditor Bank Ledger โ€ข camt.054 (Credit)
QUEUED
10
10. Confirmation & pacs.002
Creditor Bank -> Debtor Bank โ€ข pacs.002.001.12
QUEUED
1. Payment Initiation

Payer enters payment details ($500 to BSB 062-000, Account 12345678) and submits instruction.

Key Engine Operations:
  • Customer authenticates via MFA (biometrics/OTP) in Mobile App or Corporate Treasury Portal.
  • API packages payment parameters into ISO 20022 pain.001 (Customer Credit Transfer Initiation).
  • System assigns an EndToEndId (E2E) for tracing through all downstream networks.
System Component
Debtor / Payer App
Protocol / Schema
pain.001.001.11

Banking Knowledge Path

Use this path as a guided entry point for learning banking and payments topics in a practical order.

How To Use This Path

  • Read each stage in order the first time.
  • Use the Role Tracks below after Stage 2 to specialize.
  • Keep payment_lifecycle_101 and the glossary open while reading message specs.

Stage 0 - Foundations (Beginner)

Start here if you are new to the banking/payments domain language.

  1. Overview
  2. Payment Lifecycle 101
  3. Banking Roles and Teams
  4. Banking Glossary

Stage 1 - Core Payment Flows (Beginner -> Intermediate)

Learn the flow categories and routing decisions.

  1. Outbound Payments
  2. Inbound Payments
  3. On-Us Transactions
  4. Off-Us Transactions
  5. Clearing
  6. Settlement

Stage 2 - ISO 20022 Message Chain (Intermediate)

Study messages in execution order:

  1. pain.001 - customer payment initiation
  2. pacs.008 - interbank credit transfer
  3. pacs.002 - status report
  4. camt.054 - debit/credit notification
  5. camt.053 - account statement

Then exception messages: 6. pacs.004 - payment return 7. pain.007 and pacs.007 - reversal 8. camt.055 and camt.056 - cancellation/recall 9. pain.004 Clarification - common naming confusion

Stage 3 - Rails and Networks (Intermediate)

  1. NPP
  2. PayTo โ€” Modern pull payments / NPP mandates
  3. BECS Direct Entry โ€” Batch credit/debit rail
  4. Direct Debit / BECS DDR
  5. BPAY
  6. RTGS / HVCS / RITS โ€” High-value settlement
  7. SWIFT โ€” Cross-border messaging
  8. Correspondent Banking

Stage 4 - Ledger and Core Banking (Intermediate -> Advanced)

  1. Core Banking System
  2. Account Types
  3. Debtor
  4. Debit Posting
  5. Credit Posting
  6. Debit Reversal
  7. Payment Return
  8. FX in Payments
  9. Interest and Fees
  10. FIS Integration
  11. Liquidity Management

Stage 5 - Risk, Compliance, and Operations (Advanced)

  1. Fraud Detection and Prevention
  2. Confirmation of Payee (CoP)
  3. Sanctions Screening
  4. AML, CTF, and KYC
  5. Regulatory Reporting โ€” TTR, IFTI, SMR, APRA
  6. Payment Exceptions and Investigations
  7. Reconciliation
  8. Error Codes Reference
  9. Testing in Banking and Payments

Stage 6 - Architecture and Engineering Patterns (Advanced)

  1. Idempotency in Payments
  2. Payment Hub Architecture

Stage 7 - Modernization and Strategy

  1. ISO 20022 Migration
  2. Open Banking and CDR

Role Tracks

Developer Track

Follow: Stage 0 -> Stage 1 -> Stage 2 -> Stage 4 -> Stage 5 Focus topics:

  • Message schemas and field mapping
  • Idempotent posting and retries
  • Exception-safe state transitions

Operations / Analyst Track

Follow: Stage 0 -> Stage 1 -> Stage 3 -> Stage 5 Focus topics:

  • Status monitoring and exception handling
  • Reconciliation and return workflows
  • SLA and incident triage

Compliance / Risk Track

Follow: Stage 0 -> Stage 1 -> Stage 5 Focus topics:

  • Sanctions, AML/KYC, fraud controls
  • Hold/release/return decision points
  • Regulatory reporting and evidence

Product / Business Track

Follow: Stage 0 -> Stage 1 -> Stage 3 -> Stage 6 Focus topics:

  • Rail capability and customer experience trade-offs
  • Pricing/latency/risk considerations
  • Modernization opportunities

Quick Revision Path (60-90 minutes)

If you need a fast refresh before interviews or design discussions:

  1. Payment Lifecycle 101
  2. On-Us Transactions and Off-Us Transactions
  3. pain.001 -> pacs.008 -> pacs.002
  4. pacs.004, Debit Reversal, Payment Return
  5. Reconciliation, Fraud, Sanctions

ISO 20022 Message Chain Reference

The standard execution chain for credit transfers involves:

  1. pain.001: Customer Payment Initiation
  2. pacs.008: Interbank Credit Transfer
  3. pacs.002: Payment Status Report
  4. camt.054: Bank-to-Customer Debit/Credit Notification
  5. pacs.004: Payment Return (Exception Path)

For full interactive lifecycle simulation and message payload details, see the interactive engine at the top of this guide or Payment Lifecycle 101.


Key ID Fields โ€” Traceability Across Messages

Every payment carries a chain of IDs that allow full end-to-end tracing:

IDWho Sets ItLives InPurpose
EndToEndIdOriginating customerpain.001 โ†’ pacs.008 โ†’ camt.054Customer's own reference; never changed
InstrIdDebtor bankpacs.008, pacs.002Bank's instruction reference
TxIdDebtor bankpacs.008, pacs.002Unique transaction ID for dedup
MsgIdEach senderAll messagesMessage-level dedup
UETRDebtor bankSWIFT messagesUniversal tracker for gpi
AcctSvcrRefCreditor bankcamt.053, camt.054Bank's ledger reference
MndtIdCreditor/payerDirect debit messagesPayTo/BECS mandate reference

Payment Scheme Quick-Select

Is the payment a direct debit (pull)?
โ””โ”€โ–บ PayTo (NPP) for new โ€” BECS DDR for legacy

Is the payment international?
โ””โ”€โ–บ SWIFT (MT103 / pacs.008)

Is the payment domestic?
โ”œโ”€ Same bank (both accounts at our institution)?
โ”‚ โ””โ”€โ–บ On-Us โ€” internal book transfer, no external network
โ”‚
โ”œโ”€ High-value or time-critical (> ~$250K)?
โ”‚ โ””โ”€โ–บ RTGS / HVCS
โ”‚
โ”œโ”€ Bill payment with BPAY biller code?
โ”‚ โ””โ”€โ–บ BPAY
โ”‚
โ”œโ”€ Creditor bank supports NPP?
โ”‚ โ””โ”€โ–บ NPP / Osko โ€” real-time, 24/7
โ”‚
โ””โ”€ Fallback
โ””โ”€โ–บ BECS Direct Entry โ€” next business day

Risk & Compliance Checkpoints

Every payment โ€” inbound or outbound โ€” passes through these controls:

Checkpoint OrderRisk / Compliance ControlTarget Identifiers & PayloadFailure Disposition & Impact
1. Duplicate CheckIdempotency Key & MsgIdMsgId, TxId, EndToEndId within 48h deduplication cacheImmediate rejection with DUPL error code.
2. Schema ValidationStructural & Semantic CheckISO 20022 XSD syntax, valid BIC/BSB format, currency codesRejects with NARR or validation error response.
3. AuthenticationIdentity & Access ControlOAuth 2.0 mTLS cert, digital signatures, customer MFA tokenHTTP 401/403 or signature mismatch rejection.
4. Sanctions ScreeningGlobal Watchlist MatchOFAC, UN, DFAT, DFAT Consolidated list (Debtor/Creditor/BICs)Immediate payment freeze; compliance referral.
5. Fraud AssessmentBehavioral & Velocity AnalysisDevice fingerprint, IP geo-velocity, historical profile ML scoreStep-up OTP challenge, delay, or fraud block.
6. AML / TM CheckAnti-Money Laundering RulesStructuring detection (<$10K), mule heuristics, pass-throughStraight-Through Processing continues; analyst SMR case raised.
7. Balance / Limit CheckFinancial Solvency (Outbound)Available balance, customer daily limits, overdraft allowanceRejection with AM04 (Insufficient Funds).

Australian Regulatory Landscape

BodyRoleKey Obligations
RBACentral bank, settlement operatorESA management, RTGS, NPP FSS
APRAPrudential regulatorADI licence, capital (Basel III), LCR/NSFR
AUSTRACAML/CTF regulatorTTR, IFTI, SMR reporting
ASICMarket conduct regulatorFinancial services licensing
OAICPrivacy regulatorCDR / Open Banking data rules
AusPayNetPayment scheme operatorBECS, cheque rules
NPPANPP operatorNPP/Osko/PayTo scheme rules

Glossary of Common Terms

TermDefinition
ADIAuthorised Deposit-taking Institution โ€” licensed bank/credit union
ESAExchange Settlement Account โ€” account at RBA used for final settlement
BIC / SWIFT codeBank Identifier Code โ€” uniquely identifies a financial institution
BSBBank State Branch โ€” 6-digit code identifying an AU bank branch
IBANInternational Bank Account Number โ€” standardised account number
PayIDProxy address (phone/email/ABN) mapped to a BSB/account via NPP
UETRUnique End-to-end Transaction Reference โ€” UUID used in SWIFT gpi
DNSDeferred Net Settlement โ€” obligations netted and settled at end of day
RTGSReal-Time Gross Settlement โ€” each payment settled individually, in real time
LCRLiquidity Coverage Ratio โ€” APRA regulatory liquidity metric
PEPPolitically Exposed Person โ€” requires enhanced due diligence
SAR / SMRSuspicious Activity/Matter Report โ€” filed with AUSTRAC
TTRThreshold Transaction Report โ€” cash transactions โ‰ฅ AUD 10,000
IFTIInternational Funds Transfer Instruction โ€” all cross-border transfers
ChrgBrCharge Bearer โ€” who pays bank fees (DEBT/CRED/SHAR/SLEV)
Nostro"Our" account held at another bank
Vostro"Your" (another bank's) account held at our bank
Straight-Through Processing (STP)Payment processed end-to-end without manual intervention
CoPConfirmation of Payee โ€” verifying payee name matches account before payment

Java / Spring Stack Reference

Typical technology choices for a payment processing system:

LayerTechnologies
APISpring Boot, Spring Web MVC / WebFlux
MessagingSpring Integration, Apache Kafka, IBM MQ, RabbitMQ
ISO 20022 ParsingJAXB, prowide-core, open-banking-java-sdk
DatabasePostgreSQL / Oracle (transactional), Redis (caching)
SecuritySpring Security, HSM for key management
SchedulerSpring Batch (batch payments), Quartz
ObservabilityMicrometer, Prometheus, Grafana, ELK Stack
TestingJUnit 5, Mockito, Testcontainers, WireMock

Contributing & Structure

Each page in this knowledge base follows a consistent structure:

  1. Overview โ€” What it is and why it matters
  2. Key concepts โ€” Definitions, types, tables
  3. Flow diagrams โ€” ASCII art showing the process
  4. Field/code references โ€” Lookup tables
  5. Java/Spring notes โ€” Practical implementation snippets
  6. Related concepts โ€” Cross-links to related pages

Interview Questions

  1. How do you explain banking payment architecture end-to-end to new backend engineers?
  2. What boundaries should be explicit between payment orchestration and core banking systems?
  3. Which controls are non-negotiable before allowing straight-through processing?
  4. How would you measure payment platform maturity beyond transaction throughput?

Short answer guide:

  • Teach by lifecycle: initiation, screening, clearing, settlement, notification.
  • Keep orchestration stateless and ledger authority centralized.
  • Enforce sanctions/fraud/AML gates with strong observability.
  • Track failure recovery, exception handling quality, and reconciliation accuracy.
Interview Focus

Explain payment systems as lifecycle stages with explicit control, audit, and recovery boundaries.

Interview Trap

Discussing rails without distinguishing clearing from settlement and ledger finality.