Checking the consistency of subject’s data (full name+DOB+passport) and validity of the document.
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": "1989-10-05", "mname": "ВАСИЛІВНА", "fname": "ІРІНА", "lname": "ГАРНА", "okpo": "3278508288" }, "mvd": { "dtype": "1", "pser": "АМ", "pnom": "578072", "plname": "ГАРНА", "pfname": "ІРІНА", "pmname": "ВАСИЛІВНА", "pbdate": "1989-10-05" }, "reqlng": "4" }, "version": "1.0", "reqtype": "21", "reqreason": "2" } } }, "sessid": "F936E3872D7740D7910BB32C933318B3" } } } |
Response JSON | { "ubkidata": { "tech": { "trace": { "step": { "name": "build report", "stm": "2022-11-26 09:26:44.35", "ftm": "2022-08-26 09:26:44.44" } }, "reqinfo": { "reqid": "req2#000002460341" } }, "comp": [ { "mvd": { "foundsource": [ { "name": "UBKI", "found": "0", "foundref": "Not found", "sourcedate": "2022-10-16" }, { "name": "MVS", "found": "1", "foundref": "Found", "sourcedate": "2022-10-16" }, { "name": "DMS", "found": "0", "foundref": "Not found", "sourcedate": "2022-10-16" } ], "found": "1", "foundref": "Found", "foundtitle": "Passport АМ-578072 is found in the list of invalid passports.", "pser": "АМ", "pnom": "578072", "plname": "HARNA", "pfname": "IRINA", "pmname": "VASYLIVNA", "pbdate": "1989-10-05", "dtype": "1", "dtyperef": "Passport" }, "id": "5", "descr": "Search for canceled documents" }, { "pret": { "inn": "3278508288", "nonewdeal": "0", "nonewdealref": "No", "nonewdealcomment": "", "freezedate":"" }, "fcert": { "inn": "3278508288", "cert": "0", "certref": "No", "certid": "", "certurl": "" }, "maybegone": { "inn": "3278508288", "vdate": "2022-12-01", "dldonor": "BNK" }, "id": "18", "descr": "Alert" }, { "passportverif": { "coincide": "1", "coincideref": "Yes", "existident": "1", "existidentref": "Yes", "mname": "ВАСИЛІВНА", "fname": "ІРІНА", "lname": "ГАРНА", "bdate": "1989-10-05", "ser": "АМ", "nom": "578072" }, "id": "22", "descr": "Result of verification of Full Name-Passport-DOB" } ] } } |
Request XML | <?xml version="1.0" encoding="UTF-8"?> <doc> <ubki sessid="F936E3872D7740D7910BB32C933318B3"> <req_envelope> <req_xml> <request version="1.0" reqtype="21" reqreason="2"> <i reqlng="4"> <ident bdate="1989-10-05" mname="ВАСИЛІВНА" fname="ІРІНА" lname="ГАРНА" okpo="3278508288" /> <mvd dtype="1" pser="АМ" mname="ВАСИЛІВНА" fname="ІРІНА" lname="ГАРНА" pbdate="1989-10-05" /> </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-11-26 09:26:44.35" ftm="2022-08-26 09:26:44.44"/> </trace> <reqinfo reqid="req2#000002460341"/> </tech> <comp id="5" descr="Search for canceled documents"> <mvd found="1" foundref="Found" foundtitle="Passport АМ-578072 is found in the list of invalid passports." pser="АМ" pnom="578072" plname="HARNA" pfname="IRINA" pmname="VASYLIVNA" pbdate="1989-10-05" dtype="1" dtyperef="Passport"> <foundsource name="UBKI" found="0" foundref="Not found" sourcedate="2022-10-16"/> <foundsource name="MVS" found="1" foundref="Found" sourcedate="2022-10-16"/> <foundsource name="DMS" found="0" foundref="Not found" sourcedate="2022-10-16"/> </mvd> </comp> <comp id="18" descr="Alert"> <pret inn="3278508288" nonewdeal="0" nonewdealref="No" nonewdealcomment="" freezedate="" /> <fcert inn="3278508288" cert="0" certref="No" certid="" certurl="" /> <maybegone inn="3278508288" vdate="2022-12-01" dldonor="BNK" /> </comp> <comp id="22" descr="Result of verification of Full Name-Passport-DOB"> <passportverif coincide="1" coincideref="Yes" existident="1" existidentref="Yes" mname="ВАСИЛІВНА" fname="ІРІНА" lname="ГАРНА" bdate="1989-10-05" ser="АМ" nom="578072"/> </comp> </ubkidata> |
An example of a successful verification response in the presence of client identification data:<comp id="22" descr="Result of verification of Full Name-Passport-DOB"> <passportverif coincide="1" coincideref="Yes" existident = "1" existidentref = "Yes" lname="ГАРНА" fname="ІРІНА" mname="ВАСИЛІВНА" bdate="1989-10-05" ser="АМ" nom="578072" ></passportverif> </comp> An example of a failed verification response in the presence of client identification data:<comp id="22" descr="Result of verification of Full Name-Passport-DOB"> <passportverif coincide="0" coincideref="No" existident = "1" existidentref = "Yes" lname="ГАРНА" fname="ІРІНА" mname="ВАСИЛІВНА" bdate="1989-10-05" ser="АМ" nom="578072" ></passportverif> </comp> An example of a response in the absence of client identification data:<comp id="22" descr="Result of verification of Full Name-Passport-DOB"> <passportverif coincide="0" coincideref="No" existident = "0" existidentref = "No" lname="ГАРНА" fname="ІРІНА" mname="ВАСИЛІВНА" bdate="1989-10-05" ser="АМ" nom="578072" ></passportverif> </comp> |
---|
XSD Schema request | https://secure.ubki.ua/b2/js/xsd/request21.xsd |
---|---|
XSD Schema response | https://secure.ubki.ua/b2/js/xsd/response21.xsd |
Test URL | https://test.ubki.ua/b2_api_xml/ubki/xml |
---|---|
Test data |
Found in the list of invalid passports
Passport check dtype = 3
<comp id="18" descr="Alert"> tag <changedeal>
<comp id="72" descr="Search by full name + inn if more than 1 person is found">
|