Skip to main content

Payment Lifecycle 101 โ€” New Learner Guide

Welcome to Payments

If you're new to banking, the payment ecosystem can feel overwhelming. This page takes you from zero to "I understand how a payment works" using plain language and diagrams โ€” no assumptions about prior knowledge.


The Big Picture: What Happens When You Pay Someone?

You open your banking app, type $500 and your friend's BSB + account number, and hit "Send". Simple, right? Under the hood, a surprisingly complex sequence of events occurs in under 15 seconds.

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

Every single one of those numbered steps is a system, a rule, or a protocol. This guide explains each one.


Step 1 โ€” You Initiate a Payment

You provide:

  • How much โ€” $500
  • Who to โ€” BSB 062-000, Account 12345678
  • Why โ€” "Rent for June"

Your bank calls this a payment instruction or payment order.

In the ISO 20022 world (the international standard banks use), the electronic version of your instruction is a pain.001 message (see pain.001).


Step 2 โ€” Authentication & Authorisation

Before anything happens, your bank asks:

"Is this really you, and are you allowed to make this payment?"

CheckWhat it does
AuthenticationConfirms you are who you say you are (PIN, biometric, OTP)
AuthorisationConfirms you're allowed to send from this account in this amount

Step 3 โ€” Can You Afford It?

Your bank checks your available balance:

Ledger Balance: $1,200 (total of all posted transactions)
โˆ’ Existing Holds: $200 (e.g., pending card payment)
= Available: $1,000

Payment amount: $500 โœ… Sufficient

If you don't have enough: payment is declined immediately, before anything else happens.


Step 4 โ€” Screening (The Compliance Checks)

This is the step most people don't know exists. Before a single dollar moves, the bank runs:

Duplicate Check

"Did we already process this exact payment?" โ€” Prevents accidental double-payments.

Sanctions Screening

"Is the recipient on a government prohibited list?" โ€” e.g., OFAC, UN sanctions lists. If yes: payment is blocked, compliance team alerted.

Fraud Assessment

"Does this payment look suspicious?" โ€” Rules + AI models analyse hundreds of signals. If risky: payment may be held for review or a challenge (OTP) sent to you.

AML Check

"Does this fit a money laundering pattern?" โ€” Velocity rules, structuring detection.

๐Ÿ‘‰ See Fraud, Sanctions, AML & KYC


Step 5 โ€” Debit Your Account

Once all checks pass, your bank:

  1. Reserves the $500 (reduces your available balance)
  2. Eventually posts a debit โ€” a formal ledger entry saying "Account 9999 sent $500"
  3. Sends you a debit notification (that push notification: "Payment sent: $500")

The notification is generated from a camt.054 message โ€” see camt.054.


Step 6 โ€” Route the Payment

Your bank decides which rail to use to deliver the money:

Same bank as recipient? โ”€โ”€โ”€โ”€โ”€โ–บ On-Us (internal transfer, instant)

Different bank? โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บ Which scheme?
Real-time (NPP)? โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ NPP / Osko (< 15 seconds)
High value? โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ RTGS (same day)
Bill payment? โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ BPAY (next day)
International? โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ SWIFT (1โ€“2 days)
Otherwise? โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ BECS Direct Entry (next day)

If it's off-us, your bank must send through an external rail and wait for interbank outcomes (acks, settlement, possible return windows).
If it's on-us, posting is internal and usually immediate.

๐Ÿ‘‰ See On-Us, Off-Us, NPP, BPAY, SWIFT, and Clearing & Settlement


Step 7 โ€” The Interbank Message

Your bank now tells your friend's bank about the payment using a standard message format: pacs.008 โ€” the interbank credit transfer. This message contains:

  • Your details (name, account)
  • Your friend's details (name, account)
  • The amount
  • A unique ID to track the payment end-to-end

๐Ÿ‘‰ See pacs.008


Step 8 โ€” Settlement (The Money Actually Moves)

The pacs.008 is information โ€” it says "I'm sending you $500". But actual money doesn't flow through that message. It flows through a settlement system:

For NPP: RBA Fast Settlement Service (FSS)
Reserve Bank debits your bank's settlement account
Reserve Bank credits your friend's bank's settlement account
This is FINAL โ€” irrevocable, real money

