Payments Academy
Thousands of transactions per second PAYMENT OPERATIONS STARTED LIVE 01 Thousands of transactions per second - Card authorization systems process ACTIVE 02 Authorization engine - runs a sequence of checks in a fixed order QUEUED 03 Fraud scoring - runs in parallel with the balance and limit QUEUED 04 Standby authorization - keeps cards working when the issuer system QUEUED 05 Customers able - design keeps customers able to pay during QUEUED 06 Log - analysis, limit tuning, and regulatory QUEUED Card authorization systems process thousands of transactions per second Step 1 of 6 Thousands of transactions per second STARTED Thousands of transactions per second Card authorization systems process ACTIVE Authorization engine runs a sequence of checks in a fixed order QUEUED Fraud scoring runs in parallel with the balance and limit QUEUED Standby authorization keeps cards working when the issuer system QUEUED Customers able design keeps customers able to pay during QUEUED Log analysis, limit tuning, and regulatory QUEUED Card authorization systems process thousands of transactions per second
Authorization engine PAYMENT OPERATIONS IN PROGRESS LIVE 01 Thousands of transactions per second - Card authorization systems process DONE 02 Authorization engine - runs a sequence of checks in a fixed order ACTIVE 03 Fraud scoring - runs in parallel with the balance and limit QUEUED 04 Standby authorization - keeps cards working when the issuer system QUEUED 05 Customers able - design keeps customers able to pay during QUEUED 06 Log - analysis, limit tuning, and regulatory QUEUED The authorization engine runs a sequence of checks in a fixed order, and it stops at the first failure to save time. Step 2 of 6 Authorization engine IN PROGRESS Thousands of transactions per second Card authorization systems process DONE Authorization engine runs a sequence of checks in a fixed order ACTIVE Fraud scoring runs in parallel with the balance and limit QUEUED Standby authorization keeps cards working when the issuer system QUEUED Customers able design keeps customers able to pay during QUEUED Log analysis, limit tuning, and regulatory QUEUED The authorization engine runs a sequence of checks in a fixed order, and it stops at the first failure to save time.
Fraud scoring PAYMENT OPERATIONS IN PROGRESS LIVE 01 Thousands of transactions per second - Card authorization systems process DONE 02 Authorization engine - runs a sequence of checks in a fixed order DONE 03 Fraud scoring - runs in parallel with the balance and limit ACTIVE 04 Standby authorization - keeps cards working when the issuer system QUEUED 05 Customers able - design keeps customers able to pay during QUEUED 06 Log - analysis, limit tuning, and regulatory QUEUED Fraud scoring runs in parallel with the balance and limit checks, so it does not add sequential delay. Step 3 of 6 Fraud scoring IN PROGRESS Thousands of transactions per second Card authorization systems process DONE Authorization engine runs a sequence of checks in a fixed order DONE Fraud scoring runs in parallel with the balance and limit ACTIVE Standby authorization keeps cards working when the issuer system QUEUED Customers able design keeps customers able to pay during QUEUED Log analysis, limit tuning, and regulatory QUEUED Fraud scoring runs in parallel with the balance and limit checks, so it does not add sequential delay.
Standby authorization PAYMENT OPERATIONS IN PROGRESS LIVE 01 Thousands of transactions per second - Card authorization systems process DONE 02 Authorization engine - runs a sequence of checks in a fixed order DONE 03 Fraud scoring - runs in parallel with the balance and limit DONE 04 Standby authorization - keeps cards working when the issuer system ACTIVE 05 Customers able - design keeps customers able to pay during QUEUED 06 Log - analysis, limit tuning, and regulatory QUEUED Standby authorization keeps cards working when the issuer system is offline. Step 4 of 6 Standby authorization IN PROGRESS Thousands of transactions per second Card authorization systems process DONE Authorization engine runs a sequence of checks in a fixed order DONE Fraud scoring runs in parallel with the balance and limit DONE Standby authorization keeps cards working when the issuer system ACTIVE Customers able design keeps customers able to pay during QUEUED Log analysis, limit tuning, and regulatory QUEUED Standby authorization keeps cards working when the issuer system is offline.
Customers able PAYMENT OPERATIONS IN PROGRESS LIVE 01 Thousands of transactions per second - Card authorization systems process DONE 02 Authorization engine - runs a sequence of checks in a fixed order DONE 03 Fraud scoring - runs in parallel with the balance and limit DONE 04 Standby authorization - keeps cards working when the issuer system DONE 05 Customers able - design keeps customers able to pay during ACTIVE 06 Log - analysis, limit tuning, and regulatory QUEUED This design keeps customers able to pay during an outage without exposing the bank to unlimited risk. Step 5 of 6 Customers able IN PROGRESS Thousands of transactions per second Card authorization systems process DONE Authorization engine runs a sequence of checks in a fixed order DONE Fraud scoring runs in parallel with the balance and limit DONE Standby authorization keeps cards working when the issuer system DONE Customers able design keeps customers able to pay during ACTIVE Log analysis, limit tuning, and regulatory QUEUED This design keeps customers able to pay during an outage without exposing the bank to unlimited risk.
Log: also input for fraud PAYMENT OPERATIONS COMPLETE LIVE 01 Thousands of transactions per second - Card authorization systems process DONE 02 Authorization engine - runs a sequence of checks in a fixed order DONE 03 Fraud scoring - runs in parallel with the balance and limit DONE 04 Standby authorization - keeps cards working when the issuer system DONE 05 Customers able - design keeps customers able to pay during DONE 06 Log - analysis, limit tuning, and regulatory ACTIVE The log is also the input for fraud analysis, limit tuning, and regulatory reporting, and it is retained for at least five years. Step 6 of 6 Log: also input for fraud COMPLETE Thousands of transactions per second Card authorization systems process DONE Authorization engine runs a sequence of checks in a fixed order DONE Fraud scoring runs in parallel with the balance and limit DONE Standby authorization keeps cards working when the issuer system DONE Customers able design keeps customers able to pay during DONE Log analysis, limit tuning, and regulatory ACTIVE The log is also the input for fraud analysis, limit tuning, and regulatory reporting, and it is retained for at least five years.

