EarnMorev1.0.0

StorableCardData

interface StorableCardData { expiry: string; keyId: string; maskedPan: string; }

Source: types.ts:167

Cardholder Data (CHD) safe for storage after authorization. The CVV/CVC is intentionally absent — per PCI-DSS Req 3.3.1, SAD must not be retained once issuance/authorization is complete.


Properties

expiry: string

Card expiry in MM/YY format

keyId: string

Key identifier — required for CVV validation after key rotation. Per NIST SP 800-57 / ISO 11568-1.

maskedPan: string

Masked PAN: first 6 digits (BIN) + 6 masked characters + last 4 digits. Example: "001138xxxxxx1836" Per PCI-DSS Req 3.5, full PANs must not be stored in plaintext. Use encryptPAN() if the full PAN must be recoverable.