REVEN
SAFETY POLICY

Rules that protect the customer and the merchant.

These rules decide when Reven can suggest recovery and when a human must review it.

V1 SECURITY SCOPE

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
DECISION BOUNDARIES

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.

RuleBoundaryWhen it triggers
Confidence floorBelow 60%Escalate to human review
High-value approvalAt or above ₹5,000Escalate before any recovery link
Retry capAt 3 recorded retriesStop further recovery attempts
Contact capAt 1 contact/dayStop customer outreach
Trust GateMore than 5 attempts / 24hRefuse suspicious activity upstream
POLICY DETAILSWhy each boundary existsRead details
RULE 01

Confidence rule

Current setting:Require review below 60% confidence

Meaning: If Reven is not sufficiently sure about the failure cause, it asks a human instead of acting automatically.

What happens if I change this?

Lowering this threshold allows more automated retries and links. Raising it sends more ambiguous cases to your team.

RULE 02

High-value rule

Current setting:Require approval above ₹5,000

Meaning: Higher-value recoveries need a person to approve them before any payment link or reminder is issued.

What happens if I change this?

Lowering this amount protects smaller transactions. Raising it reduces manual approval queues for larger sales.

RULE 03

Retry limit

Current setting:Maximum 3 retries

Meaning: Reven stops repeated payment attempts to avoid bothering customers or triggering bank fraud blocks.

What happens if I change this?

Lowering stops retries sooner. Raising gives more chances to recover transient failures, but risks customer frustration.

RULE 04

Contact limit

Current setting:Maximum 1 contact per customer per day

Meaning: Reven prevents reminder spam by enforcing a strict daily outreach cap across all communication channels.

What happens if I change this?

Strict limits protect customer brand goodwill. Higher limits allow multiple multi-channel touches in a single day.

RULE 05

Trust Gate

Current setting:Stop suspicious activity (5 attempts in 24h)

Meaning: Reven blocks recovery actions whenever payment behaviour looks risky, rapid-fire, or resembles card testing.

What happens if I change this?

Tighter windows catch velocity attacks immediately. Looser windows allow legitimate buyers with multiple attempts.

SAFETY SIMULATION

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.

SAFE SIMULATION MODE
TEST CANDIDATE SETTINGS
DECISION COMPARISON
ACTIVE PRODUCTION RULE
Floor: 60%
Approval: ₹5,000
Resulting Action:Blocked by policy

Trust gate stopped recovery

PROPOSED CANDIDATE RULE
Floor: 60%
Approval: ₹5,000
Proposed Resulting Action:Blocked by policy

Click 'Test rule candidate' to see how the decision changes under these candidate settings.

Simulated dry run only. No real data or active settings are altered.