Inferensys

Glossary

ISO 8583

The international standard messaging format used by financial transaction card-originated interchange systems to communicate electronic transactions between payment networks.
Developer building agentic RAG system, retrieval pipeline diagram on laptop, technical workspace with notes.
FINANCIAL MESSAGING STANDARD

What is ISO 8583?

The foundational communication protocol for card-originated financial transactions, defining the message format exchanged between payment networks, acquirers, and issuers during electronic authorization and settlement.

ISO 8583 is the international standard messaging format that governs the structure and content of electronic messages exchanged between financial transaction card-originated interchange systems. It defines a common interface enabling disparate systems—such as ATMs, point-of-sale terminals, and payment gateways—to communicate with acquirers and issuers for authorization, clearing, and settlement of card-based transactions.

The standard specifies a message structure composed of a Message Type Indicator (MTI) , one or more bitmaps indicating which data elements are present, and a series of variable-length data fields. This flexible, extensible format supports diverse transaction types, including purchases, reversals, and balance inquiries, and remains the critical backbone of real-time payment authorization flows globally.

MESSAGE FORMAT FUNDAMENTALS

Key Features of ISO 8583

The international standard that defines the message format and communication protocol for financial transaction card-originated interchange systems, enabling interoperability between ATMs, POS terminals, and payment networks worldwide.

01

Message Type Indicator (MTI)

A 4-digit numeric field that defines the message class, function, and origin. The first digit specifies the ISO 8583 version (e.g., 1 for 1987, 2 for 1993), the second digit indicates the message class (e.g., 1 for authorization, 4 for reversal), the third digit defines the function (e.g., 0 for request, 1 for response), and the fourth digit identifies the message origin (e.g., 0 for acquirer, 2 for issuer).

  • 0100: Authorization Request from acquirer to issuer
  • 0110: Authorization Response from issuer to acquirer
  • 0420: Reversal Request to undo a previous transaction
  • 0800: Network Management Request for echo tests and sign-on
02

Bitmap Field Encoding

A binary or hexadecimal encoded field that indicates which data elements are present in the message. The primary bitmap (field 1) covers data elements 1–64, while the secondary bitmap (field 1 extended) covers elements 65–128. Each bit position corresponds to a specific data element number.

  • Bit 1 set to 1: Secondary bitmap is present
  • Bit 2: Primary Account Number (PAN)
  • Bit 4: Transaction Amount
  • Bit 7: Transmission Date and Time
  • Bit 11: Systems Trace Audit Number (STAN)
  • Bit 32: Acquiring Institution Identification Code
  • Bit 39: Response Code (e.g., 00 for approved, 05 for declined)
03

Data Element Structure

Each data element has a predefined format, length, and content type defined by the ISO 8583 specification. Elements can be numeric (n), alphabetic (a), alphanumeric (an), or special (s). Length encoding varies by type:

  • Fixed-length fields: Length is constant and implied (e.g., MTI is always 4 digits)
  • LLVAR: 1-byte length prefix followed by variable data (max 99 bytes)
  • LLLVAR: 2-byte length prefix followed by variable data (max 999 bytes)
  • Example: PAN (field 2) is typically LLVAR with up to 19 digits
  • Example: Track 2 data (field 35) is LLLVAR containing magnetic stripe information
04

Network Message Flow

ISO 8583 messages traverse a defined authorization flow through the payment ecosystem. A typical purchase transaction follows this path:

  1. POS Terminal → Sends 0100 Authorization Request to acquirer
  2. Acquirer → Formats ISO 8583 message and routes to card network (Visa, Mastercard)
  3. Card Network → Validates format and forwards to issuer
  4. Issuer → Processes request, checks funds, applies fraud scoring
  5. Issuer → Returns 0110 Authorization Response with response code
  6. Card Network → Routes response back to acquirer
  7. Acquirer → Delivers approval/decline to POS terminal

Total round-trip latency target: Typically under 2–3 seconds for the entire authorization flow.

05

Response Codes and Exception Handling

Field 39 contains a 2-character alphanumeric response code that indicates the outcome of the transaction. Standard codes are defined by ISO 8583, though individual networks may extend them.

  • 00: Approved or completed successfully
  • 05: Do not honor (generic decline)
  • 14: Invalid card number
  • 51: Insufficient funds
  • 54: Expired card
  • 57: Transaction not permitted to cardholder
  • 96: System malfunction

Reversal messages (MTI 0420) are critical for maintaining ledger integrity when a transaction times out or a terminal crashes after sending an authorization but before receiving the response.

06

ISO 8583 Versions and Variants

While ISO 8583 defines the international standard, major card networks implement proprietary variants that extend or modify the base specification:

  • ISO 8583:1987: Original widely-adopted version with 128 data elements
  • ISO 8583:1993: Updated version with additional data elements and clarifications
  • ISO 8583:2003: Modern version supporting chip cards (EMV) with expanded fields
  • Visa Base I: Visa's implementation with network-specific fields and processing codes
  • Mastercard CIS: Mastercard's variant with custom data elements for Mastercard-specific services
  • EMVCo Contactless: Extensions for contactless and mobile wallet transactions

Integration challenge: Payment systems must handle multiple dialect versions simultaneously, often requiring message translation layers between different network specifications.

ISO 8583 ESSENTIALS

Frequently Asked Questions

Clear, technical answers to the most common questions about the international standard for financial transaction messaging, designed for platform engineers and payment systems architects.

ISO 8583 is the international standard messaging format used by financial transaction card-originated interchange systems to communicate electronic transactions between payment networks. It defines a common message structure, data elements, and processing flow so that systems from different vendors and financial institutions can exchange transaction information reliably. A message consists of a Message Type Indicator (MTI) , one or more bitmaps indicating which data fields are present, and the data elements themselves. The standard supports a wide range of transaction types—authorizations, reversals, settlements, and network management messages—each identified by a unique MTI. By enforcing a rigid, field-level protocol, ISO 8583 ensures that an acquirer's POS terminal, a payment switch, and an issuer's authorization system all interpret a transaction identically, which is critical for real-time fraud scoring pipelines that must parse and enrich these messages within milliseconds.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.