Skip to content

RevocationStatus

PQSafe AgentPay API Reference v0.1.0


PQSafe AgentPay API Reference / RevocationStatus

Interface: RevocationStatus

Defined in: pqsafe/agent-pay/src/sprint2/revocation.ts:57

Result of a revocation check.

Properties

failOpen?

optional failOpen?: boolean

Defined in: pqsafe/agent-pay/src/sprint2/revocation.ts:65

true = check was skipped due to fail-open policy (low-value payment + service down)


layer?

optional layer?: 2 | 1 | 3

Defined in: pqsafe/agent-pay/src/sprint2/revocation.ts:61

Which layer detected the revocation (or undefined if not revoked)


reason?

optional reason?: string

Defined in: pqsafe/agent-pay/src/sprint2/revocation.ts:63

Human-readable reason (for logging, not user-display)


revoked

revoked: boolean

Defined in: pqsafe/agent-pay/src/sprint2/revocation.ts:59

true = envelope is revoked and payment must be blocked


revokedAt?

optional revokedAt?: string

Defined in: pqsafe/agent-pay/src/sprint2/revocation.ts:67

ISO timestamp of when the revocation was recorded (if available)