Key points of this lesson, in order.

0:00 / 3:28 Step 1 of 6

System design deep dive: card authorization at scale

Card Authorization, Clearing and Settlement, Lesson 8 of 8, Narration 3:28, D08 Cards and alternative payments

ReconciliationFraud scoringIssuer

What you will learn

Your objective. By the end of this lesson, you will be able to explain system design deep dive: card authorization at scale. Card authorization systems process thousands of transactions per second, with large issuers handling 5,000 to 15,000 authorizations per second at peak, such as during holiday shopping or major sales events.

Why it matters. The model is updated regularly with new fraud patterns, and its decisions are logged with the score and the top contributing features, so analysts can review why a genuine transaction was blocked and tune the rules.

Chapter objective: Learner explains card authorization, clearing, and settlement, including the roles of issuer, acquirer, network, and merchant, and traces a card transaction from swipe to settlement. Learner practises this skill on realistic banking cases, explaining the reasoning clearly and using correct terminology throughout the work.

Key learning points

  • Thousands of transactions per second
  • Authorization engine
  • Fraud scoring
  • Standby authorization
  • Customers able
  • Log: also input for fraud

Key terms

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

Fraud scoring: A risk score assigned to a payment based on factors such as amount, location, device, velocity and customer history.

Issuer: A bank or licensed institution that issues payment cards to customers and holds their accounts. It authorises transactions, debits cardholder accounts, and manages credit limits and fraud controls.

Payment flow diagram showing System design deep dive: card authorization at scale.

Practise this lesson

Exercise

Trace the card payment in this lesson through authorisation, clearing and settlement.

Use the four-party model and the stage timings in this lesson.

  1. What to do. State what happens at each stage, who pays whom, and when the merchant is actually credited.

Correct result. Authorisation holds the funds and returns a response code. Clearing sends the transaction in a batch file. Settlement moves the net amount between banks, and the acquirer credits the merchant after deducting interchange, scheme fees and its margin.

Why. A card payment is not one event. The customer sees it on Monday, the merchant gets it on Wednesday, and the difference is the clearing and settlement cycle.

Check your understanding

Practice question

Which of the following best describes system design deep dive: card authorization at scale?

Takeaway and next step

What to remember

The log is written asynchronously so it never slows down the authorization itself, and it is stored in a high throughput append only store that can absorb 15,000 writes per second.

Follow a payment through every stage, from instruction to beneficiary credit, and note where it can stop.

Open the Payment Lifecycle Simulator →

Builds on "Where Things Go Wrong".

Transcript and full text

Show transcript

