EarnmoreEvent
interface EarnmoreEvent {
keyId: string;
maskedPan?: string;
timestamp: Date;
type: EarnmoreEventType;
}Source: types.ts:71
Audit event emitted by the library for significant cryptographic operations. Safe to log — never contains a full PAN, raw CVV, or key material.
Properties
keyId: string
Key identifier active at the time of the operation
maskedPan: string
Masked PAN when the operation involved a specific card. Format: first 6 (BIN) + "xxxxxx" + last 4. Absent for key lifecycle events.
timestamp: Date
UTC timestamp of the operation
type: EarnmoreEventType
Operation that triggered this event