...
Info |
---|
The report contains the following components: |
Http Method | POST |
---|---|
Request URL | https://secure.ubki.ua/b2_api_xml/ubki/xml |
Request JSON |
Expand | ||
---|---|---|
| ||
{ "doc": { "ubki": { "req_envelope": { "req_xml": { "request": { "i": { "ident": { "okpo": "РНОКПП (ІПН) фізособи", "lname": "**Прізвище", "fname": "**Ім'я", "mname": "**По батькові", "bdate": "**Дата народження" }, "liveness": { "imgdata0": "First photo from series in base64", "imgdata1": "Second photo from series in base64", "imgdata2": "The third photo from the series in base64", "imgdata3": "The fourth photo from the series in base64", "imgdata4": "Fifth photo from the series in base64" }, "reqlng": "Language of search criteria (Code from ref.23)" }, "version": "1.0", "reqtype": "Template code (Code from ref.49): Photo reality detection service - 3", "reqreason": "The purpose of the request (Code from ref.24)" }, "descr": "Request Object" }, "descr": "Request Envelope" }, "sessid": "Session key (obtained from the authorization API)" } } } |
Response JSON
|
}
}
|
|
|
"inn": "TIN from the request",
"lname": "Last name from request",
"fname": "Name from request",
"mname": "Middle name from request",
"bdate": "Date of birth from request",
"probabilityspoof": "Probability of photo fraud"
},
"id": "47",
"descr": "Liveness detection"
}
}
}
Request XML
( ** parameters are passed optionally)
Expand | ||
---|---|---|
| ||
<?xml version = "1.0" encoding = "utf-8"?> <doc> <ubki sessid="Session key (obtained from the authorization API)"> <req_envelope descr="Request Envelope"> <req_xml descr="Request Object"> <!-- Query parameters --> <request version="1.0" reqtype="Template code (Code from ref.49): Photo reality detection service - 3" reqreason="The purpose of the request (Code from ref.24)"> <!-- Parameters describing search criteria --> <i reqlng="Language of search criteria (Code from ref.23)"> <!-- Subject identification parameters --> <ident okpo="РНОКПП (ІПН) фізособи" lname="**Прізвище" fname="**Ім'я" mname="**По батькові" bdate="**Дата народження" /> <!-- Query parameters for determining reality --> <liveness imgdata0="First photo from series in base64" imgdata1="Second photo from series in base64" imgdata2="The third photo from the series in base64" imgdata3="The fourth photo from the series in base64" imgdata4="Fifth photo from the series in base64" /> </i> </request> </req_xml> </req_envelope> </ubki> </doc> |
Response XML
|
Request XML |
Expand | ||
---|---|---|
| ||
<?xml version = "1.0" encoding = "utf-8"? |
|
|
<tech>
<trace>
<step name
|
|
|
</step>
</trace>
<error errtype="Error code (Code from ref.0)" errtext="Error text (Value from ref.0)">
</error>
<reqinfo reqid="Outbound request ID generated by UBKI">
</reqinfo>
<!-- Block of information on the current state of the prepaid account -->
<billing>
<balance value="Balance amount" date="Date" time="Time" />
</billing>
</tech>
|
Response XML
|
|
<liveness inn="TIN from the request"
lname="Last name from request
|
|
|
|
|
|
|
Example |
---|
Request JSON |
|
Response JSON |
|
Request XML |
|
Response XML |
|
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 |
<comp id="72" descr="Search by full name + inn if more than 1 person is found">
|