Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Request JSON

Expand
title body:

{

"doc": {

"ubki": {

"req_envelope": {

"req_xml": {

"request": {

"i": {

"fotoident": {

"foto": "base64(Photo)",

"fotoext": "Extension to the photo of the incoming request (jpeg)",

"phone": "Phone for comparison",

"facelogic": "Type to the algorithm of the poke of an individual"

},

"reqlng": "Search criteria language (Code from ref.23)"

},

"version": "1.0",

"reqtype": "Template code (Code from the ref.49): 'Identification by phone number and photo' - 6",

"reqreason": "Purpose of the request (Code from the ref.24)"

},

"descr": "Request object"

},

"descr": "Request envelope"

},

"sessid": "Session key (we receive it from the API authorization)"

}

}

}

...

Response JSON

Code Block
{
	"ubkidata": {
		"tech": {
			"trace": {
				"step": {
					"name": "build report",
					"stm": "2022-08-24 14:30:59.227",
					"ftm": "2022-08-24 14:30:59.593"
				}
			},
			"reqinfo": {
				"reqid": "req2#000002459044"
			}
		},
		"comp": [
			{
				"cki": {
					"ident": [
						{
							"cchild": "",
							"sstateref": "",
							"sstate": "",
							"spdref": "natural person",
							"spd": "1",
							"cgragref": "Ukraine",
							"cgrag": "804",
							"ceducref": "",
							"ceduc": "",
							"familyref": "",
							"family": "",
							"csexref": "woman",
							"csex": "2",
							"bdate": "1985-10-05",
							"mname": "ВАСИЛІВНА",
							"fname": "ІРІНА",
							"lname": "ГАРНА",
							"inn": "3278508288",
							"lngref": "Украинский",
							"lng": "1",
							"vdate": "2015-02-25",
							"donor": "BNK"
						},
						{
							"cchild": "",
							"sstateref": "",
							"sstate": "",
							"spdref": "natural person",
							"spd": "1",
							"cgragref": "",
							"cgrag": "802804",
							"ceducref": "",
							"ceduc": "",
							"familyref": "",
							"family": "",
							"csexref": "woman",
							"csex": "2",
							"bdate": "1985-10-05",
							"mname": "ВАСИЛІВНА",
							"fname": "ІРИНА",
							"lname": "ГАРНА",
							"inn": "3278508288",
							"lngref": "Ukrainian",
							"lng": "1",
							"vdate": "2006-04-04",
							"donor": "BNK"
						}
					],
					"work": {
						"wdohod": "",
						"wstag": "",
						"wname": "",
						"wokpo": "",
						"cdolgnref": "",
						"cdolgn": "",
						"lngref": "",
						"lng": "",
						"vdate": ""
					},
					"doc": {
						"dwdt": "2002-08-01",
						"dwho": "ІВАНГОРОДСЬКИМ",
						"dterm": "",
						"dnom": "578072",
						"dser": "АМ",
						"dtyperef": "Ukrainian citizen passport",
						"dtype": "1",
						"lngref": "Ukrainian",
						"lng": "1",
						"vdate": "2019-09-10",
						"eddr_number": "19891005-00022",
						"ddonor": "BNK"
					},
					"addr": {
						"adflat": "",
						"adcorp": "",
						"adhome": "7",
						"adstreet": "ТИХА",
						"adcitytyperef": "",
						"adcitytype": "",
						"adcity": "JВDКВJ",
						"adarea": "ІВАНГОРОДСКИЙ",
						"adstate": "ДНЕПРОПЕТРОВСКАЯ",
						"adindex": "23201",
						"adcountry": "UA",
						"adtyperef": "Address of registration",
						"adtype": "2",
						"lngref": "Ukrainian",
						"lng": "1",
						"vdate": "2018-01-25",
						"addonor": "BNK"
					},
					"bdate": "1989-10-05",
					"reqlngref": "Ukrainian",
					"reqlng": "1",
					"mname": "ВАСИЛІВНА",
					"fname": "ІРІНА",
					"lname": "ГАРНА",
					"inn": "3278508288"
				},
				"identdocmvds": {
					"identdocmvd": {
						"foundsource": [
							{
								"name": "MVS",
								"found": "1",
								"foundref": "Found",
								"sourcedate": "2022-08-24"
							},
							{
								"name": "DMS",
								"found": "0",
								"foundref": "Not found",
								"sourcedate": "2022-08-24"
							},
							{
								"name": "UBKI",
								"found": "0",
								"foundref": "Not found",
								"sourcedate": "2022-08-24"
							}
						],
						"found": "1",
						"foundref": "Found",
						"foundtitle": "Passport АМ-578072 is found in the list of invalid passports",
						"pser": "АМ",
						"pnom": "578072",
						"dtype": "1",
						"dtyperef": "Ukrainian citizen passport"
					}
				},
				"id": "1",
				"descr": "Identification of the Credit History Subject (CHS)"
			},
			{
				"fotoident": {
					"match": "1",
					"matchref": "Yes",
					"verifclient": "2",
					"fotovc": " /9j/4A//2Q==",
					"fotoextvc": "jpg",
					"commentvc": "face found",
					"confidencevc": "0.95986"
				},
				"id": "12",
				"descr": "Identification by photo and phone"
			},
			{
				"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"
			},
			{
				"contact": [
					{
						"cval": "+380662134234",
						"ctype": "3",
						"ctyperef": "mobile phone",
						"cstate": "1",
						"cstateref": "Actualization",
						"vdatestart": "2020-09-03",
						"vdate": "2020-09-08"
					},
					{
						"cval": "+380111111111",
						"ctype": "3",
						"ctyperef": "mobile phone",
						"cstate": "2",
						"cstateref": "Deactualization",
						"vdatestart": "2020-06-12",
						"vdate": "2020-08-30"
					}
				],
				"id": "46",
				"descr": "Сontacts confirmation of the subject of the credit history"
			}
		]
	}
}

