Skip to content

WebhookConfig

PQSafe AgentPay API Reference v0.1.0


PQSafe AgentPay API Reference / WebhookConfig

Interface: WebhookConfig

Defined in: pqsafe/agent-pay/src/approval.ts:62

Properties

secret?

optional secret?: string

Defined in: pqsafe/agent-pay/src/approval.ts:66

Shared HMAC-SHA256 secret — if set, X-PQSafe-Signature header is sent


timeoutMs?

optional timeoutMs?: number

Defined in: pqsafe/agent-pay/src/approval.ts:68

Timeout for the webhook response in ms (default: 30_000)


url

url: string

Defined in: pqsafe/agent-pay/src/approval.ts:64

URL to POST the approval request to