Global Biometric Face Match
Credits: 1 per call.
Compares two facial images and returns a similarity score (0–100) plus a binary match/no-match decision. Typical use is 1:1 verification between a live selfie and the photograph on an ID document.
Use this endpoint to confirm that the person presenting an ID is the same person depicted on it.
Autorizaciones
Cuerpo
Face image (selfie) in Base64 (PNG/JPG)
Front ID image in Base64 (PNG/JPG). Can be any official document globally.
Acceptance threshold (1-100). Default: 90 (KYC-grade). Lower (e.g. 80) is more permissive; higher is stricter. Overridable per request.
1 <= x <= 100Optional. Use a specific type (e.g. INE, MEX_PASSPORT) for strict validation against that exact document type. Use ANY to require the image be some recognized ID (auto-detected) — returns NO_DOCUMENT_DETECTED if not. Omit it to skip document validation.
IFE, INE, MEX_PASSPORT, MEX_RESIDENCE_CARD, MEX_PROFESSIONAL_ID, ANY Respuesta
Biometric analysis result (Strict Envelope Pattern).
High-level outcome. OK means the request was successfully processed (regardless of business result). ERROR means the request was rejected or could not be processed.
OK, ERROR Stable result type code. Includes generic codes (SUCCESS, INVALID_REQUEST, UNAUTHORIZED, SERVICE_UNAVAILABLE, INTERNAL_ERROR, RATE_LIMIT_EXCEEDED) plus endpoint-specific result codes — see this endpoint's response examples.
Human-readable summary of the result. Always in English (per Language Conventions in the API overview).
Unique identifier of this request, generated by the API Gateway. Propagated end-to-end for traceability.
ISO 8601 datetime with Mexico City offset (-06:00). Always set by the API Gateway when the response leaves the system.
Whether this request will be charged against the client's plan. Typically true for successful business results and false for validation errors or system errors that prevented processing.
Face-match result. Null for INVALID_REQUEST and INTERNAL_ERROR.
Per-field error details. Present only on INVALID_REQUEST responses.