API Reference
GrowPixels API
Integrate real-time fraud detection into your checkout in under a day. REST API with SDKs for Node.js, Python, PHP, and more.
📋 Full documentation coming soon
We're in private beta. API keys and full documentation are shared directly with approved merchants. Request access →
Quick Start
// 1. Install the SDK
npm install @growpixels/sdk
// 2. Initialize
import { GrowPixels } from "@growpixels/sdk";
const gp = new GrowPixels({ apiKey: process.env.GP_API_KEY });
// 3. Assess a transaction
const result = await gp.assess({
orderId: "ord_xK92pQ",
amount: 349.99,
currency: "USD",
cardBin: "424242",
deviceId: "fp_a8x92k",
ip: "185.220.101.4",
});
// result.decision → "APPROVE" | "REVIEW" | "DECLINE"
// result.riskScore → 0–1000
// result.signals → top contributing factors
Response
{
"decision": "DECLINE",
"riskScore": 847,
"confidence": 0.96,
"latencyMs": 38,
"signals": [
"new_device_high_velocity",
"ip_proxy_detected",
"bin_country_mismatch"
],
"chargebackProb": 0.73,
"auditId": "aud_9Xk2pRm"
}
Endpoints
POST
/v1/assessAssess a transaction and receive a fraud risk score and decisionGET
/v1/transaction/:idRetrieve the full assessment for a previous transactionGET
/v1/statsRetrieve fraud statistics and model performance for your account< 50ms latency
Decisions returned before your checkout completes
SOC 2 aligned
Enterprise-grade security and data handling
REST API
Simple JSON request/response, any language
SDKs available
Node.js, Python, PHP — more on request
Ready to get started?
Request access to receive your API key and full documentation.
Request API Access