35 - Liveness detection
Service for determining the reality of the photo.
The report contains the following components:
Http Method | POST |
---|---|
Request URL | https://secure.ubki.ua/b2_api_xml/ubki/xml |
Request JSON |
Response JSON |
Request XML |
Response XML |
Example |
---|
Request JSON | {
"doc": {
"ubki": {
"req_envelope": {
"req_xml": {
"request": {
"i": {
"ident": {
"bdate": "1957-10-19",
"mname": "ІГОРЕВНА",
"fname": "АННА",
"lname": "РИБАЧКА",
"okpo": "2111118724"
},
"liveness": {
"imgdata0": "Photo base64",
"imgdata1": "Photo base64",
"imgdata2": "Photo base64",
"imgdata3": "Photo base64",
"imgdata4": "Photo base64"
},
"reqlng": "4"
},
"version": "1.0",
"reqtype": "35",
"reqreason": "2"
}
}
},
"sessid": "EDF4309796114D6D9B8365370DA2DEE9"
}
}
} |
Response JSON | {
"ubkidata": {
"tech": {
"trace": {
"step": {
"name": "build report",
"stm": "2022-08-29 10:50:22.526",
"ftm": "2022-08-29 10:50:22.806"
}
},
"reqinfo": {
"reqid": "req2#000002461398"
}
},
"comp": {
"liveness": {
"inn": "2111118724",
"lname": "РИБАЧКА",
"fname": "АННА",
"mname": "ІГОРЕВНА",
"bdate": "1957-10-19",
"probabilityspoof": "0.3"
},
"id": "47",
"descr": "Liveness detection"
}
}
} |
Request XML | <?xml version="1.0" encoding="UTF-8"?>
<doc>
<ubki sessid="EDF4309796114D6D9B8365370DA2DEE9">
<req_envelope>
<req_xml>
<request version="1.0" reqtype="35" reqreason="2">
<i reqlng="4">
<ident bdate="1957-10-19" mname="ІГОРЕВНА" fname="АННА" lname="РИБАЧКА" okpo="2111118724" />
<liveness imgdata0="Photo base64" imgdata1="Photo base64" imgdata2="Photo base64" imgdata3="Photo base64" imgdata4="Photo base64" />
</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-29 10:50:22.526" ftm="2022-08-29 10:50:22.806"/>
</trace>
<reqinfo reqid="req2#000002461398"/>
</tech>
<comp id="47" descr="Liveness detection">
<liveness inn="2111118724" lname="РИБАЧКА" fname="АННА" mname="ІГОРЕВНА" bdate="1957-10-19" probabilityspoof="0.3"/>
</comp>
</ubkidata> |
XSD Schema request | |
---|---|
XSD Schema response | https://secure.ubki.ua/b2/js/xsd/response35.xsd |
Test URL | |
---|---|
Test data |
<comp id="72" descr="Search by full name + inn if more than 1 person is found">
|