Pin Managment For IC Card Member Implementation Guide
Pin Managment For IC Card Member Implementation Guide
Effective:
27 June 2002
40060-01
Contents
Contents
About This Guide ....................................................................... 1
Audience ............................................................................................. 1 Scope .................................................................................................. 1 Document Organisation..................................................................... 2 Related Documents ............................................................................ 3 For More Information ........................................................................ 3
1.
2.
3.
4.
27 Jun 2002
Visa *Confidential*
A.3 A.4
Glossary ..................................................................................... 1
ii
Visa *Confidential*
27 Jun 2002
Figures
Figures
Figure 1-1: PIN Management Message Flow ............................... 12 Figure A-1: PIN Management Request/Response......................A20 Figure A-2: PIN Management Reversal .....................................A21 Figure A-3: Acquirer Not Participating ......................................A22 Figure A-4: Issuer Not Participating .........................................A23 Figure A-5: Issuer Unavailable ...................................................A24 Figure A-6: Time-Out, Issuer Does Not Respond.......................A25 Figure A-7: Message Undeliverable to Acquirer ........................A26 Figure A-8: PIN Management Reversal Issuer Unavailable...........................................................................A27
27 Jun 2002
Visa *Confidential*
ii
Visa *Confidential*
27 Jun 2002
Tables
Tables
Table 1-1: Existing Response Codes ............................................. 16 Table 3-1: Existing Response Codes ............................................. 32 Table A-1: BASE I Request/Response...........................................A2 Table A-2: BASE I Reversal ..........................................................A5 Table A-3: BASE I Advice of Reversal ..........................................A7 Table A-4: SMS Request/Response ...............................................A9 Table A-5: SMS Reversal .............................................................A12 Table A-6: SMS Advice of Reversal.............................................A14 Table B-1: BASE I PIN Management Certification Script..........B2 Table B-2: SMS PIN Management Certification Script ..............B4
27 Jun 2002
Visa *Confidential*
ii
Visa *Confidential*
27 Jun 2002
Audience
This guide is directed to staff responsible for implementing PIN Management for IC cards at their financial institution. It assumes that the reader has a basic knowledge of IC cards, ATM processing and the VisaNet V.I.P. System.
Scope
Changes that issuers and acquirers must make to implement PIN Management for IC Cards are addressed in this guide, including those related to: Sending and receiving PIN Management messages Co-ordinating offline and online PINs Developing customer service procedures for cardholders who have forgotten their PINs Designing new ATM screens to accommodate PIN Change/Unlock and PIN Unlock transactions
NOTE: The term PIN Unlock is used in this guide as EU members have elected to use this term at their ATMs and in cardholder materials. The term PIN Unblock is used for the processing code in PIN Management messages and in VisaNet technical documentation to be consistent with EMV and industry standards.
Implications for ATM vendors and third-party processors are mentioned where applicable; however, changes to their systems are outside the scope of this document.
27 Jun 2002
Visa *Confidential*
It is assumed that members have already implemented full data option IC card processing; for example, that issuers can send PostIssuance Script commands and acquirers can receive the script commands and transmit them to the IC card at their ATMs.
Document Organisation
The information in this guide is divided into the following chapters and appendices: Chapter 1, Service OverviewDefines PIN management concepts, describes the processing of both PIN Change/Unlock and PIN Unlock messages, and explains the changes to BASE I and Single Message System (SMS) message formats for PIN management. The enrolment procedure for the service is also covered. Chapter 2, Issuer ImplementationSummarises the systems changes needed to implement the service from an issuers perspective, including handling unsafe PINs and alternate routing. Customer service procedures that need to be developed are identified, such as PIN reissuance. Additionally, reporting and training activities are described. Chapter 3, Acquirer ImplementationProvides information on systems changes needed by the acquirer. Reporting and training activities are also covered. Chapter 4, Certification RequirementsExplains the certification environment, as well as requirements for precertification and certification with VisaNet. Appendix A, Message Formats and FlowsProvides PIN Management message formats for BASE I and the Single Message System, as well as message flows for common processing scenarios. Appendix B, Certification ScriptsContains sample PIN Management certification scripts for BASE I and SMS. A glossary is also included.
Visa *Confidential*
27 Jun 2002
Related Documents
The following documents contain technical information related to PIN Management for IC Cards: V.I.P. System BASE I Technical Specifications V.I.P. System BASE I Processing Specifications V.I.P. System SingleConnect SMS ATM Processing Specifications V.I.P. System SMS ATM Technical Specifications V.I.P. System Services
27 Jun 2002
Visa *Confidential*
Visa *Confidential*
27 Jun 2002
1. Service Overview
As payment markets shift to widespread use of integrated circuit (IC) cards with PIN as the primary cardholder verification method, it becomes increasingly important for cardholders to have convenient access to their PINs. This is especially true for credit cardholders who may not know the PIN associated with their card. This service is designed to provide Visa cardholders with the capability to change or unlock their PINs at participating ATMs. This new functionality is expected to facilitate the rollout of PINs at the point of sale by offering an easy and secure means for cardholders to select their own PINs.
1.1
Key Concepts
The following concepts are key to understanding PIN Management for IC Cards. Offline PINA numeric value stored on an IC card used to identify the cardholder when PIN verification takes place offline between the card and terminal. Offline PIN VerificationThe process of verifying a PIN entered into a terminal by the cardholder through interaction between the card and terminal. The PIN entered by the cardholder is compared to a numeric value stored on the card. Online PINA numeric value stored at the Issuers host that is used to identify the cardholder when PIN verification takes place through an online message routed between the acquirer and the issuer. Online PIN VerificationThe process of verifying a PIN entered into a terminal by the cardholder by sending it to the issuer for verification. The PIN entered by the cardholder is compared to a numeric value stored at the issuers host. PIN Change/UnlockA PIN Management message used to change the offline PIN on an IC card. The status of the PIN-try counter is included in the request message, so the issuer may optionally reset the PIN-try counter using the same response message. PIN Management MessageAn online message used to handle PINrelated functions, such as changing or unlocking a PIN.
27 Jun 2002
Visa *Confidential*
11
PIN UnlockA PIN Management message used to reset the PIN-try counter on IC cards. When the PIN-try counter reaches its maximum allowable value as set by the issuer, the card may become blocked. This will prevent subsequent transactions. Post-Issuance ScriptA command sent from the card issuer to the card through VisaNet to change a parameter set in the chip on the card. The IC card will verify that it is the genuine issuer that has provided the Post-Issuance Script.
1.2
Service Features
PIN Management for IC Cards is designed for single-application IC cards. Issuers, acquirers and ATM manufacturers must comply with EMV standards for IC card processing. PIN Management messages work in both dual and single-message processing environments and are subject to normal ATM processing edits. PIN blocks are encrypted using the existing acquirer and issuer encryption working keys. Figure 1-1 illustrates the flow of PIN Management messages.
ATM
Acquirer
Issuer
12
Visa *Confidential*
27 Jun 2002
Sends the transaction data, including information from the chip, such as the ARQC and the status of the PIN-try counter, to the acquirer
2. The acquirer: ! ! ! Creates a PIN Management request message (0100/0200) with processing code 70 PIN Change/Unblock Includes the ARQC, chip information and other transaction data in the request message Sends the authorisation request message to VisaNet
3. The V.I.P. System decrypts the PIN blocks using the acquirers working key and re-encrypts the PIN blocks using the issuers working key. The V.I.P. System then routes the message to the issuer.
NOTE: The V.I.P. System does not perform CVV or PVV processing or Chip Card Payment Service (CCPS) CAM/CVV processing for PIN Management messages. Only PIN translation is performed.
The issuer must be available as no Stand-In Processing is performed on PIN Management messages. If the issuer is unavailable or times out, a response code of 91 Issuer Unavailable is returned. 4. The issuer receives the PIN Management request message then decrypts and verifies the cardholders current PIN, validates the ARQC and performs other edits as determined by the issuers host system, such as checking the account status. If the PIN change is approved, the issuer prepares a Post-Issuance Script command to change the offline PIN to the new PIN requested by the cardholder. The issuer may optionally create a script command to reset the PIN-try counter if the card has been blocked due to excessive PIN tries as this information is carried in the PIN Management request. The issuer then creates an Authorisation Response Cryptogram (ARPC) and sends a PIN Management response message (0110/0210) containing the script commands to VisaNet. The issuer changes the online PIN stored at its host to reflect the new PIN value. 5. VisaNet routes the response message to the acquirer. 6. The acquirer sends the response message to the ATM. The PostIssuance Script command is applied to the card where the new offline PIN value is stored. The PIN-try counter is reset if the script command to change this card parameter was also sent by the issuer. The cardholder removes the card from the ATM.
27 Jun 2002
Visa *Confidential*
13
If the PIN Change/Unlock function is not completed at the ATM for any reason, the ATM generates a reversal message and sends it to the acquirer. The acquirer sends the reversal to VisaNet where it is routed to the issuer. If the issuer is unavailable, VisaNet creates an advice of reversal message for the issuer. The issuer must develop procedures for the action that should be taken upon receipt of a reversal or advice of reversal. See Section 2.3, Reversals and Advice of Reversals, for a discussion of the issues.
The ATM: ! ! ! Encrypts the PIN entered by the cardholder using the acquirers working key Receives the Authorisation Request Cryptogram (ARQC) generated by the card Sends the transaction data, including information from the chip, such as the ARQC and the status of the PIN-try counter, to the acquirer
2. The acquirer: ! ! ! Creates a PIN Management request message (0100/0200) with processing code 72 PIN Unblock Includes the ARQC, chip information and other transaction data in the request message Sends the authorisation request message to VisaNet
3. The V.I.P. System decrypts the PIN block using the acquirers working key and re-encrypts the PIN block using the issuers working key. The V.I.P. System then routes the request message to the issuer.
14
Visa *Confidential*
27 Jun 2002
NOTE: The V.I.P. System does not perform CVV or PVV processing or Chip Card Payment Service (CCPS) CAM/CVV processing for PIN Management messages. Only PIN translation is performed.
The issuer must be available as no Stand-In Processing is performed on PIN Management messages. If the issuer is unavailable or times out, a response code of 91 Issuer Unavailable is returned. 4. The issuer receives the PIN Management request message and verifies the cardholders current PIN, validates the ARQC and performs other edits as determined by the issuers host system, such as checking the account status. The issuer prepares a Post-Issuance Script command to reset the PIN-try counter on the card to zero, creates an Authorisation Response Cryptogram (ARPC) and sends a PIN Management response message (0110/0210) to VisaNet. 5. VisaNet routes the response message to the acquirer. 6. The acquirer sends the response message to the ATM. The PostIssuance Script command is applied to the card where the PINtry counter is reset to zero. The cardholder removes the card from the ATM. If the PIN Unlock function is not completed at the ATM for any reason, the ATM generates a reversal message and sends it to the acquirer. The acquirer sends the reversal to VisaNet where it is routed to the issuer. If the issuer is unavailable, VisaNet creates an advice of reversal message for the issuer.
27 Jun 2002
Visa *Confidential*
15
Two new response codes have been defined for field 39: P5 Decline of request P6 Unsafe PIN The following BASE I response codes have been added to SMS in support of PIN Management: 58 Transaction not allowed at terminal (Acquirer not participating) 85 No reason to decline a request (Approval of request) Other existing response codes that are valid for this service are shown in Table 1-1. The standard VisaNet response code definition is listed first, and the meaning specific to PIN Management messages follows in parentheses. Other standard response codes used in VisaNet ATM processing may also apply. Any response codes added to ATM processing in the future will automatically apply to PIN Management as well.
SMS 12 Invalid transaction 55 Incorrect PIN 57 Transaction not permitted to cardholder (Issuer not participating)
1
85 No reason to decline a request (Approval of request) 91 Issuer unavailable or switch inoperative (STIP not applicable or available to this transaction) 96 System malfunction 91 Destination unavailable or time out when no stand-in
96 System malfunction
1 Response code 12 is returned to the acquirer when the chip fields in either F55 or the 3rd bitmap (F152) are dropped from the request message. The PIN Change/Unlock request message is not forwarded to the issuer if either F55 or the 3rd bitmap is not present. 2 When SMS receives response code 83 from BASE I, it converts the 83 to an 86 before forwarding the message to the acquirer.
16
Visa *Confidential*
27 Jun 2002
Field 136, Cryptogram, must be present Field 142, Issuer Script, must be present if the response code from the issuer is 85
NOTE: Multiple script commands may be included in this field, such as one to change the offline PIN and one to reset the PIN-try counter to zero.
Field 143, Issuer Script Results, must be present in the Reversal message Field 147, Cryptogram Amount, must be present
1.3
Service Requirements
PIN Management for IC Cards requires changes to both issuer and acquirer host systems. Certification with VisaNet for PIN Management messages is required for participating issuers and acquirers. In addition, both issuers and acquirers must have previously certified for the full data option for IC card processing.
27 Jun 2002
Visa *Confidential*
17
Refer to Chapter 2, Issuer Implementation, and Chapter 3, Acquirer Implementation for details. Testing and certification requirements are covered in Chapter 4. PIN Management message formats can be found in Appendix A.
1.4
Enrolment Procedures
Please contact your Relationship Manager to enrol in this service.
18
Visa *Confidential*
27 Jun 2002
2. Issuer Implementation
This chapter discusses steps that issuers must take to implement PIN Management for IC Cards. Issuer implementation activities include developing the capabilities to: Receive and respond to PIN Management messages Co-ordinate offline and online PINs Detect and decline unsafe PINs Reissue PINs to cardholders prior to performing a PIN Change/Unlock or PIN Unlock at an ATM Notify cardholders of the availability of PIN Management for IC Cards
2.1
2.2
27 Jun 2002
Visa *Confidential*
21
If the online PIN in the issuers host system is not in sync with the offline PIN on the card, the cardholder will experience declined transactions due to incorrect PIN at terminals that use online PIN verification.
2.3
2.4
Unsafe PINs
It is the issuers responsibility to detect unsafe PINs that have been selected by cardholders. Examples might include: 1234, 9999, the cardholders first name, etc. Issuers should refer to their internal information security guidelines for the definition of unsafe PINs. Once the definition of an unsafe PIN has been determined, appropriate edits for the new PIN block contained in PIN Management messages should be implemented. Any unsafe PINs selected by cardholders should be declined with a response code of P6 Unsafe PIN. Cardholders will receive an ATM screen stating that their PIN selection has been declined as an unsafe PIN and that they should select another PIN. Cardholder education materials should be developed that explain the issuers guidelines for PIN selection. This information should be provided to cardholders when their PIN is reissued for the purpose of performing a PIN Change/Unlock at an ATM.
22
Visa *Confidential*
27 Jun 2002
2.5
PIN Reissuance
Cardholders must know their current PIN in order to change or unblock it at an ATM. Thus, procedures must be developed to reissue PINs to cardholders who have forgotten their PINs. Issuers typically have existing PIN reissuance procedures that can be utilised or modified for this purpose. Issuers should review the current procedure with the following questions in mind: How is the cardholders identity verified? How is the PIN provided to the cardholder? How long does it take for the cardholder to receive the PIN? Does this process effectively meet the customer service requirements for the new PIN Change/Unlock and PIN Unlock functions? What modifications should be made to the existing process to support PIN Management for IC Cards?
2.6
Cardholder Notification
Cardholders should be notified of the availability of the service, along with the procedures they need to follow if they have forgotten their PIN or would like to select a new one. Typical methods include statement inserts and statement messages. Information on the service might also be provided in new account materials sent to cardholders and included in card activation materials. A procedural change that you may want to consider is to mail systemgenerated PINs prior to the IC cards when cards are initially issued. Information on PIN change procedures can be enclosed with the PIN. This gives the cardholder the ability to immediately change their PIN when they receive their card, in the event that they prefer not to use the system-generated PIN.
2.7
Reporting
The two new PIN Management transaction types: PIN Change/Unlock and PIN Unlock, should be added to any internal reporting that displays transaction data and counts of transaction types.
27 Jun 2002
Visa *Confidential*
23
You should also add these transactions to transaction history that can be viewed on screen in the card management system by customer service representatives. The new transaction data elements will be available in the Visa Transaction Research Service (VTRS) using Visa Online (VOL).
2.8
Integrated Billing
The new fees associated with PIN Management for IC Cards will appear on your Integrated Billing statement. They include: Issuer Participation fee PIN Change transaction fee PIN Unlock transaction fee
2.9
Training
Customer service, back-office and branch staff should be trained as part of the implementation of PIN Management for IC Cards prior to your live date. The following topics should be considered: Features of the service: PIN Change/Unlock and PIN Unlock High-level description of PIN Management message processing Changes to PIN reissuance procedures, if any New ATM screens, if your organisation is also participating as an acquirer Cardholder notification materials Changes to the card management system Changes to reporting
24
Visa *Confidential*
27 Jun 2002
3. Acquirer Implementation
This chapter describes the PIN Management for IC Cards implementation activities for acquirers. They include: Developing the capability to send PIN Management request messages and process PIN Management response messages Designing new ATM screens for PIN Change/Unlock and PIN Unlock transactions Adding the new transaction types to ATM reporting Training staff
3.1
3.2
ATM Screens
ATM screens must be added for the following functions: PIN Change/Unlock
NOTE: The PIN entry screen must capture both the current and new PIN. The new PIN must be entered twice and edited either at the ATM or the acquirers host system to ensure that the same PIN was entered both times. Only one new PIN block is sent to the issuer.
PIN Unlock
27 Jun 2002
Visa *Confidential*
31
New response codes, including: ! ! Request declined by issuer (P5) Unsafe PIN selection by the cardholder (P6)
The following BASE I response codes have been added to SMS in support of PIN Management: 58 Transaction not allowed at terminal (Acquirer not participating) 85 No reason to decline a request (Approval of request)
Your ATM screens must also accommodate the existing VisaNet response codes that are used for this service as shown in Table 3-1. The response codes must either be mapped to existing screens with appropriate language or a new screen added. Other standard response codes used in VisaNet ATM processing may also apply. Any response codes added to ATM processing in the future will automatically apply to PIN Management as well.
SMS 12 Invalid transaction 55 Incorrect PIN 57 Transaction not permitted to cardholder (Issuer not participating)
1
85 No reason to decline a request (Approval of request) 91 Issuer unavailable or switch inoperative (STIP not applicable or available to this transaction) 96 System malfunction 91 Destination unavailable or time out when no stand-in
96 System malfunction
1 Response code 12 is returned to the acquirer when the chip fields in either F55 or the 3rd bitmap (F152) are dropped from the request message. The PIN Change/Unlock request message is not forwarded to the issuer if either F55 or the 3rd bitmap is not present. 2 When SMS receives response code 83 from BASE I, it converts the 83 to an 86 before forwarding the message to the acquirer.
32
Visa *Confidential*
27 Jun 2002
3.3
Reporting
The two new PIN Management transaction types, PIN Change/Unlock and PIN Unlock, should be added to ATM reporting that displays transaction data and counts of transaction types. The new transaction data elements will be available in the Visa Transaction Research Service (VTRS) using Visa Online (VOL).
3.4
Integrated Billing
The Acquirer Incentive associated with PIN Management for IC Cards will appear as a credit on your Integrated Billing statement.
3.5
Training
Customer service, back-office and branch staff should be trained as part of the implementation of PIN Management for IC Cards prior to your live date. The following topics should be considered: Features of the service: PIN Change/Unlock and PIN Unlock High-level description of PIN Management message processing New ATM screens Frequently asked questions from customers and non-customers Changes to reports
27 Jun 2002
Visa *Confidential*
33
34
Visa *Confidential*
27 Jun 2002
4. Certification Requirements
This chapter addresses the PIN Management for IC Cards requirements for certification, including: Certification Environment Pre-Certification V.I.P. Certification
4.1
Certification Environment
Once you have completed internal testing of coding changes to support PIN Management for IC Cards, you will need to begin preparing for certification with VisaNet. The first step in the certification process is to ensure that all of the necessary components are in place. The following components are required for the certification environment: VisaNet Certification Management Service (VCMS) connectivity VisaNet Access Point (VAP) 10.23 or greater VTS2000 release 3.4 or greater or Visa Test System (Sapphire Edition) version 11.0 or greater. PIN Management for IC cards certification scripts Personalised test chip cards
Contact your Visa representative to obtain certification scripts. For more information, refer to the following documents: Visa Certification Management Service (VCMS) Testing and Certification Guide-V.I.P. System VCMS Users Manual-BASE I System VTS2000 Users Guide or the Visa Test System (Sapphire Edition) Users Guide
27 Jun 2002
Visa *Confidential*
41
4.2
Certification Process
You must perform a series of transactions, referred to as a test or certification script, to demonstrate your host system is able to send and receive the new data and fields required in the PIN Management messages. Sample test scripts are provided in Appendix B.
NOTE: Your organisation must be certified for Visa ATM Services and the full data option for IC card processing prior to certifying for PIN Management for IC Cards.
Certification information for PIN Management for IC cards is gathered via Visa Online. After your implementation of the service is initiated at Visa, you will receive a set of PIN Management certification questions through Visa Online. The certification questions are answered and returned online. Your Implementation Manager then uses the information to set up the testing and certification process for your organisation at the regional certification lab.
42
Visa *Confidential*
27 Jun 2002
These fields remain in use for data consistency with other ATM messages. The message format tables use the following abbreviations to indicate if fields are required: M Mandatory C Conditional O Optional
27 Jun 2002
Visa *Confidential*
A1
M M M
7 11 14 18 19 22 23 25 26 32 33
Transmission Date and Time Systems Trace Audit Number Date, Expiration Merchant Type Acquiring Institution Country Code Point of Service Entry Mode Code Card Sequence Number Point of Service Condition Code Point of Service PIN Capture Code Acquiring Institution ID Code Forwarding Institution ID Code
M M C M M M C M C M C
M M
M Required for SMS bridge transactions. It will not be forwarded to the Issuer. Chip data image of Track 2 data M
35 37
C M
A2
Visa *Confidential*
27 Jun 2002
Field Number
Field Name
0100
0110
Comments
39
Response Code
Values must be: 12 = Invalid transaction 55 = Incorrect PIN 81 = PIN cryptographic error 83 = Unable to verify PIN 85 = Approval of request P5 = Decline of request P6 = Unsafe PIN 57 = Issuer not participating 58 = Acquirer not participating 91 = Issuer unavailable or timed-out Identification of ATM Identification of ATM Name/Location of ATM
41 42 43 44.1 49 52 53
Card Acceptor Terminal ID Card Acceptor ID Code Card Acceptor Name/Location Response Source/Reason Code Currency Code, Transaction PIN Data Security Related Control Info
M M M
M M
M M M M M Existing PIN Information about existing PIN and new requested PIN C Location for new PIN or Field 152, Field 55 or Field 152 must be present if the processing code in Field 3.1 is 70 BER-TLV Tag is CO The field is formatted: COXXFFFFFFFFFFFFFFFF where: CO is the tag, XX is the is the fixed length of the data, FFFFFFFFFFFFFFFF is the encrypted secondary PIN block
55
Field 55 (BER-TLV)
59 60 130 131
National POS Geographic Data Additional POS Information Terminal Capability Profile Terminal Verification Results
C M C C
27 Jun 2002
Visa *Confidential*
A3
Field Number
Field Name
0100
0110
Comments
Unpredictable Number Terminal Serial Number Visa Discretionary Data Issuer Discretionary Data Cryptogram Application Transaction Counter Application Interchange Profile ARPC Response Cryptogram and Code Issuer Script
C C C C C C C C C Must be present
142
Cryptogram Transaction Type Terminal Country Code Terminal Transaction Date Cryptogram Amount
C C C C Must be present; a zero amount is used in generating the ARQC and ARPC
A4
Visa *Confidential*
27 Jun 2002
M M M
7 11 14 18 19 22 23 25 26 32 33
Transmission Date and Time Systems Trace Audit Number Date, Expiration Merchant Type Acquiring Institution Country Code Point of Service Entry Mode Code Card Sequence Number Point of Service Condition Code Point of Service PIN Capture Code Acquiring Institution ID Code Forwarding Institution ID Code
M M C M M M C M C M C
M M
Must be 6011 M
C M Must be 00
M Required for SMS bridge transactions. It will not be forwarded to the issuer. M M
37 39 41 42 43 44.1 49
Retrieval Reference Number Response Code Card Acceptor Terminal ID Card Acceptor ID Code Card Acceptor Name/Location Additional Response Data Currency Code, Transaction
M M M
M M
M M M
27 Jun 2002
Visa *Confidential*
A5
Field Number
Field Name
0400
0410
Comments
55 59 60 90 131
Field 55 (BER-TLV) National Geographic Data Additional POS Information Original Data Elements Terminal Verification Results
C C M M C
C It is present in 0400 if issuer authentication failed If present in original, it is required in 0400 request
133
A6
Visa *Confidential*
27 Jun 2002
27 Jun 2002
Visa *Confidential*
A7
Field Name Original Data Elements Terminal Verification Results Terminal Serial Number Visa Discretionary Data Application Transaction Counter Issuer Script Results
0420 M C C C C C
A8
Visa *Confidential*
27 Jun 2002
Bitmap, Secondary Third Bitmap, 2 3 Primary Account Number (PAN) Processing Code
M M M M
7 11 12 13 14 15 18 19 21 22 23 25 26 32 33
Transmission Date and Time Systems Trace Audit Number Time, Local Transaction Date, Local Transaction Date, Expiration Date, Settlement Merchant Type Acquiring Institution Country Code Forwarding Institution Country Code Point of Service Entry Mode Code Card Sequence Number Point of Service Condition Code Point of Service PIN Capture Code Acquiring Institution ID Code Forwarding Institution ID Code
M M M M O
M M
M M M C M C M C M C M C M M
Must be 05 or 95
Must be 00
Required for SMS bridge transactions. It will not be forwarded to the issuer.
27 Jun 2002
Visa *Confidential*
A9
Field Number
Field Name
0200
0210
Comments
35 37 39
C M M M
Values must be: 12 = Invalid transaction 55 = Incorrect PIN 81 = PIN cryptographic error 85 = Approval of request 86 = Unable to verify PIN P5 = Decline of request P6 = Unsafe PIN 57 = Issuer not participating 58 = Acquirer not participating 91 = Issuer unavailable or timed-out 96 = System malfunction NOTE: When SMS receives response code 83 from BASE I, it converts the 83 to an 86 before forwarding the message to the acquirer.
41 42 43 49 52 53
Card Acceptor Terminal ID Card Acceptor ID Code Card Acceptor Name/Location Currency Code, Transaction PIN Data Security Related Control Info
M M M C M M
M M
C Existing PIN Information about existing PIN and new requested PIN C Location for new PIN or Field 152, Field 55 or Field 152 must be present if the processing code in Field 3.1 is 70 BER-TLV Tag is CO The field is formatted: COXXFFFFFFFFFFFFFFFF where: CO is the tag, XX is the is the fixed length of the data, FFFFFFFFFFFFFFFF is the encrypted secondary PIN block
55
Field 55 (BER-TLV)
A10
Visa *Confidential*
27 Jun 2002
Field Number
Field Name
0200
0210
Comments
59 60 63.0 63.1 115 130 131 132 133 134 135 136 137 138 139
National POS Geographic Data Additional POS Information Bitmap (Field 63) Network ID Additional Trace Data Terminal Capability Profile Terminal Verification Results Unpredictable Number Terminal Serial Number Visa Discretionary Data Issuer Discretionary Data Cryptogram Application Transaction Counter Application Interchange Profile ARPC Response Cryptogram and Code Issuer Script
C M M M O O O O O O O O O O C O Must be present M M
142
Cryptogram Transaction Type Terminal Country Code Terminal Transaction Date Cryptogram Amount
O O O O Must be present; a zero amount is used in generating the ARQC and ARPC
148 152
27 Jun 2002
Visa *Confidential*
A11
Bitmap, Secondary Third Bitmap 2 3 Primary Account Number (PAN) Processing Code
M M M M
7 11 12 13 15 18 19 21 22 23 25 32 33
Transmission Date and Time Systems Trace Audit Number Time, Local Transaction Date, Local Transaction Date, Settlement Merchant Type Acquiring Institution Country Code Forwarding Institution Country Code Point of Service Entry Mode Code Card Sequence Number Point of Service Condition Code Acquiring Institution ID Code Forwarding Institution ID Code
M M M M
M M
M M M C M C M M C C M M Required for SMS bridge transactions. It will not be forwarded to the issuer. M Must be 00 M Must be 6011
37 38 39 41 42
Retrieval Reference Number Authorization ID Response Response Code Card Acceptor Terminal ID Card Acceptor ID Code
M C
M M M M M
A12
Visa *Confidential*
27 Jun 2002
Field Number
Field Name
0420
0430
Comments
Card Acceptor Name/Location Currency Code, Transaction Field 55 (BER-TLV) National Geographic Data Additional POS Information Bitmap (Field 63) Network ID Message Reason Code Original Data Elements Additional Trace Data Terminal Verification Results
M M C C C M M M M O O It is present in 0420 if issuer authentication failed If present in original, it is required in 0420 request M M M C
133
27 Jun 2002
Visa *Confidential*
A13
A14
Visa *Confidential*
27 Jun 2002
Field Number 49 55 59 60 63.0 63.1 63.3 63.4 90 131 133 134 137 143
Field Name Currency Code, Transaction Field 55 (BER-TLV) National Geographic Data Additional POS Information SMS Private Use Fields Network ID Message Reason Code STIP/Switch Reason Code Original Data Elements Terminal Verification Results Terminal Serial Number Visa Discretionary Data Application Transaction Counter Issuer Script Results
0420 M C C C M M M M M O O O O M
0430
M M
O M
27 Jun 2002
Visa *Confidential*
A15
Usage
Field 152 is required in 0100/0200 requests only when the cardholder chooses to replace their current PIN at an ATM. It must be present when requesting a PIN change. This field is not used in reversal requests or advices, or in any responses. If this field is present, Field 52 Personal Identification Number (PIN) Data and Field 53 Security Related Control Information must also be present. This field should not be used other than for a PIN Management request. STIP and Switch Advices: Field 152 is omitted from advices
Field Edits
Field 152 is required if Field 3.1 is 70 (PIN Change/Unblock). The VICs security module edits field contents during PIN translation. If there is an error (most commonly, an acquirer key problem), the request message is not rejected; instead, the response code in Field 39 of the 0110/0210 response is set to 81.
The reject codes for Field 152 are: 0489 = Field missing in a PIN Change request 0717 = Field present in a PIN Unblock request
A16
Visa *Confidential*
27 Jun 2002
Usage
Field Edits
If Field 142 is present, the value in the one-byte length value cannot be greater that the 510-hexadecimal-digit maximum. If the Issuer approved a PIN Change/Unblock request, Field 142 must be present in the response message.
Reject Codes
The reject codes for Field 142 are: 0371 = Invalid length 0490 = Field 142 is missing in an approved PIN Change/Unblock response 0717 = Field 142 is present in a declined PIN Change/Unblock response
27 Jun 2002
Visa *Confidential*
A17
Length Subfield: The number of bytes following the length subfield. Field 143 Subfield Values
Position 1-8 1-4 Description Byte 1-4 Reserved for Visa Reserved for Visa Script Processing n/a Byte 5 0000 = Script not performed 0001 = Script processing failed 0010 = Script processing successful 0000 = Script sequence not specified 0000-1110 = Sequence number of script command 1-14 1110 = Sequence number of script command 15 or above n/a Values
5-8
Script Sequence
If an issuer script result is present, field 143 is used in 0400 request and 0420 advices. If field 143 is present, its length cannot exceed 20 bytes excluding the length byte. If an update failure occurs for a PIN Management message, Field 143 must be present in the 0400/0420 reversal request.
A18
Visa *Confidential*
27 Jun 2002
Reject Codes
The reject codes for Field 143 are: 0371 = Invalid length 0491 = Field 143 is missing in a PIN Management reversal request message
27 Jun 2002
Visa *Confidential*
A19
V.I.P. System
A20
Visa *Confidential*
27 Jun 2002
A reversal is illustrated in Figure A-2. The acquirer will send a Reversal message only when a script update failure occurs.
Acquirer Reversal for script update failure only Reversal for script update failure only
V.I.P. System
Issuer
27 Jun 2002
Visa *Confidential*
A21
If an acquirer is not participating in PIN Management for IC Cards, but is able to send a request, the V.I.P. System will issue a response code 58 as shown in Figure A-3.
V.I.P. System
Issuer
Response Code 58
A22
Visa *Confidential*
27 Jun 2002
As shown in Figure A-4, when an issuer is not participating in the PIN Management for IC Cards service, the V.I.P. System will issue a response code 57.
V.I.P. System
Issuer
27 Jun 2002
Visa *Confidential*
A23
If the issuer is unavailable, the V.I.P. System will issue a response code 91 as illustrated in Figure A-5.
Acquirer
V.I.P. System
Issuer
A24
Visa *Confidential*
27 Jun 2002
The scenario in Figure A-6 illustrates a time-out. The issuer does not respond within the specific time limit. The original request message is timed-out and Visa Stand-In Processing (STIP) processes a response destined to the acquirer. As this is a PIN-based transaction, the V.I.P. System responds with response code 91. When the V.I.P. System receives the late response, the message is returned back to the issuer. This enables the issuer to amend their records, backing out the original request.
V.I.P. System
27 Jun 2002
Visa *Confidential*
A25
The scenario illustrated in Figure A-7 shows a returned message from the acquirers node (undeliverable). This indicates that the acquirer did not receive the Issuers Script to successfully complete the PIN Change/Unlock request. When VisaNet receives the returned message, the V.I.P. System forwards the returned message to the issuer.
V.I.P. System
Issuer
A26
Visa *Confidential*
27 Jun 2002
The scenario in Figure A-8 shows the flow of a Reversal message when the issuer is unavailable. The V.I.P. System generates an Advice message for later retrieval when the issuer is available. The issuer may or may not retrieve their advices instantly. Retrieving advices is typically performed during off-peak hours. Also, some issuers do not retrieve their advices online, but opt to have their advices delivered offline via BASE II TC48s.
Acquirer
V.I.P. System
Issuer
27 Jun 2002
Visa *Confidential*
A27
A28
Visa *Confidential*
27 Jun 2002
B. Certification Scripts
This appendix contains sample BASE I and SMS test scripts for PIN Management certification. Prior to online testing, you should obtain the most current certification scripts from Visa Online.
NOTE: Draft test scripts are included in this appendix as examples only, so it is critical that you obtain the most current version through Visa Online.
27 Jun 2002
Visa *Confidential*
B1
0100/0110
PIN request approved. F142 must be present in response. PIN request approved. F142 must be present in response. F143 Issuer script results must be present
2 Reversal Authorisation - PIN Unblock Authorisation - PIN Change Authorisation - PIN Unblock Authorisation - PIN Change Authorisation - PIN Unblock Authorisation - PIN Change Reversal Advice Authorisation - PIN Unblock 720000 700000 700000 6011 6011 6011 720000 6011 0510 0510 0510 0510 720000 6011 0510 720000 6011 0510 00 00 00 00 00 00 91 700000 6011 0510 00 P5 P6 83 81 85 720000 6011 0510 00 85 700000 6011 0510 00
0100/0110
700000
6011
0510
00
85
0400/0410
0100/0110
PIN request approved. F142 must be present in response. PIN request declined Unsafe PIN Unable to verify PIN Cryptographic error PIN request approved. F142 must be present in response. F143 Issuer script results must be present Issuer unavailable or timed out
0100/0110
0100/0110
0100/0110
0100/0110
0100/0110
0420/0430
0100/0110
NOTE:
B2
Visa *Confidential*
27 Jun 2002
27 Jun 2002
Visa *Confidential*
B3
0200/0210
PIN Change
PIN request approved. F142 must be present in response. PIN request approved. F142 must be present in response. F143 Issuer script results must be present
2 Reversal Pin Unblock PIN Change PIN Unblock PIN Change PIN Unblock PIN Change Reversal Advice PIN Unblock 720000 700000 6011 6011 700000 6011 0510 0510 0510 720000 6011 0510 720000 6011 0510 00 00 00 00 00 91 720000 6011 0510 00 700000 6011 0510 00 P5 P6 83 81 85 720000 6011 0510 00 85 700000 6011 0510 00
0200/0210
PIN Change
700000
6011
0510
00
85
0400/0410
0200/0210
PIN request approved. F142 must be present in response. PIN request declined Unsafe PIN Unable to verify PIN Cryptographic error PIN request approved. F142 must be present in response. F143 Issuer script results must be present Issuer unavailable or timed out
0200/0210
0200/0210
0200/0210
0200/0210
0200/0210
0420/0430
0200/0210
NOTE:
B4
Visa *Confidential*
27 Jun 2002
Glossary
Glossary
Card Verification Value (CVV)
A unique check value encoded on the magnetic stripe or chip of a card. The Card Verification Value is used to validate the card information during authorisation and detect counterfeit cards. This service is not available to PIN Management for IC Cards.
Offline PIN
A numeric value stored on the chip of an IC card used to identify the cardholder when PIN verification takes place offline between the card and terminal.
Online PIN
A numeric value stored at the issuers host that is used to identify the cardholder when PIN verification takes place through an online message routed between the acquirer and the issuer.
27 Jun 2002
Visa *Confidential*
Glossary1
PIN Change/Unlock
A PIN Management message used to change the offline PIN on an IC card. Optionally, the issuer may reset the PIN-try counter in the same response message, as the status of the PIN-try counter is included in the request message.
PIN Unlock
A PIN Management message used to reset the PIN-try counter on IC cards. When the PIN-try counter reaches its maximum allowable value as set by the issuer, the card application may become blocked. This will prevent subsequent transactions.
Post-Issuance Script
A command sent from the card issuer to the IC card through VisaNet to change a parameter set in the chip on the card. The IC card will verify that it is the genuine issuer that has provided the PostIssuance Script. Also referred to as issuer script.
Glossary2
Visa *Confidential*
27 Jun 2002