Checking Backend...
Stage 3: Pre-Flight Deterministic Policy GateSANDBOX / TEST MODE · Razorpay Test Mode

Deterministic Policy Engine & Rule Diagnostics

The Policy Engine evaluates 8 deterministic rules synchronously in memory before any financial action reaches the Razorpay API. It enforces the Zero-Gateway-Dispatch Invariant: if any policy rule fails, zero network calls or credentials touch external gateways.

Authority Contract

What is a Financial Mandate?

A Mandate is a passive, immutable authority contract granted by a principal. It specifies the declarative boundary: maximum amount per operation, aggregate budget pool, allowed operation whitelist, and hierarchical delegation constraints.

Enforcement Mechanism

What is the Policy Engine?

The Policy Engine is the active, zero-hallucination runtime enforcement gate. It intercepts every proposed action and evaluates the 8 rules against the mandate, guaranteeing sub-15ms decisions and strictly 0 gateway dispatches on non-ALLOW.

The 8 Real Deterministic Policy Engine Rules

Evaluated in strict sequential order

Live Policy Engine Testbed (Dry-Run Evaluation)

Simulate candidate financial operations against the actual backend PolicyEngine without mutating database state.

Backed by /api/v1/policies/test-evaluate