Card Authorization for Engineers
Last Updated: 2026-12-01 Status: Complete
Card authorization is the real-time request in which an acquirer asks the issuer, through the card network, whether a payment may proceed and whether the funds or credit line can be held. The conceptual flow is covered in the transaction lifecycle overview; this category covers the decisions an engineer must make when building on top of it.
Most authorization defects are not network outages. They are modelling errors: the wrong authorization type for the use case, an authorization that is never reversed, a stored credential submitted without the correct initiator flag, or an issuer approval that is ignored after an AVS or CVV2 mismatch. The four pages below address each of these in turn.
Quick Reference
| Topic | Key point | Page |
|---|---|---|
| Authorization types | Estimated, incremental, partial, final and initial authorizations each have distinct rules and validity periods | Authorization Types |
| Validity windows | Visa: 30 calendar days for lodging and vehicle rental estimated authorizations. Mastercard: 30 calendar days for pre-authorizations | Authorization Types |
| Stored credentials | The first transaction is cardholder-initiated; later ones are flagged and linked by a network transaction ID | CIT vs MIT |
| Verification | AVS and CVV2 results are advisory; a $0 account verification checks a credential without a hold | Card Verification |
How the Pieces Fit
Learning Objectives
After completing this category, you should be able to:
- Select the correct authorization type for hotel, rental, restaurant, e-commerce, marketplace and fuel use cases.
- Implement an authorization state machine that handles partial capture, reversal and expiry.
- Handle response code 10 and split tender at checkout.
- Persist the identifiers (network transaction ID, RRN, STAN, authorization code) required for linking, reversals and disputes.
- Flag cardholder-initiated and merchant-initiated transactions correctly and chain them with a network transaction ID.
- Decide what to do when an issuer approves but AVS or CVV2 fails, and why the authorization must then be reversed.
Topics
- Authorization Types: Estimated, Incremental, Partial, Final: choosing the type, validity windows, reversals, and a state machine.
- CIT vs MIT and Stored Credentials: consent, initiator flags, network transaction ID chaining and processor migration.
- AVS and CVV2 Checks and $0 Account Verification: reading verification results and building a decision matrix.
- Authorization Quiz: scenario questions to test your judgment.
Validity windows and reversal deadlines are network rules and change. Values on these pages are rendered from the guide's central register; see Key Numbers for sources and review dates. Consult your acquirer for region-specific limits.
Related Topics
- Transaction Lifecycle Overview: the conceptual end-to-end flow.
- Response Codes and Decline Handling: what each response means and how to classify it.
- Clearing and Settlement: what happens after capture.
- Fraud Detection Tools: AVS and CVV2 as fraud signals.