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 |
{ "doc": { "ubki": { "req_envelope": { "req_xml": { "request": { "i": { "ident": { "okpo": "Tax/Taxpayer Identification Number (INN-RNUKPN, for individuals)", "lname": "**Last name", "fname": "**First name", "mname": "**Middle name", "bdate": "**Date of birth" }, "fotoverif": { "freqtype": "Request Type", "inn": "INN- RNUKPN", "facelogic": "Type of algorithm for a person search", "foto": "base64(Photo)", "fotoext": "Extension to the photo of the incoming request (jpeg)", "phone": "Phone for comparison" }, "reqlng": "Search criteria language (Code from ref.23)" }, "version": "1.0", "reqtype": "Template code (Code from ref.49): Report 'Photo Verification' - 17", "reqreason": "Purpose of the request (Code from ref.24)" }, "descr": "Request object" }, "descr": "Request envelope" }, "sessid": "Session key (we receive it from the API authorization)" } } } |
Response JSON
|
Request XML |
<?xml version="1.0" encoding="utf-8"?> <doc> <ubki sessid="Session key (we receive it from the API authorization)"> <req_envelope descr="Request envelope"> <req_xml descr="Request object"> <!-- Request Parameters --> <request version="1.0" reqtype="Template code (Code from ref.49): Report 'Photo Verification' - 17" reqreason="Purpose of the request (Code from ref.24)"> <!-- Parameters, describing the search criteria--> <i reqlng="Search criteria language (Code from ref.23)"> <!-- Parameters of the subject identification --> <ident okpo="Tax/Taxpayer Identification Number (INN-RNUKPN, for individuals)" lname="**Last name" fname="**First name" mname="**Middle name" bdate="**Date of birth"> </ident> <!-- Parameters for photo verification --> <fotoverif freqtype="Request Type" inn="INN- RNUKPN" facelogic="Type of algorithm for a person search" foto="base64(Photo)" fotoext="Extension to the photo of the incoming request (jpeg)" phone="Phone for comparison" /> </i> </request> </req_xml> </req_envelope> </ubki> </doc> |
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 |
|
Response JSON |
|
Request XML |
|
Response XML |
|
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>
|