Batch Jobs
Batch Processing
Batch Jobs
POST
Batch Jobs
Create and manage batch KYC validation jobs for processing multiple entities efficiently. Batch jobs allow you to submit large numbers of entities for validation and track their progress asynchronously.
Endpoints
Authentication
Requireskyc:create permission for creating jobs and kyc:read permission for retrieving job status. Include your Bearer token in the Authorization header.
Create Batch Job
Submit multiple entities for KYC validation in a single batch job.Endpoint
Request Body Parameters
Request Example
Response Format
Response Fields
Get Job Status
Retrieve the status and results of a batch job.Endpoint
Path Parameters
Request Example
Response Format - Processing
Response Format - Completed
Response Fields
Entity Result Object
Error Responses
400 Bad Request - Invalid Entities
400 Bad Request - Too Many Entities
404 Not Found - Job Not Found
Status Codes
Usage Examples
Python Example
JavaScript Example
Best Practices
- Batch Size: Keep batches between 100-1,000 entities for optimal performance
- Entity IDs: Always provide
entity_idto track individual entities in results - Polling: Poll job status every 5-10 seconds (don’t poll too frequently)
- Error Handling: Handle failed entities appropriately
- Rate Limits: Be aware of API rate limits when creating multiple jobs
Performance
- Processing Time: Approximately 1-2 seconds per entity
- Maximum Entities: 10,000 entities per job
- Chunking: Large batches are automatically chunked for processing
- Concurrent Processing: Entities are processed in parallel for faster completion
Job Statuses
Integration Tips
- Async Processing: Batch jobs are processed asynchronously - don’t wait for completion
- Status Polling: Implement exponential backoff for status polling
- Result Storage: Store job results for audit and compliance purposes
- Error Recovery: Implement retry logic for failed entities