API-Only Integration
API-Only Integration
API-Only Integration
The API-only approach gives you complete control over the user experience. You build the capture UI, collect documents and selfies in your own application, and submit them to Verifa for processing.
Save the id and extract the token from the capture_url path. The token is
used for the capture endpoints.
Before uploading any biometric data, record the user’s consent:
This records the timestamp, IP address, and consent version. Consent is required before documents or selfies can be submitted.
Supported document types: passport, drivers_license, national_id,
residence_permit.
Upload the front side of the ID document:
Upload the back side (required for driver’s licenses and national IDs):
Documents are encrypted with AES-256-GCM immediately on receipt.
The selfie is compared against the photo on the ID document during face matching. For best results:
If your workflow requires additional information:
Signal that all data has been submitted and trigger workflow processing:
The session status moves to processing and the workflow engine begins
executing checks.
When using the API-only approach, you won’t get automatic client-side fraud signal collection (behavioral, device fingerprinting, etc.) unless you submit them manually:
Server-side signals (IP analysis, document forensics, duplicate detection) run automatically regardless of integration method.
All capture endpoints use the token path (/verify/\{token\}/...) and do not
require API key authentication — the token itself serves as the credential.
Capture endpoints return 400 Bad Request for: