ISO 8583 REFERENCE

ISO 8583 processing codes: field 3 explained

Transaction types, account types and examples for the six-digit data element 3.

4 min read · By Kevin Medina · Updated November 20, 2026
The short version

Data element 3 is six digits: two for the transaction type, two for the from account and two for the to account. 00 is a purchase, 01 a withdrawal, 20 a refund and 31 a balance inquiry. 000000 is a plain purchase.

What the processing code is

Data element 3 is the processing code. It is six digits and describes what kind of transaction this is and which accounts it touches. Split it in three pairs: transaction type, account type from, and account type to.

Transaction types (first two digits)

CodeTransaction
00Goods and services (purchase)
01Cash withdrawal
02Debit adjustment
09Purchase with cashback
20Return (refund)
21Deposit
22Credit adjustment
30Available funds inquiry
31Balance inquiry
40Cardholder account transfer
50Payment

Account types (digits 3 to 4 and 5 to 6)

CodeAccount
00Default or not specified
10Savings account
20Checking account
30Credit facility
40Universal account
50Investment account

Worked examples

Processing codeReads as
000000Purchase, account type not specified
003000Purchase from a credit account
012000Cash withdrawal from a checking account
092000Purchase with cashback from a checking account
200000Refund, account type not specified
310000Balance inquiry, account type not specified

ISO 8583 gives the structure. Card networks, processors and switches define their own subsets, extra values and private fields, so the specification from your own acquirer or network is always the final word. Many networks use only part of this list and define extra transaction types of their own.

Why it matters in testing

Hosts reject messages whose processing code does not match the rest of the message, for example a cashback amount with a plain purchase code. Certification scripts exercise each transaction type the terminal supports, so the code has to be right for every flow you build.

Frequently asked questions

What is data element 3 in ISO 8583?
Data element 3 is the processing code, a six-digit field. The first two digits give the transaction type and the next two pairs give the accounts the transaction uses.
What does processing code 000000 mean?
It is a purchase of goods and services with the account type not specified.
What is the processing code for a refund?
Transaction type 20 is a return or refund, so a refund with no account specified is 200000. Some hosts handle refunds in a different way, so check your specification.
Are processing codes the same on every host?
The structure is standard, but hosts support different subsets and add their own values, so use your host specification.

Getting a host message to pass?

Send us the host spec and a sample message. A payments engineer will tell you what needs to change.

Talk to us Book a meeting with a founder