Skip to main content

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​

AreaWhat you need to get rightRule or figure
AuthorizationChoose estimated, incremental or final authorization, and reverse what you won't captureVisa approval validity, other card-present and merchant-initiated: 5 calendar days; Mastercard final authorization: 7 calendar days, for exactly the authorized amount and currency
ReversalsRelease holds promptlyVisa: 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 credentialsFlag CIT/MIT and chain the network transaction IDInitial CIT with consent, then flagged MITs
DeclinesClassify soft vs hard and respect reattempt limitsVisa: No reattempts after a Category 1 decline; up to 20 attempts in 30 days after a Category 2, 3 or 4 decline
RoutingRoute by BIN, cost and performance; cascade without double chargingIdempotency at every hop
InterchangeAvoid downgrades; send Level 3 data for commercial cardsVisa Level 2: Retired in April 2026; Commercial Level II Fuel is the only Level II program left
Clearing and fundingClear on time, match settlement to authorizations, reconcile depositsThree-way reconciliation
Time-Sensitive

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​

2. ISO 8583 & Response Codes​

3. Decline Recovery​

4. Payment Routing​

5. Interchange Optimization​

6. Clearing & Reconciliation​

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.

MetricDefinitionWhy it matters
Authorization rate (first attempt)Approved first attempts ÷ first attempts, per payment intentMeasures issuer acceptance before any recovery
Authorization rate (eventual)Payment intents eventually approved ÷ payment intents attemptedMeasures the whole system, including retries and cascading
Decline mixDeclines by normalized reason (insufficient funds, do not honor, fraud, data quality)Shows which lever to pull: retries, tokens, data quality or routing
Reversal timelinessUnused authorizations reversed within the network deadlineCardholder experience and integrity fees
Downgrade rateTransactions that cleared below the expected interchange programDirect cost
Unreconciled itemsOpen breaks by age and valueFinancial 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.

References​

Share: