Quickstart
Create an account, create API keys, integrate your SDK, and get a risk score.
1.
2.
Create API keys
Create two keys so you can separate testing from live traffic:
- Sandbox (dev/testing)
- Production (live traffic)
Store keys in env vars (don’t commit them).
3.
Integrate
Pick your platform, paste your API key, and call the SDK. The API endpoint is fixed in the SDK.
Install
bash
npm install @keverdjs/fraud-sdkInitialize + score
javascript
import { Keverd } from '@keverdjs/fraud-sdk';
Keverd.init('YOUR_API_KEY'); // Sandbox or Production key
const result = await Keverd.getVisitorData();
console.log(result.risk_score, result.action);