Skip to content

RevocationServiceConfig

PQSafe AgentPay API Reference v0.1.0


PQSafe AgentPay API Reference / RevocationServiceConfig

Interface: RevocationServiceConfig

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

Config for connecting to the revocation check service.

Properties

apiKey

apiKey: string

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

API key (pq_live_… or pq_test_…)


failClosedThresholdUsd?

optional failClosedThresholdUsd?: number

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

Amount threshold (in USD equivalent) above which fail-closed applies. Default $100.


serviceUrl

serviceUrl: string

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

Hosted issuer service base URL, e.g. https://api.pqsafe.xyz


timeoutMs?

optional timeoutMs?: number

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

Timeout in ms before applying fail-safe policy. Default 500ms.