Documentation

Everything you need to integrate Vruza AI into your workflow.

Quick example

Check a customer's risk score with a single API call.

risk-check.ts
// Risk Check API — Example Request
const response = await fetch('https://api.vruza.ai/v1/risk-check', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    phone: '+923001234567',
    order_amount: 4500,
    payment_method: 'cod',
    city: 'Karachi',
  }),
});

const data = await response.json();
// {
//   "score": 820,
//   "risk_level": "trusted",
//   "recommendation": "approve_cod",
//   "factors": [
//     "high_completion_rate",
//     "verified_phone",
//     "repeat_customer"
//   ]
// }