Authenticate Fingerprint
Service that performs the Biometric Verification of Fingerprint 1:1, comparing a fingerprint from probe against a fingerprint from gallery of the same position. Each side can be provided as open/tokenized image or as Biometric Template previously extracted with Fingerprint Extraction, allowing a combination of both formats.
Endpoint
POST /services/authenticateFingerprintHeaders
x-api-key
string
Yes
Access authorization API Key.
family
string
No
Value: Onboarding. Required with the Tracking service.
Request body
Content-Type: application/json
Parameters
probe
array
Yes
Reference fingerprint. Must contain exactly one element.
gallery
array
Yes
Comparison fingerprint. Must contain exactly one element, from the same position as the probe.
probe[].position / gallery[].position
integer
Yes
Finger position according to NIST numbering (1–10). Must match between probe and gallery.
probe[].tokenBuffer / gallery[].tokenBuffer
string
Conditional
Fingerprint image in Base64 or a token from FacePhi. Required if not sent template. See Accepted formats.
probe[].template / gallery[].template
string
Conditional
Biometric Template (Base64) obtained from extractFingerprint. Required if not sent tokenBuffer. See Accepted formats.
threshold
integer
No
Decision threshold. If omitted, the tenant's value or the biometric engine's value is used.
tracking
object
No
Object representing the required tracking information.
tracking.extraData
string
No
Token generated by the SDK Mobile/Web. It contains tokenized tracking information with the Platform.
tracking.operationId
string
No
Operation identifier generated by the SDK Mobile/Web.
Accepted formats
Image (
tokenBuffer): Base64 of a fingerprint image inWSQ,BMP,PNG,JPEGorJP2, or a token from FacePhi.Template (
template): thetemplatein Base64 returned byextractFingerprint(fingerprint already converted to Biometric Template).Encoding: standard base64, preferably without line breaks. If it arrives "wrapped" (CRLF line breaks), the service normalizes it before processing.
Method specification
1
Authentication using two images
probe: image, gallery: image
2
Authentication using two Biometric Templates
probe: template, gallery: template
3
Authentication using one image and a template
probe: image, gallery: template
4
Authentication using one template and a image
probe: template, gallery: image
Request example
Responses
200 Success
Response parameters
serviceResultCode
integer
Code that indicates the overall result of the service execution. See Service Result Code.
serviceResultLog
string
Descriptive field for the result of the service execution.
serviceTime
string
Total processing time (milliseconds).
serviceTransactionId
string
Transaction identifier associated with the request processed by the API.
serviceFingerprintScore
number
Similarity score between the two fingerprints compared.
serviceFingerprintThreshold
number
Decision threshold applied in the comparison.
Service Result Code
0
The service execution was successful, the module processed the request correctly.
200
-1
The biometric engine could not complete the comparison (unprocessable input).
200
Fingerprint Auth Status
MATCH
The comparison is positive: the fingerprints match.
NO_MATCH
The process completed successfully, but the fingerprints do not match.
ERROR
The comparison could not be performed (for example, invalid input or input that cannot be processed by the engine).
Response example: MATCH
Response example: NO_MATCH
400 Bad Request
401 Unauthorized
403 Forbidden
502 Bad Gateway
504 Gateway Timeout
Last updated