Without Intaglio
// Agent pays automatically // No policy check // No audit trail // No human override const result = await x402.pay(invoice) // ← could be $50,000 // ← could be sanctioned wallet // ← could be fraud
With Intaglio
// Policy check runs first (<10ms)
// Only pays if policy says APPROVE
const decision = await intaglio.enforce({
amount: invoice.amount,
destination: invoice.payTo,
})
if (decision.outcome === 'APPROVE') {
await x402.pay(invoice) // ← safe
}
// DENY = blocked + hash-anchored
// REQUIRE_APPROVAL = queued for human<10msEnforcement latencydoes not slow x402 flow
100%Payment blockedwhen policy says DENY
Every paymentAudit recordhash-anchored to Solana