Послуга по визначенню реальності фото.
Звіт містить такі компоненти:
Http Method | POST |
---|---|
Request URL | https://secure.ubki.ua/b2_api_xml/ubki/xml |
Request JSON |
Response JSON |
Request XML |
Response XML |
Приклад |
---|
Request JSON | { "doc": { "ubki": { "req_envelope": { "req_xml": { "request": { "i": { "ident": { "bdate": "1957-10-19", "mname": "ІГОРЕВНА", "fname": "АННА", "lname": "РИБАЧКА", "okpo": "2111118724" }, "liveness": { "imgdata0": "Фото в base64", "imgdata1": "Фото в base64", "imgdata2": "Фото в base64", "imgdata3": "Фото в base64", "imgdata4": "Фото в base64" }, "reqlng": "2" }, "version": "1.0", "reqtype": "35", "reqreason": "2" }, "descr": "Об`єкт запиту" }, "descr": "Конверт запиту" }, "sessid": "4EC8D647B0DB4D9A862CDC25AB00000F" } } } |
Response JSON | { "ubkidata": { "tech": { "trace": { "step": { "name": "build report", "stm": "2022-01-10 10:48:56.276", "ftm": "2022-01-10 10:48:56.288" } }, "reqinfo": { "reqid": "req2#000002012398" } }, "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="4EC8D647B0DB4D9A862CDC25AB00000F"> <req_envelope descr="Конверт запиту"> <req_xml descr="Об`єкт запиту"> <request version="1.0" reqtype="35" reqreason="2"> <i reqlng="2"> <ident bdate="1957-10-19" mname="ІГОРЕВНА" fname="АННА" lname="РИБАЧКА" okpo="2111118724" /> <liveness imgdata0="Фото в base64" imgdata1="Фото в base64" imgdata2="Фото в base64" imgdata3="Фото в base64" imgdata4="Фото в 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-01-10 10:48:56.276" ftm="2022-01-10 10:48:56.288" /> </trace> <reqinfo reqid="req2#000002012398" /> </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 | https://secure.ubki.ua/b2/js/xsd/request35.xsd |
---|---|
XSD Schema response | https://secure.ubki.ua/b2/js/xsd/response35.xsd |
Test URL | https://test.ubki.ua/b2_api_xml/ubki/xml |
---|---|
Test data |
|