Skip to main content

Policy Engine

The Policy Engine is the reason an agent can be trusted with a wallet. Before any payment or transfer executes, Payzor evaluates the agent’s policy. If the answer is no, nothing moves and the agent receives a structured rejection it can read and react to.

The rules

The distinction matters:
  • Hard limits → rejected immediately, deterministic, no human involved.
  • Human review → paused as a pending approval, human notified in real time.

Human-in-the-loop (HITL)

When a payment exceeds the review threshold:
At the same moment:
  1. A pending approval record is created (with expiry).
  2. A webhook approval.required fires to every registered endpoint.
  3. The console shows the approval queue.
A human then grants or rejects:
Only then does the money move. Rejections are logged like any blocked payment.

Pre-authorized spending

Some flows should not re-ask a human for every charge, but must never bypass limits. That’s what preAuthorized means in Payzor:
When an agent’s human accepts a PayLink budget, charges drawn against that budget skip only the human-review rule. Every hard limit still applies.
One approval, many charges, zero ambiguity about who said yes.

Reading a policy

returns the active policy alongside the balance, so agents can self-check before attempting a payment.