Card Transaction Processing
Last Updated: 2026-12-01 Status: Complete
Card transaction processing is the work that happens between "the customer clicked Pay" and "the money reached the merchant's bank account". It covers authorization, capture, clearing, settlement, funding and reconciliation. This module is written for engineers who build or operate that pipeline. It covers which messages to send and which identifiers to keep, when a retry is allowed, how a routing decision is made, why a transaction cleared at a higher interchange rate, and how to prove every dollar was accounted for.
The Payment Ecosystem module explains the transaction lifecycle conceptually. This module covers the operational detail.
Quick Reference
| Area | What you need to get right | Rule or figure |
|---|---|---|
| Authorization | Choose estimated, incremental or final authorization, and reverse what you won't capture | Visa approval validity, other card-present and merchant-initiated: 5 calendar days; Mastercard final authorization: 7 calendar days, for exactly the authorized amount and currency |
| Reversals | Release holds promptly | Visa: Within 24 hours of learning the transaction will not complete (full reversal), or of completion when the authorized amount exceeds the final amount (partial reversal) |
| Stored credentials | Flag CIT/MIT and chain the network transaction ID | Initial CIT with consent, then flagged MITs |
| Declines | Classify soft vs hard and respect reattempt limits | Visa: No reattempts after a Category 1 decline; up to 20 attempts in 30 days after a Category 2, 3 or 4 decline |
| Routing | Route by BIN, cost and performance; cascade without double charging | Idempotency at every hop |
| Interchange | Avoid downgrades; send Level 3 data for commercial cards | Visa Level 2: Retired in April 2026; Commercial Level II Fuel is the only Level II program left |
| Clearing and funding | Clear on time, match settlement to authorizations, reconcile deposits | Three-way reconciliation |
Network rules and interchange programs change, usually in April and October. Every network figure on these pages links to its source and verification date on Key Numbers. Check the current Visa and Mastercard rules, or ask your acquirer, before acting on a figure.
Module Structure
The real-time half decides whether a payment is approved. The batch half decides what it costs and whether the merchant is paid the right amount.
Learning Objectives
After completing this module, you will be able to:
- Authorization: Pick the right authorization type for a use case, keep holds within network validity windows, and reverse unused amounts.
- Stored credentials: Implement the CIT/MIT framework and network transaction ID chaining for recurring and card-on-file payments.
- ISO 8583: Read an authorization message, explain MTIs, bitmaps and the key data elements, and map them to a gateway API.
- Declines: Classify response codes into soft and hard declines and map them to an internal decline taxonomy.
- Decline recovery: Design a retry engine that respects Visa decline categories and Mastercard Merchant Advice Codes. Know when network tokens and account updater raise approval rates.
- Routing: Build multi-acquirer routing with failover and cascading that cannot double-charge a customer, and route U.S. debit under Regulation II.
- Interchange: Diagnose downgrades and produce Level 3 data that qualifies under Visa's Commercial Enhanced Data Program.
- Clearing and reconciliation: Ingest settlement and funding files safely and run three-way reconciliation across transactions, fees and funding.
Sections
1. Authorization
- Authorization Types - Estimated, incremental, partial and final authorization, validity windows, capture and reversals
- CIT vs MIT and Stored Credentials - Consent, initial CIT, MIT types and network transaction IDs
- AVS, CVV2 and $0 Verification - Acting on verification results
- Quiz
2. ISO 8583 & Response Codes
- ISO 8583 Explained - MTIs, bitmaps, data elements, and how APIs abstract them
- Response Codes and Declines - Soft vs hard declines, Visa categories, Mastercard advice codes
- Quiz
3. Decline Recovery
- Network Tokens - Token lifecycle, cryptograms and approval rates
- Account Updater - Keeping card-on-file credentials current
- Retry Strategy - What to retry, when, and how often
- Quiz
4. Payment Routing
- Routing Strategies - BIN, cost and performance routing across acquirers
- Cascading - Retrying across acquirers without double charges
- Debit Routing Under Regulation II - Network choice and least-cost routing for U.S. debit
- Quiz
5. Interchange Optimization
- Qualification and Downgrades - Why a transaction lands in a costlier rate tier
- Level 2 and Level 3 Data - Commercial card data and Visa CEDP
- Quiz
6. Clearing & Reconciliation
- Clearing and Settlement - From capture to funding; voids, refunds and OCTs
- Settlement and Funding Files - Formats, ingestion and validation
- Three-Way Reconciliation - Matching transactions, fees and deposits
- Quiz
7. Study Guide
Metrics to Instrument
Define these metrics before you start optimizing anything. They are calculated differently from company to company, so write the definitions down.
| Metric | Definition | Why it matters |
|---|---|---|
| Authorization rate (first attempt) | Approved first attempts ÷ first attempts, per payment intent | Measures issuer acceptance before any recovery |
| Authorization rate (eventual) | Payment intents eventually approved ÷ payment intents attempted | Measures the whole system, including retries and cascading |
| Decline mix | Declines by normalized reason (insufficient funds, do not honor, fraud, data quality) | Shows which lever to pull: retries, tokens, data quality or routing |
| Reversal timeliness | Unused authorizations reversed within the network deadline | Cardholder experience and integrity fees |
| Downgrade rate | Transactions that cleared below the expected interchange program | Direct cost |
| Unreconciled items | Open breaks by age and value | Financial control |
PayFac and ISO Considerations
- A PayFac usually owns the processing integration, so authorization coding, retry behavior, routing and reconciliation are its own engineering responsibility. Network integrity fees and excessive-retry fees reach it through the sponsor acquirer.
- An ISO usually relies on the acquirer or processor platform. It needs the reporting to monitor approval rates and downgrades across its portfolio, even when it does not control the message flow.
- A software platform (ISV) often controls checkout and stored-credential handling. CIT/MIT flags, token usage and retry logic usually live in its code even when a gateway processes the payments.
Related Modules
- Payment Ecosystem - The four-party model and the conceptual transaction lifecycle
- Merchant Onboarding - MCC assignment and underwriting, which shape interchange and risk
- Risk & Compliance - Chargebacks, fraud tools and 3-D Secure, and PCI DSS tokenization
- Platform Architecture (planned) - Ledgers, idempotency, webhooks and payouts
- Key Numbers - Every time-sensitive figure used in this module, with sources
References
- Visa: Estimated and Incremental Authorization and Reversal Processing Requirements for Visa Merchants - Visa, 2024
- Visa Core Rules and Visa Product and Service Rules - Visa, 24 October 2026 edition (approval validity, reversals, decline categories and reattempt limits)
- Visa Business News AI10325: Updates to Rules for Declined Transaction Resubmission and Use of Authorization Response Codes - Visa, 2020 (introduced the decline categories; its limits are superseded by the Core Rules)
- Visa USA Interchange Reimbursement Fees - Visa, rates effective 24 October 2026
- Mastercard Transaction Processing Rules - Mastercard
- Federal Reserve: Regulation II (Debit Card Interchange Fees and Routing) - Board of Governors of the Federal Reserve System