For Developers

Build with the Best Fraud API

Developer-friendly fraud detection API designed for easy integration. Get started in minutes with comprehensive documentation and SDKs for your favorite languages.

Integration Channels

Multiple ways to integrate MaiGuard based on your architecture and needs. Canonical rate limits are documented on the API reference.

1,000/min

REST API

Direct API calls for real-time transaction scoring. Best for synchronous payment flows.

Use Case: Real-time payment processing, API gateway
Limit: 1,000/min per tenant
Behavioral biometrics

JavaScript SDK

Client-side behavioral biometrics and device fingerprinting for richer fraud detection.

Use Case: Web apps, bot detection, session linkage
Limit: Confirm with MaiGuard (see API reference)
Event-driven

Webhooks

Two-way webhook integration for async ingestion and real-time alerts to your endpoints.

Use Case: Event-driven, microservices, high-throughput
Limit: 1,000/min per tenant path
PostgreSQL / MySQL

Database Integration

Direct DB connections for scheduled transaction sync from PostgreSQL, MySQL, or MongoDB.

Use Case: Legacy systems, scheduled batch sync
Limit: Min 5 min between syncs
1,000 msg/s

SQS Integration

AWS SQS queue integration for high-throughput async transaction processing at scale.

Use Case: AWS-native, decoupled architecture
Limit: AWS quotas apply
CSV / JSON / JSONL

File Import

CSV/JSON file imports for batch processing and historical data migration at onboarding.

Use Case: One-time imports, backfill, migration
Limit: 5 imports/hour per tenant

Implementation Guides

Production-focused guides for onboarding and feedback intelligence integrations

Customer Onboarding & Integration Guide

Onboard customers with stable IDs, manage tenant lists, and align customerId with userId for downstream scoring. Transaction scoring details stay on the API reference.

  • PUT onboard, GET customers, tenant list entries
  • Identity alignment: same ID for onboarding and scoring calls
  • Errors, retries, and links to full rate limits on API reference
Read Onboarding Guide

Feedback Intelligence Integration Guide

Implementation guide for outcome feedback loops: capture transactionId, submit feedback events, and monitor quality metrics.

  • Maps scoring outcomes to feedback submission
  • Explains idempotency and safe retry strategy
  • Adds metrics, drift monitoring, and phased rollout checklist
Read Feedback Guide

Fraud & AML Guide for Operators

Operator playbook for African fintech teams: transaction monitoring, list screening, case workflows, and NDPR-aligned data handling patterns.

  • Velocity rules and shadow-mode rollout
  • PEP/sanctions screening payload requirements
  • Analyst case SLAs and audit exports
Read Operator Guide

Developer-First Features

Everything you need for a smooth integration experience

Lightning Fast

Average response time under 200ms for real-time fraud detection.

RESTful API

Clean, predictable API design following REST best practices.

JavaScript SDK

Client-side behavioral biometrics collection for enhanced fraud detection.

Detailed Docs

Step-by-step guides, code examples, and API reference documentation.

Sandbox Environment

Test your integration with sample data before going live.

Webhooks

Real-time notifications for fraud alerts and transaction updates.

JavaScript SDK

Enhanced Fraud Detection with Behavioral Biometrics

The MaiGuard JavaScript SDK collects behavioral biometrics and device identity signals to enhance fraud detection. It operates in the background without blocking your application.

  • Keystroke Dynamics: Timing patterns (how fast users type, not what they type)
  • Mouse Movements: Curvature, speed, click patterns (human vs. bot detection)
  • Device Fingerprinting: Canvas, audio, screen properties (device identification)
  • Privacy-First: Never collects PII (passwords, card numbers automatically excluded)
View SDK Documentation
index.html
1<script src="https://cdn.maiguard.com/sdk/v1/maiguard.min.js"></script>
2<script>
3  const sentinel = MaiGuard.init('pk_live_xyz123');
4  sentinel.watch();
5  sentinel.onReady((deviceSessionId) => {
6    console.log('SDK ready:', deviceSessionId);
7  });
8</script>

Getting Started

Follow our step-by-step guide to integrate MaiGuard in under 15 minutes.

Read Guide

API Reference

Complete reference documentation for all endpoints and parameters.

View Reference

Developer Support

Get help from our technical team via Slack, email, or GitHub.

Get Help

Ready to Start Building?

Get your API keys and start integrating MaiGuard's fraud detection into your platform today.

Get API Keys