...

Response XML

Code Block
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ubkidata>
  <tech>
    <trace>
      <step name="build report" stm="2022-08-24 14:30:59.227" ftm="2022-08-24 14:30:59.593" />
    </trace>
    <reqinfo reqid="req2#000002459044" />
  </tech>
  <comp id="1" descr="Identification of the Credit History Subject (CHS)">
    <cki bdate="1989-10-05" reqlngref="Ukrainian" reqlng="1" mname="ВАСИЛІВНА" fname="ІРІНА" lname="ГАРНА" inn="3278508288">
      <ident cchild="" sstateref="" sstate="" spdref="natural person" spd="1" cgragref="Ukraine" cgrag="804" ceducref="" ceduc="" familyref="" family="" csexref="woman" csex="2" bdate="1985-10-05" mname="ВАСИЛІВНА" fname="ІРІНА" lname="ГАРНА" inn="3278508288" lngref="Украинский" lng="1" vdate="2015-02-25" donor="BNK" />
      <ident cchild="" sstateref="" sstate="" spdref="natural person" spd="1" cgragref="" cgrag="802804" ceducref="" ceduc="" familyref="" family="" csexref="woman" csex="2" bdate="1985-10-05" mname="ВАСИЛІВНА" fname="ІРИНА" lname="ГАРНА" inn="3278508288" lngref="Ukrainian" lng="1" vdate="2006-04-04" donor="BNK" />
      <work wdohod="" wstag="" wname="" wokpo="" cdolgnref="" cdolgn="" lngref="" lng="" vdate="" />
      <doc dwdt="2002-08-01" dwho="ІВАНГОРОДСЬКИМ" dterm="" dnom="578072" dser="АМ" dtyperef="Ukrainian citizen passport" dtype="1" lngref="Ukrainian" lng="1" vdate="2019-09-10" eddr_number="19891005-00022" ddonor="BNK" />
      <addr adflat="" adcorp="" adhome="7" adstreet="ТИХА" adcitytyperef="" adcitytype="" adcity="JВDКВJ" adarea="ІВАНГОРОДСКИЙ" adstate="ДНЕПРОПЕТРОВСКАЯ" adindex="23201" adcountry="UA" adtyperef="Address of registration" adtype="2" lngref="Ukrainian" lng="1" vdate="2018-01-25" addonor="BNK" />
    </cki>
    <identdocmvds>
            <identdocmvd found="1" foundref="Found" foundtitle="Passport АМ-578072 is found in the list of invalid passports" pser="АМ" pnom="578072" dtype="1" dtyperef="Ukrainian citizen passport">
                <foundsource name="MVS" found="1" foundref="Found" sourcedate="2022-08-24"/>
                <foundsource name="DMS" found="0" foundref="Not found" sourcedate="2022-08-24"/>
                <foundsource name="UBKI" found="0" foundref="Not found" sourcedate="2022-08-24"/>
            </identdocmvd>
    </identdocmvds>
  </comp>
  <comp id="12" descr="Identification by photo and phone">
    <fotoident match="1" matchref="Yes" verifclient="2" fotovc=" /9j/4A//2Q==" fotoextvc="jpg" commentvc="face found" confidencevc="0.95986" />
  </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="46" descr="Сontacts confirmation of the subject of the credit history">
    <contact cval="+380662134234" ctype="3" ctyperef="mobile phone" cstate="1" cstateref="Actualization" vdatestart="2020-09-03" vdate="2020-09-08" />
    <contact cval="+380111111111" ctype="3" ctyperef="mobile phone" cstate="2" cstateref="Deactualization" vdatestart="2020-06-12" vdate="2020-08-30" />
  </comp>
</ubkidata>

...