For BECS: End of day netting
All payments between banks are netted
Only the difference settles at the RBA

๐Ÿ‘‰ See Clearing & Settlement


Step 9 โ€” Credit Your Friend's Account

Your friend's bank:

  1. Receives the pacs.008
  2. Runs its own screening (fraud, sanctions)
  3. Identifies your friend's account
  4. Credits $500 to your friend's account
  5. Sends your friend a credit notification (camt.054)

Step 10 โ€” Confirmation

Your bank receives confirmation that the payment was successfully processed (pacs.002). Your app updates: "Payment delivered โœ…"


What Could Go Wrong? (Exceptions)

Payments don't always complete smoothly:

ProblemWhat Happens
Wrong account numberYour friend's bank can't find the account โ†’ Returns funds via pacs.004
Sanctions matchPayment blocked โ†’ Compliance team review
Fraud detectedPayment held โ†’ You receive a call or challenge
Network outagePayment queued โ†’ Retried when network recovers
Insufficient fundsDeclined immediately โ†’ No funds moved

๐Ÿ‘‰ See Payment Exceptions, pacs.004


Full Message Sequence (NPP Payment)

Here's every message exchanged for a successful NPP payment:

You (Customer) Your Bank Their Bank Your Friend

pain.001 โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บ
(optional, for API/
corporate; usually
just API call)

pacs.008 โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บ
(interbank message)

Credit account
โ—„โ”€โ”€โ”€โ”€ pacs.002 โ”€โ”€โ”€โ”€
(confirmed)

โ—„โ”€โ”€โ”€โ”€ camt.054 โ”€โ”€โ”€โ”€โ”€ โ—„โ”€โ”€โ”€โ”€ camt.054
(Debit notification) (Credit notification)

โ—„โ”€โ”€โ”€โ”€ pain.002 โ”€โ”€โ”€โ”€โ”€
(status from network,
for corporate customers)

Key Terms Cheat Sheet

TermPlain English
DebtorThe person paying (money leaves their account)
CreditorThe person receiving (money enters their account)
Debtor BankThe payer's bank โ€” sends the payment
Creditor BankThe payee's bank โ€” receives the payment
ClearingExchanging payment information between banks
SettlementThe actual movement of money between banks
ESAA bank's account at the Reserve Bank (where settlement happens)
BSB6-digit code identifying a branch in Australia
PayIDA phone number or email linked to a bank account
pacsPayment Clearing and Settlement โ€” ISO 20022 interbank messages
painPayment Initiation โ€” ISO 20022 customer-to-bank messages
camtCash Management โ€” ISO 20022 bank-to-customer messages
NPPNew Payments Platform โ€” Australia's real-time payment network
STPStraight-Through Processing โ€” payment completed without human intervention

Based on your role:

Developer / Engineer

  1. pain.001 โ†’ pacs.008 โ†’ camt.054 โ€” the message chain
  2. On-Us and Off-Us โ€” routing logic
  3. NPP โ€” the main AU real-time scheme

Analyst / Operations

  1. Inbound Payments โ†’ Outbound Payments
  2. Payment Exceptions
  3. Reconciliation

Compliance / Risk

  1. Sanctions Screening
  2. AML & KYC
  3. Fraud Detection

Product / Business

  1. NPP, BPAY, and SWIFT โ€” understanding the rails
  2. NPP & PayTo โ€” modern AU payments
  3. Open Banking / CDR โ€” future of payments

Interview Questions

  1. Which lifecycle stages are highest risk for production payment failures, and why?
  2. How do you design idempotency so retries do not create duplicate financial outcomes?
  3. What observability events are mandatory for end-to-end payment traceability?
  4. How would you explain clearing vs settlement to non-technical stakeholders?

Short answer guide:

  • Screening, posting, and exception paths usually dominate risk.
  • Use stable transaction keys and duplicate-detection checks at boundaries.
  • Correlate instruction IDs, status updates, and ledger references.
  • Clearing is message exchange; settlement is final funds movement.
Interview Focus

Walk through happy path and failure path, emphasizing idempotency and traceability.

Interview Trap

Confusing acknowledgment messages with actual funds finality.

๐Ÿ“–
Track Page Progress0 / 635 Read
Knowledge Base Completion0%