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 |
Request type "freqtype" -
1 - at its own base photo (the conversion of the input photo from the photo, which was previously transferred to the bureau)
2 - in the base of the photos of the other banks (reconversion of the input photograph with the photographs, which were transferred to the bureau by other organizations, the Crimean authorities)
3 - adjusting two particulars in the photo (revision of 2 input photos from your organization, you need to adjust additional parameters for another photo if you supply them fotodocext = "extended to a photo", fotodoc "=" photo in
4 - reserved
5 - in the base of the photo of the compromised individuals (re-copying of the photo at the base of the compromised individuals - shakhrai, anger, individuals that move from the authorities)
6 - check the photo of the document (the photo of the client's document is entered to check the photographs of the individual in the base of the bureau)
7 - two faces in one photo, for example, a person from a passport and revealing a people, who trim a passport.
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": "" }, "id": "18", "descr": "Client 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="Client alert"> <pret inn="3278508288" nonewdeal="0" nonewdealref="No" nonewdealcomment="" /> </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="Client alert"> tag <changedeal>
|