Skip to content

PerTxCapPolicySchema

PQSafe AgentPay API Reference v0.1.0


PQSafe AgentPay API Reference / PerTxCapPolicySchema

Variable: PerTxCapPolicySchema

const PerTxCapPolicySchema: ZodObject<{ mode: ZodLiteral<"per_tx_cap">; perTxLimit: ZodNumber; }, "strip", ZodTypeAny, { mode: "per_tx_cap"; perTxLimit: number; }, { mode: "per_tx_cap"; perTxLimit: number; }>

Defined in: pqsafe/agent-pay/src/sprint2/policy.ts:58

per_tx_cap: each individual payment must be <= perTxLimit. The envelope may be presented multiple times until it expires or is revoked. Requires the hosted issuer service to track nonce state.