Professional Documents
Culture Documents
Fig1.1
The PosApp has two main functions:
Transaction management - It passes EFT transaction messages from the terminal to
E-Switch and vice versa, acting as a protocol converter between the terminal and
switch.
Terminal management - It manages the download (to the terminal) of configuration
data like terminal parameters, card (BIN) parameters and hotcard lists, and the
upload if information like terminal statistics.
1.1Communication Protocols
1
Confidential PosApp Specification v1.0
PosApp Specification document
Data from the terminal arrives at the port provided by PosApp in the form of a packet of
data. A configurable parameter determines whether or not a packet is indicated/delimited
by means of an additional header. Two header formats are supported:
a 2-byte, unsigned, big-endian integer (i.e. most significant byte first), giving the
length of the data to follow, or
a 4-byte Inetco header
If no header is configured, the data in the raw TCP packet is processed as it arrives
A message consists of the following parts:
Encoding indicator
Message type ID
Bit map(s)
Data Elements
2
Confidential PosApp Specification v1.0
PosApp Specification document
3
Confidential PosApp Specification v1.0
PosApp Specification document
4
Confidential PosApp Specification v1.0
PosApp Specification document
5
Confidential PosApp Specification v1.0
PosApp Specification document
6
Confidential PosApp Specification v1.0
PosApp Specification document
7
Confidential PosApp Specification v1.0
PosApp Specification document
8
Confidential PosApp Specification v1.0
PosApp Specification document
9
Confidential PosApp Specification v1.0
PosApp Specification document
10
Confidential PosApp Specification v1.0
PosApp Specification document
11
Confidential PosApp Specification v1.0
PosApp Specification document
12
Confidential PosApp Specification v1.0
PosApp Specification document
may be returned from the host during a table download if the current table
download is being restarted by the host system. This indicates that any data received
from the host for this table in this interaction is to be disregarded and this and data
to follow replaces all data received so far (note this is for the current table only).
380 Data, with more to come -In file transfer response messages (1314), indicates
there are more data messages to follow.
381 Data, with no more to come -In file transfer response messages (1314), indicates
the last data message in a transfer.
382 No data - In file transfer response messages (1314), indicates that no data
transfer is required.
383 File transfer complete -In file transfer request messages (1304), indicates that
the terminal has received the file successfully. In file transfer response messages
(1314), indicates to the terminal that the host acknowledges a successful download
interaction.
384 File transfer aborted -In file transfer request messages (1304), indicates that the
terminal has aborted the file transfer process. In file transfer request response
(1314), indicates that the terminal must restart the download of the current file set
(not just the current table).
400 Full reversal required -The transaction did not complete as authorised and a
reversal for the full amount of the original transaction is required.
401 Partial reversal required -The transaction did not complete for the full original
amount, therefore a partial reversal is required.
690 Administrative notification -Administrative advice message
691 Administrative request -Administrative request message
805 Special Instruction -Used in 1804 (Network Administration request messages) to
deliver an event notification.
811 Key exchange -Used in 1804 (Network Administration request messages) to
request a key exchange.
13
Confidential PosApp Specification v1.0
PosApp Specification document
1 Manual, no terminal.
2 Magnetic stripe read.
3 Bar code.
4 OCR.
5 Integrate circuit card (ICC).
6 Key entered. A Contactless ICC. B Contactless magnetic stripe.
The cardholder authentication capability (position 2) of the terminal.
0 No electronic authentication.
1 PIN.
2 Electronic signature analysis.
3 Biometrics.
4 Biographic.
5 Electronic authentication inoperative.
6 Other.
The card capture capability (position 3) of the terminal.
0 None.
1 Capture.
The operating environment (position 4) of the terminal.
0 No terminal used.
1 On premises of card acceptor, attended.
2 On premises of card acceptor, unattended.
3 Off premises of card acceptor, attended.
4 Off premises of card acceptor, unattended.
5 On premises of cardholder, attended.
Indicates whether the cardholder is present (position 5).
0 Cardholder present.
1 Cardholder not present, unspecified.
2 Cardholder not present, mail order.
3 Cardholder not present, telephone.
4 Cardholder not present, standing authorisation.
Indicates whether the card is present (position 6).
0 Card not present.
1 Card present.
The actual card data input mode (position 7) of the transaction.
0 Unspecified.
1 Manual, no terminal.
2 Magnetic stripe read.
3 Bar code.
14
Confidential PosApp Specification v1.0
PosApp Specification document
4 OCR.
5 Integrate circuit card (ICC).
6 Key entered.
7 Contactless ICC.
8 Contactless magnetic stripe.
The actual cardholder authentication method (position 8) of the transaction.
0 Not authenticated
1 PIN.
2 Electronic signature analysis.
3 Biometrics.
4 Biographic.
5 Manual signature verification.
6 Other manual verification.
The cardholder authentication entity (position 9) of the transaction.
0 Not authenticated.
1 Integrated circuit card.
2 Terminal.
3 Authorising agent.
4 Merchant.
5 Other.
The card data output capability (position 10) of the terminal.
0 Unknown.
1 None.
2 Magnetic stripe write.
3 Integrate circuit card (ICC).
The terminal output capability (position 11) of the terminal.
0 Unknown.
1 None.
2 Printing.
3 Display.
4 Printing and display.
The PIN capture capability (position 12) of the terminal.
0 No PIN capture capability.
1 Device PIN capture capability unknown.
4 Four characters.
Five characters.
6 Six characters.
7 Seven characters.
15
Confidential PosApp Specification v1.0
PosApp Specification document
8 Eight characters.
9 Nine characters.
A Ten characters.
B Eleven characters.
C Twelve characters.
Terminal operator (position 13)
0 Customer operated.
1 Card acceptor operated.
2 Administrative.
Terminal type (position 1415)
00 Administrative terminal
01 POS terminal
02 ATM
03 Home terminal
04 Electronic cash register (ECR)
05 Dial terminal
06 Travellers check machine
07 Fuel machine
08 Scrip machine
09 Coupon machine
10 Ticket machine
11 Point-of-Banking terminal
12 Teller
13 Franchise teller
14 Personal banking
15 Public utility
16 Vending
17 Self-service
18 Authorization
19 Payment
20 VRU
21 Smart phone
22 Interactive television
23 Personal digital assistant
24 Screen phone
90 E-commerce - No encryption; no authentication
16
Confidential PosApp Specification v1.0
PosApp Specification document
17
Confidential PosApp Specification v1.0
PosApp Specification document
Account Types
Any account type may be used as long as it has been configured in E-Switch and would be
acceptable to the issuer. The following account types are configured by default:
00 Default unspecified
10 Savings account
20 Check account
30 Credit account
40 Universal account
50 Investment account
18
Confidential PosApp Specification v1.0
PosApp Specification document
1.1.6 Message types to be supported between the POS and the Switch:
1. 1804 This message type will be used for Network sign on and key exchange
between the device and the Switch. The message is initiated by the device to the
Switch and a response of 0810 will complete the transaction flow.
2. 1200 This message type will be used for financial impact transactions as well as
enquiries. This transaction is marked complete after receiving a 1210 message.
3. 1420 This is a reversal message, this message is usually sent after incurring a
timeout between the POS and the Switch.
4. 1220 This is an advice message sent for transactions authorized offline.
19
Confidential PosApp Specification v1.0
PosApp Specification document
A2:- SALE
1200:
[Fixed n 6 006] 003 [000000]
[None n 012] 004 [000000000001]
[Fixed n 10 010] 007 [0929070152]
[Fixed n 6 006] 011 [000024]
[Fixed n 12 012] 012 [150929090152]
[Fixed an 15 015] 022 [51010121014C101]
[Fixed n 3 003] 024 [200]
[Fixed n 3 003] 029 [001]
[LLVAR n ..11 006] 032 [123456]
20
Confidential PosApp Specification v1.0
PosApp Specification document
binary data
0000(0000) 42 31 32 30 30 32 30 05 09 28 c1 90 00 30 30 30 B120020..(...000
0016(0010) 30 30 30 30 30 30 30 30 30 30 30 30 30 30 31 30 0000000000000010
0032(0020) 39 32 39 30 37 30 31 35 32 30 30 30 30 32 34 31 9290701520000241
0048(0030) 35 30 39 32 39 30 39 30 31 35 32 35 31 30 31 30 5092909015251010
0064(0040) 31 32 31 30 31 34 43 31 30 31 32 30 30 30 30 31 121014C101200001
0080(0050) 30 36 35 30 32 31 39 35 32 34 35 30 32 31 39 35 0612345624123456
0096(0060) 30 30 30 30 33 37 34 30 37 34 3d 31 37 30 39 35 0000374074=17095
0112(0070) 32 31 30 39 32 39 30 30 30 30 30 30 32 34 53 42 21092900000024SB
0128(0080) 4d 36 30 36 31 39 31 31 31 36 38 30 30 30 34 48 M60619111680004H
0144(0090) 49 47 48 4c 41 30 31 34 35 f0 8e 00 c0 01 53 42 IGHLA0145.....TT
0160(00a0) 4d 36 30 36 31 39 30 30 30 30 30 35 39 39 39 39 T606190000059999
0176(00b0) 20 30 30 30 31 31 35 31 33 50 53 49 31 31 4d 31 00011513PSI11M1
0192(00c0) 39 4d 65 72 63 68 4e 61 6d 65 31 38 54 45 53 54 9MerchName18TEST
0208(00d0) 20 50 4f 53 31 35 55 73 72 49 64 31 34 39 39 39 POS15UsrId14999
0224(00e0) 39 31 37 55 73 72 4e 61 6d 65 32 31 30 53 55 50 917UsrName210SUP
0240(00f0) 45 52 56 49 53 4f 52 32 31 30 55 73 65 72 2d 41 ERVISOR210User-A
0256(0100) 67 65 6e 74 32 33 35 4c 50 41 59 2f 31 2e 31 32 gent235TPAY/1.12
0272(0110) 2e 31 38 20 45 4d 56 2f 76 36 30 32 5f 30 31 5f .18 EMV/v602_01_
0288(0120) 32 30 31 35 2e 30 34 2e 30 32 38 34 30 57 15 9d 2015.04.02840W..
0304(0130) 0f 57 94 f3 98 .W...
21
Confidential PosApp Specification v1.0
PosApp Specification document
binary data
0000(0000) 42 31 32 30 30 b2 30 05 09 28 c1 90 00 00 00 00 B1220.0..(......
0016(0010) 00 10 00 00 00 33 31 30 30 30 30 30 30 30 30 30 .....31000000000
0032(0020) 30 30 30 30 30 30 30 30 37 31 35 31 30 31 34 33 0000000071510143
0048(0030) 33 30 30 30 30 30 36 31 36 30 37 31 35 31 32 31 3000006160715121
0064(0040) 34 33 33 35 31 30 31 30 31 32 31 30 31 34 43 31 43351010121014C1
0080(0050) 30 31 32 30 30 30 30 31 30 36 35 30 32 31 39 35 0120000106123456
0096(0060) 32 34 35 30 32 31 39 35 30 30 30 30 33 37 34 30 2412345600003740
0112(0070) 31 37 3d 31 37 30 39 35 32 31 36 31 39 37 31 32 17=1709521619712
0128(0080) 30 30 30 30 30 36 53 42 42 32 32 30 30 31 53 42 000006TTT22001SB
0144(0090) 5a 30 30 30 30 30 30 30 30 30 30 30 35 30 31 33 Z000000000005013
0160(00a0) 34 f0 83 00 c0 01 53 42 42 32 32 30 30 31 30 30 4.....TTT2200100
0176(00b0) 30 30 30 32 37 37 37 37 20 30 30 30 31 30 34 31 00027777 0001041
0192(00c0) 33 50 53 49 31 31 41 31 39 4d 65 72 63 68 4e 61 3PSI11A19MerchNa
0208(00d0) 6d 65 32 31 32 53 74 65 77 61 72 64 20 42 61 6e me212Test Ban
0224(00e0) 6b 31 35 55 73 72 49 64 31 34 37 37 37 37 31 37 k15UsrId14777717
0240(00f0) 55 73 72 4e 61 6d 65 31 38 45 4e 47 49 4e 45 45 UsrName18ENGINEE
0256(0100) 52 32 31 30 55 73 65 72 2d 41 67 65 6e 74 32 32 R210User-Agent22
0272(0110) 32 4c 50 41 59 2f 31 2e 31 33 2e 31 35 20 45 4d 2LPAY/1.13.15 EM
0288(0120) 56 2f 36 2e 32 2e 30 38 34 30 e0 99 c8 14 18 57 V/6.2.0840.....W
0304(0130) 34 b5 30 36 33 33 33 34 34 34 4.06333444
A4:- 1804
1804:
[Fixed n 10 010] 007 [0719114247]
binary data
0000(0000) 42 31 38 30 34 02 30 01 00 00 c0 00 00 30 37 31
B1804.0......071
0016(0010) 39 31 31 34 32 34 37 30 30 31 35 38 37 31 36 30
9114247001587160
0032(0020) 37 31 39 31 33 34 32 34 37 38 30 35 53 42 42 36
719134247805TTT6
0048(0030) 36 34 32 38 39 39 39 39 39 30 30 30 37 36 45 43
64289999900076EC
0064(0040) 4f 4d 44 OMD
A5:- 1420
1420:
22
Confidential PosApp Specification v1.0
PosApp Specification document
binary data
0000(0000) 42 31 34 32 30 72 34 05 88 0a c1 81 00 31 36 35
B1420r4......161
0016(0010) 30 32 31 39 35 30 30 30 30 30 30 30 30 37 35 30
2345600000000750
0032(0020) 30 30 30 30 30 30 30 30 30 30 30 30 30 30 31 31
0000000000000011
0048(0030) 30 30 34 32 39 31 37 33 31 31 33 30 30 30 30 36
0042917311300006
0064(0040) 35 31 34 30 34 32 39 31 36 35 35 31 36 31 39 30
5140429165516190
0080(0050) 31 35 31 30 31 30 31 32 31 30 31 34 43 31 30 34
151010121014C104
0096(0060) 32 30 31 34 30 32 31 30 30 31 30 30 30 30 33 39
2014021001000039
0112(0070) 39 34 30 30 30 31 39 31 31 53 42 4d 34 36 31 39
940001911TTT4619
0128(0080) 34 31 32 30 33 37 30 30 34 43 45 4e 54 52 41 4c
412037004CENTRAL
0144(0090) 30 30 32 36 f0 17 00 c0 00 53 42 4d 34 36 31 39
0026.....TTT4619
23
Confidential PosApp Specification v1.0
PosApp Specification document
0160(00a0) 34 30 30 30 30 33 39 39 39 39 39 20 30 30 38 34 40000399999
0084
0176(00b0) 30 33 31 30 32 30 30 30 30 30 30 36 34 30 34 32
0310200000064042
0192(00c0) 39 31 37 33 30 32 37 30 30 30 30 30 30 30 30 30
9173027000000000
0208(00d0) 30 30
24
Confidential PosApp Specification v1.0