Rules that protect the customer and the merchant.
These rules decide when Reven can suggest recovery and when a human must review it.
A controlled operator prototype, not merchant production onboarding
Razorpay Test Mode only. Secrets stay server-side; signed webhooks prove payment outcomes; operator-token protected actions guard policy changes, labels, approvals, and reconciliation.
- Not yet: merchant accounts, RBAC, tenant isolation
- Production next: Supabase Auth, roles, audit log, per-merchant data boundary
What each rule protects — and the exact boundary
These rules are deterministic and tested at their edge values. AI can provide a diagnosis, but it cannot override a boundary or execute a money action.
POLICY DETAILSWhy each boundary existsRead details
Confidence rule
Meaning: If Reven is not sufficiently sure about the failure cause, it asks a human instead of acting automatically.
Lowering this threshold allows more automated retries and links. Raising it sends more ambiguous cases to your team.
High-value rule
Meaning: Higher-value recoveries need a person to approve them before any payment link or reminder is issued.
Lowering this amount protects smaller transactions. Raising it reduces manual approval queues for larger sales.
Retry limit
Meaning: Reven stops repeated payment attempts to avoid bothering customers or triggering bank fraud blocks.
Lowering stops retries sooner. Raising gives more chances to recover transient failures, but risks customer frustration.
Contact limit
Meaning: Reven prevents reminder spam by enforcing a strict daily outreach cap across all communication channels.
Strict limits protect customer brand goodwill. Higher limits allow multiple multi-channel touches in a single day.
Trust Gate
Meaning: Reven blocks recovery actions whenever payment behaviour looks risky, rapid-fire, or resembles card testing.
Tighter windows catch velocity attacks immediately. Looser windows allow legitimate buyers with multiple attempts.
Test a rule safely
This is a simulation. It shows how a different rule would change the recommendation. It never sends a message, creates a payment link, or changes real data.
Trust gate stopped recovery
Click 'Test rule candidate' to see how the decision changes under these candidate settings.