Powerful APIs, comprehensive SDKs, and detailed documentation to integrate verification into your application. Go live in hours, not weeks.
import { CredFlare } from '@credflare/sdk';
const credflare = new CredFlare({
apiKey: process.env.CREDFLARE_API_KEY
});
// Create a verification request
const verification = await credflare.verifications.create({
type: 'kyc',
email: '[email protected]',
documents: ['passport', 'bank_statement'],
biometric: true
});
console.log(verification.id);
// => "ver_8847KJ92XM" Production-ready SDKs with full TypeScript support and comprehensive examples.
npm install @credflare/sdk
Full TypeScript support with auto-completion and type safety.
View Docs →RESTful API with JSON request/response format. Base URL: https://api.credflare.net/v1
Create a new verification request for a user. Returns a verification ID and submission URL.
POST /verifications {
"type": "kyc",
"email": "[email protected]",
"documents": ["passport", "bank_statement"],
"biometric": true,
"callback_url": "https://yourapp.com/webhook"
} {
"id": "ver_8847KJ92XM",
"status": "pending",
"submission_url": "https://verify.credflare.net/ver_8847KJ92XM",
"expires_at": "2025-02-01T00:00:00Z"
} Get the current status and results of a verification request.
GET /verifications/:id {
"id": "ver_8847KJ92XM",
"status": "completed",
"result": "approved",
"documents": [
{
"type": "passport",
"uvn": "CF-ID-2025-8847-XJ92",
"status": "verified",
"data": {
"name": "John Doe",
"dob": "1990-01-01",
"country": "US"
}
}
],
"biometric": {
"status": "matched",
"confidence": 98.5
},
"completed_at": "2025-01-15T10:30:00Z"
} Receive real-time notifications when verification status changes.
verification.created A new verification request was created
verification.completed User has submitted all required documents
verification.approved Verification was approved (auto or manual)
verification.rejected Verification was rejected
{
"event": "verification.completed",
"data": {
"id": "ver_8847KJ92XM",
"status": "completed",
"result": "approved",
"timestamp": "2025-01-15T10:30:00Z"
}
} Step-by-step tutorials for popular frameworks and platforms.
Add KYC verification to your Next.js app with React hooks and server-side rendering support.
Read Guide →Integrate CredFlare verification into your Django application with middleware and views.
Read Guide →Official WordPress plugin for member verification and gated content access.
Download Plugin →Get your API keys and start integrating CredFlare in minutes. Free sandbox environment included.