Verification of identity based on a photo.
The service allows you to analyze the customer’s photos in the credit requests:
Customer verification (identity authentication),
Fraud prevention,
Identification of the facts of identity theft - a crime, in which a person's personal data are used to obtain illegally the material benefits (special cases: forgery and forgery of documents, in the simplest case – photo reglueing in the passport).
At the heart of the photo verification of the Ukrainian Bureau of Credit History is Microsoft Face API.
The report contains the following components:
Requirements to the photo |
Http Method | POST |
---|---|
Request URL | https://secure.ubki.ua/b2_api_xml/ubki/xml |
Request JSON |
Response JSON |
Request XML |
Response XML |
freqtype | Description | Reconciliation of incoming photos only, without connection of internal bases | Search in the database of creditor reference photos | Search in the fraud database | Search in the Register of application photos | Search in the database of missing people | Persons wanted | |
---|---|---|---|---|---|---|---|---|
At its own base photo | 1 | Checking the incoming photo with your own photo, which was previously submitted to the bureau | - | - | - | - | - | - |
In the base of the photos of the other banks | 2 | The incoming photo is checked against the historical photos of all donor organizations except our own | - | + | + | + | + | + |
Comparison of two persons on the photo | 3 | Two photos are sent to the entrance. The person in the first photo is compared with the person in the second photo, in the request you need to send additional parameters for the second photo fotodocext="extension to photo", fotodoc ="photo in base64" | + | - | - | - | - | - |
In the base of the photo of the compromised individuals | 5 | The face in the input photo is checked only against the fraud database. | - | - | + | - | - | - |
Check the photo of the document | 6 | Only a photo of the document without the identity of the client is sent to the entrance. The reconciliation comes with historical photos of all photo donor organizations. | - | + | + | + | + | + |
Comparison of two faces in one photo | 7 | At the entrance, one photo with two people is sent (for example, the client is holding a passport). These two people are reconciled. | + | - | - | - | - | - |
Example |
---|
Request JSON | { "doc": { "ubki": { "req_envelope": { "req_xml": { "request": { "i": { "ident": { "okpo": "3278508288", "mname": "VASYLIVNA", "fname": "IRINA", "lname": "HARNA", "bdate": "1989-10-05" }, "fotoverif": { "freqtype": "2", "inn": "3278508288", "facelogic": "3", "fotoext": "jpg", "phone": "+380962134234", "foto": "/9j/4AAQSkZJRgABAQEASABIAA" }, "reqlng": "4" }, "version": "1.0", "reqtype": "17", "reqreason": "2" } } }, "sessid": "6D7D781B1E884A6AB384481804A35EA8" } } } |
Response JSON | { "ubkidata": { "tech": { "trace": { "step": { "name": "build report", "stm": "2022-08-25 15:36:10.798", "ftm": "2022-08-25 15:36:10.936" } }, "reqinfo": { "reqid": "req2#000002459882" } }, "comp": [ { "fotoverif": { "reqtype": "1", "bdfd": "1", "fotofd": "/9j/4AAQuLr5N2zke9//2Q==", "fotoextvc": "jpeg", "datefotovc": "2018-11-21", "commentvc": "The suspicion is not confirmed by the photo", "confidencevc": "0.90923", "phonematch": "2", "phonematchref": "there is a phone match" }, "id": "16", "descr": "Photo Verification" }, { "pret": { "inn": "3278508288", "nonewdeal": "0", "nonewdealref": "No", "nonewdealcomment": "", "freezedate":"" }, "id": "18", "descr": "Alert" } ] } } |
Request XML | <?xml version="1.0" encoding="UTF-8"?> <doc> <ubki sessid="6D7D781B1E884A6AB384481804A35EA8"> <req_envelope> <req_xml> <request version="1.0" reqtype="17" reqreason="2"> <i reqlng="4"> <ident okpo="3278508288" mname="VASYLIVNA" fname="IRINA" lname="HARNA" bdate="1989-10-05" /> <fotoverif freqtype="2" inn="3278508288" facelogic="3" fotoext="jpg" phone="+380962134234" foto="/9j/4AAQSkZJRgABAQEASABIAA" /> </i> </request> </req_xml> </req_envelope> </ubki> </doc> |
Response XML | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ubkidata> <tech> <trace> <step name="build report" stm="2022-08-25 15:36:10.798" ftm="2022-08-25 15:36:10.936" /> </trace> <reqinfo reqid="req2#000002459882" /> </tech> <comp id="16" descr="Photo Verification"> <fotoverif reqtype="1" bdfd="1" fotofd="/9j/4AAQuLr5N2zke9//2Q==" fotoextvc="jpeg" datefotovc="2018-11-21" commentvc="The suspicion is not confirmed by the photo" confidencevc="0.90923" phonematch="2" phonematchref="there is a phone match" /> </comp> <comp id="18" descr="Alert"> <pret inn="3278508288" nonewdeal="0" nonewdealref="No" nonewdealcomment="" freezedate="" /> </comp> </ubkidata> |
XSD Schema request | https://secure.ubki.ua/b2/js/xsd/request17.xsd |
---|---|
XSD Schema response | https://secure.ubki.ua/b2/js/xsd/response17.xsd |
Test URL | https://test.ubki.ua/b2_api_xml/ubki/xml |
---|---|
Test data | fotoverif: freqtype = "2", inn = "one from the bottom", facerlogic = "3", foto = "be it, go through the rules of validation", fotoext = "jpg/jpeg", phone = "+380662134234"
<comp id="18" descr="Alert"> tag <changedeal>
<comp id="72" descr="Search by full name + inn if more than 1 person is found">
|