payShield host commands

PIN operations

payShield JC — Translate PIN TPK→LMK

answers with JD

Translate PIN from TPK to LMK

Fields

FieldWhat it holds
TPK under LMK32 or 48 or 97 or 129 charsS… key block (97/129 chars), or 32/48 hex under a variant LMK
PIN Block (HEX)16 or 32 chars16 hex chars, or 32 for format 48
Source PIN Block Format2 chars01 (ISO 0), 05 (ISO 1), 34 (ISO 2), 47 (ISO 3), 48 (ISO 4), 04 (PLUS), 35 (Pay Now/Later)
PAN12-19 digit card number

On the wire

Complete host messages. Each runs against the KeyLab simulator as printed. The header is four zeros here; the device echoes back whatever you send.

Translate PIN TPK→LMK

0000JCS10096P0TE00N00007DCE180AA9A0A8B71990F210BD972B88539513781E3179C7484AC0F661421449E594BB84BBFE325001890EF2F47E6D9A8A4000001234567899;

4-char headercommand132 chars of fields
Send JC to the simulator

Opens the simulator with this command already filled in.

PIN operations