beautypg.com

Obtained from magtek – MagTek TTL User Manual

Page 32

background image

I/O Interface for TTL Magnetic Stripe Readers


28

CARD DATA FORMAT

− TRACK 2



37 NUMERIC DATA CHARACTERS



Primary

Account

Number

(19 digits Max.)



SS = Start Sentinel

Hex B

;

ES = End Sentinel

Hex F ?

*(PKIV) = PIN Verification Key

Indicator

FS = Field Separator

Hex D

=

Longitudinal Redundancy

*(PVV) = PIN Verification Value

Check Character

*(CVV) = Card Verification Value

*(CVC) = Card Validation code


CARD DATA FORMAT

− TRACK 3 (ISO 4909)


104 NUMERIC DATA CHARACTERS



Primary Account Number

No. of Characters

No. of Characters

(19 digits Max.)

Country Code (opt.)

3

Currency

Code

3

First

Subsidiary

Currency

Exponent

1

Account

Number

(opt.)

Amount Authorized per Cycle

4

Amount Remaining this Cycle

4

Second Subsidiary

Cycle Begin (Validity Date)

4

Account Number (opt.)

Cycle

Length

2

Retry

Count

1

Relay

Marker

1

PIN Control Parameters (opt.)

6

Interchange

Control

1

Cryptographic

6

PAN

Service

Restriction

2

Check Digit (opt.)

SAN-1

Service

Restriction 2

Expiration Date (opt.)

4

Discretionary Data

Card

Sequence

Number

1

Card Security Number (opt.)

9



SS

PAN

FS

USE AND SECURITY DATA

ADDITIONAL DATA

ES

LRC

SS

PAN

FS ADDITIONAL DATA

DISCRETIONARY DATA

ES LRC

No. of Characters

*PVKI

1

*PVV or Offset

4

*CVV or CVC

3

Some of the above fields may
be found within the Discretionary
Data.

No. of Characters

Expiration Date (YYMM) 4
Service Code

3

A Field Separator (FS) must be encoded if an optional field is not used.


SS = Start Sentinel

Hex B

;

FC = Format Code (2 digits)

*(PKIV) = PIN Verification Key

FS = FS = Field Separator Hex D

=

LRC = Longitudinal Redundancy Check Character

ES = End Sentinel

Hex F

?

This section is derived from P/N 99800004. Copies may be

The track formats used in this
document are based on ISO
Standards, however, other
formats may be used. Contact
your card issuer for your exact
requirements.

obtained from MagTek.