PC Batch 4.1 – credit card output format

 

Field

Length

Start

End

Contents

Record status

1

1

1

0

Input method

1

2

2

0

Transaction code

1

3

3

1(VISA/MC/AMEX...)

Transaction type

1

4

4

0

WCC

1

5

5

@

Card type

3

6

8

01 VISA

 

 

 

 

02 MC

 

 

 

 

04 AMEX

 

 

 

 

05 Discover

Amount

8

9

16

Amount in cents

State

3

17

19

State code

Product code

11

20

30

QF order number

Optional field 1

11

31

41

NULL

Optional field 2

11

42

52

NULL

Optional field 3

11

53

63

NULL

Optional field 4

11

64

74

NULL

Optional field 5

11

75

85

NULL

Authorization code

9

86

94

NULL

Authorization date

4

95

98

NULL

Return code

23

99

121

NULL

Authorization only flag

1

122

122

0

AVS Customer address

21

123

143

NULL

AVS Customer zip

10

144

153

NULL

AVS Response

3

154

156

NULL

Card number

25

157

181

Credit card number

Expiration date

7

182

188

Expiration (MMYY)

Customer name

27

189

215

NULL

Filler

71

216

286

NULL

Location ID

4

287

290

NULL

Filler

222

291

512

NULL

 

See Also