Card authorization systems process thousands of transactions per second, with large issuers handling 5,000 to 15,000 authorizations per second at peak, such as during holiday shopping or major sales events. The system must respond in under one second end to end, and the issuer's own decision typically takes 100 to 200 milliseconds. To achieve this, the authorization platform runs on in memory data grids, with account balances, card status, and limits held in memory rather than read from disk on every request. Requests are processed by stateless worker pools that scale horizontally, so adding servers adds capacity in a straight line, and the platform is tested at twice the expected peak before every major shopping season. The authorization engine runs a sequence of checks in a fixed order, and it stops at the first failure to save time. It first checks that the card is active and not reported lost or stolen, then checks the account balance and the available credit, then checks the transaction against daily and per transaction limits, and finally checks velocity rules such as the number of transactions in the last hour. Each check is a fast lookup against cached data, and the whole sequence is designed to complete in under 50 milliseconds for a straightforward approval. If any check fails, the engine returns a decline with a specific reason code, such as insufficient funds or exceeded limit, so the merchant and the customer understand what happened. Fraud scoring runs in parallel with the balance and limit checks, so it does not add sequential delay. A fraud model scores each transaction in 20 to 40 milliseconds, using features such as the merchant category, the location, the device, the time of day, and the customer's recent spending pattern. A low score approves the transaction immediately, a high score declines it, and a medium score triggers step up authentication, such as a one time passcode sent to the customer's phone. The model is updated regularly with new fraud patterns, and its decisions are logged with the score and the top contributing features, so analysts can review why a genuine transaction was blocked and tune the rules. Standby authorization keeps cards working when the issuer system is offline. The card scheme or a standby service holds a copy of key account data, including the balance, the limits, and the card status, refreshed every few minutes. If the issuer does not respond within a short timeout, usually 500 milliseconds to one second, the standby service makes the decision using the cached data and conservative limits, for example approving transactions up to 100 or 250 in local currency. These standby decisions are queued and sent to the issuer for reconciliation when it returns, and any transaction that exceeds the standby limit is declined rather than approved blindly. This design keeps customers able to pay during an outage without exposing the bank to unlimited risk. The authorization log records every request and every response, including the card reference, merchant, amount, currency, timestamp, decision, reason code, fraud score, and response time in milliseconds. The log is written asynchronously so it never slows down the authorization itself, and it is stored in a high throughput append only store that can absorb 15,000 writes per second. Operations teams use it to investigate a declined transaction, to prove that a transaction was approved, and to measure performance against the service target. The log is also the input for fraud analysis, limit tuning, and regulatory reporting, and it is retained for at least five years.

Card authorization systems process thousands of transactions per second, with large issuers handling 5,000 to 15,000 authorizations per second at peak, such as during holiday shopping or major sales events. The system must respond in under one second end to end, and the issuer's own decision typically takes 100 to 200 milliseconds. To achieve this, the authorization platform runs on in memory data grids, with account balances, card status, and limits held in memory rather than read from disk on every request. Requests are processed by stateless worker pools that scale horizontally, so adding servers adds capacity in a straight line, and the platform is tested at twice the expected peak before every major shopping season.

The authorization engine runs a sequence of checks in a fixed order, and it stops at the first failure to save time. It first checks that the card is active and not reported lost or stolen, then checks the account balance and the available credit, then checks the transaction against daily and per transaction limits, and finally checks velocity rules such as the number of transactions in the last hour. Each check is a fast lookup against cached data, and the whole sequence is designed to complete in under 50 milliseconds for a straightforward approval. If any check fails, the engine returns a decline with a specific reason code, such as insufficient funds or exceeded limit, so the merchant and the customer understand what happened.

Fraud scoring runs in parallel with the balance and limit checks, so it does not add sequential delay. A fraud model scores each transaction in 20 to 40 milliseconds, using features such as the merchant category, the location, the device, the time of day, and the customer's recent spending pattern. A low score approves the transaction immediately, a high score declines it, and a medium score triggers step up authentication, such as a one time passcode sent to the customer's phone. The model is updated regularly with new fraud patterns, and its decisions are logged with the score and the top contributing features, so analysts can review why a genuine transaction was blocked and tune the rules.

Standby authorization keeps cards working when the issuer system is offline. The card scheme or a standby service holds a copy of key account data, including the balance, the limits, and the card status, refreshed every few minutes. If the issuer does not respond within a short timeout, usually 500 milliseconds to one second, the standby service makes the decision using the cached data and conservative limits, for example approving transactions up to 100 or 250 in local currency. These standby decisions are queued and sent to the issuer for reconciliation when it returns, and any transaction that exceeds the standby limit is declined rather than approved blindly. This design keeps customers able to pay during an outage without exposing the bank to unlimited risk.

The authorization log records every request and every response, including the card reference, merchant, amount, currency, timestamp, decision, reason code, fraud score, and response time in milliseconds. The log is written asynchronously so it never slows down the authorization itself, and it is stored in a high throughput append only store that can absorb 15,000 writes per second. Operations teams use it to investigate a declined transaction, to prove that a transaction was approved, and to measure performance against the service target. The log is also the input for fraud analysis, limit tuning, and regulatory reporting, and it is retained for at least five years.

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.