Read
Description
Argument
Collect PIN from cardholder and read PIN data from the device.
pin
The following properties may be set before issuing this command:
•
•
•
•
The response will be:
Upon successful read, the following properties will be set:
•
•
– cardholder account number, including check digit,
account_no
if required
– transaction amount in cents, without punctuation, if
amount
required
– (MSK mode only) encryption key to use: M for master,
enc_key
S for session, 0-3 for lower working keys, A-J for upper working keys.
– (DUKPT mode only) transaction type: D for debit, C for
xact_type
credit
/read P000
SS is a two-digit status code:
00 – successful read
45 – enc_key is not defined
83 – aborted, etc.
pin_block is the encrypted PIN block as returned by the device.
Visa_mac1, visa_mac2, visa_mac3
codes (DUKPT mode only)
– serial number of encryption key (DUKPT mode only)
enc_key_sn
Section 3. Commands
SS pin_block
– message authentication
25