payShield host commands

PIN operations

payShield CC — Translate PIN ZPK→ZPK

answers with CD

Translate PIN between two ZPKs

Fields

FieldWhat it holds
Source ZPK under LMK32 or 48 or 97 or 129 charsS… key block (97/129 chars), or 32/48 hex under a variant LMK
Destination ZPK under LMK32 or 48 or 97 or 129 charsS… key block (97/129 chars), or 32/48 hex under a variant LMK
Maximum PIN Length4-12 (default 12)
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)
Destination PIN Block Format2 charsdefaults to the source format
PAN relationshipDifferent PANs requires Enable use of Tokens in PIN Translation on the selected HSM.
PAN12-19 digit card number
Destination PANPAN used to form the destination PIN block.
Message trailerOptional · up to 32 printable ASCII bytes, echoed unchanged (Core pp.341–342).

On the wire

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

Translate PIN ZPK→ZPK

0000CCS10096P0TD00N000042BC0460E90AE31C70F9598147F567AABBE5B08AD189E33D43026D34B3C3BBC7844608729DBABD5DS10096P0TE00N000076FF26DDFBB6F20EFC730AF8BDA671E15BBB3F0073F328E93D78805F7F46F8255558A94AFC192753123E3D22F04A5AEF210101000123456789

4-char headercommand228 bytes of fields
Send CC to the simulator

Opens the simulator with this command already filled in.

PIN operations