payShield host commands

PIN operations

payShield BA — Encrypt Clear PIN

answers with BB

Encrypt a clear PIN under the LMK

Fields

FieldWhat it holds
Clear PIN4-12 digit PIN
PAN12-19 digit card number
PIN under LMK TagM (current) or J (deprecated)

On the wire

The four zeros are the message header. The device echoes them in its response.

Encrypt Clear PIN

0000BA1257F4000001234567899;

4-char headercommand22 bytes of fields
Send BA to the simulator

Opens the simulator with this command already filled in.

PIN operations