🔍
1/6/2026•13 min read
Fraud Score API: Verify Customer Before Payment
Real-time risk assessment API: IP reputation check, email validation, device fingerprint analysis. Integration examples for Node.js and Python.
Fraud DetectionAPIE-commerce
Fraud Score API: Verify Customer Before Payment 🛡️
Introduction
Chargebacks are an e-commerce nightmare. If your rate exceeds 1%, Stripe or PayPal may ban your merchant account. The solution? Automated pre-check via Fraud Score API.
How It Works
When a user clicks "Pay", your backend sends data (IP, Email, User-Agent) to the Risk API. You get a Score (0-100).
- 0-30: Clean.
- 30-70: Suspicious (Force 3D Secure).
- 70-100: Fraud (Block).
Node.js Integration Example
const checkFraud = async (userIp, userEmail) => {
const response = await fetch('https://api.mmas.shop/v1/fraud-score', {
method: 'POST',
body: JSON.stringify({ ip: userIp, email: userEmail })
});
if (data.score > 75) {
return 'BLOCK_TRANSACTION';
}
};
Key Checks
- IP Reputation: Is it in spam blacklists?
- Email Domain: Is it a disposable email?
- Geo Mismatch: IP in Nigeria, Shipping in USA?
- Proxy: Is VPN/Tor used?
Conclusion
Integration takes 30 mins but saves thousands in fines.