34 - Identification by phone number and date of birth


A service of identification of a credit history subject, by phone number and date of birth for self-service terminals.


Http Method

POST

Request JSON/Checking if the combination of the phone and date of birth is correct
( ** parameters are passed optionally)

{

"doc": {

"ubki": {

"req_envelope": {

"req_xml": {

"request": {

"i": {

"phoneverif": {

"phone": "Mobile phone",

"bdate": "Date of birth",

"**channelotp": "sms"

},

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

},

"version": "1.0",

"reqtype": "Template code (code from ref.49): 'Identification by phone number and date of birth' report – 34",

"reqreason": "Request objective (code from ref.24)"

},

"descr": "Request object"

},

"descr": "Request envelope"

},

"sessid": "Session key (obtained from the authorization API)"

}

}

}

Response JSON

{

"ubkidata": {

"tech": {

"trace": {

"step": {

"name": "Step name",

"stm": "Step start stamp date",

"ftm": "Step finish stamp date"

}

},

"error": {

"errtype": "Error code (code from ref.0)",

"errtext": "Error text (value from ref.0)"

},

"reqinfo": {

"reqid": "Outgoing request ID generated by UBKI"

},

"billing": {

"balance": {

"value": "Total assets",

"date": "Date",

"time": "Time"

},

"billdetails": {

"freemon": "Sign of free of charge according to the request type "Monitoring the client of the organization" (reqreason=1), code (0 - No, 1 - Yes)",

"freemonref": "Sign of free of charge according to the request type "Monitoring the client of the organization" (reqreason=1), value (0 - No, 1 - Yes)"

}

}

},

"comp": {

"phoneverif": {

"phone": "Mobile phone",

"bdate": "Date of birth",

"mathch": "Phones verification result (code from ref.56)",

"matchref": "Phones verification result in text format (ref.56)"

},

"id": "45",

"descr": ""

}

}

}

Request XML/Checking if the combination of the phone and date of birth is correct
( ** parameters are passed optionally)

<?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">

<!-- Request parameters -->

<request version="1.0" reqtype="Template code (code from ref.49): 'Identification by phone number and date of birth' report – 34" reqreason="Request objective (code from ref.24)">

<!-- Parameters describing search criteria-->

<i reqlng="Search criteria language (code from ref.23)">

<!-- Subject identification parameters-->

<phoneverif phone="Mobile phone"

bdate="Date of birth"

**channelotp="sms" />

</i>

</request>

</req_xml>

</req_envelope>

</ubki>

</doc>

Response XML

<?xml version="1.0" encoding="utf-8"?>

<ubkidata>

<!-- System information part -->

<tech>

<trace>

<step name="Step name" stm="Step start stamp date" ftm="Step finish stamp date">

<!-- The trace part contains timing metrics of components generation steps -->

</step>

</trace>

<error errtype="Error code (code from ref.0)" errtext="Error text (value from ref.0)">

</error>

<reqinfo reqid="Outgoing request ID generated by UBKI">

</reqinfo>

<!-- Information about the current status of the prepaid account part-->

<billing>

<balance value="Total assets" date="Date" time="Time" />

<billdetails freemon="Sign of free of charge according to the request type "Monitoring the client of the organization" (reqreason=1), code (0 - No, 1 - Yes)"

freemonref="Sign of free of charge according to the request type "Monitoring the client of the organization" (reqreason=1), value (0 - No, 1 - Yes)"/>

</billing>

</tech>

<!-- Phone and Date of Birth Verification part -->

<comp id="45" descr="">

<phoneverif phone="Mobile phone"

bdate="Date of birth"

mathch="Phones verification result (code from ref.56)"

matchref="Phones verification result in text format (ref.56)" />

</comp>

</ubkidata>

Request JSON/Obtaining client details upon OTP verification
( ** parameters are passed optionally)

{

"doc": {

"ubki": {

"req_envelope": {

"req_xml": {

"request": {

"i": {

"phoneverif": {

"phone": "Mobile phone",

"bdate": "Date of birth",

"reqid": "Outgoing request ID generated by UBKI",

"**otp": "SMS code"

},

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

},

"version": "1.0",

"reqtype": "Template code (code from ref.49): 'Identification of a credit history subject by phone number and date of birth' report – 34",

"reqreason": "Request objective (code from ref.24)"

},

"descr": "Request object"

},

"descr": "Request envelope"

},

"sessid": "Session key (obtained from the authorization API)"

}

}

}

Response JSON

Request XML/Obtaining client details upon OTP verification
( ** parameters are passed optionally)

Response XML

Example (Checking the correct pairing of phone and date of birth)

Example (Checking the correct pairing of phone and date of birth)

Request JSON

{ "doc": { "ubki": { "req_envelope": { "req_xml": { "request": { "i": { "phoneverif": { "phone": "+380662134234", "bdate": "1957-10-19", "channelotp": "sms" }, "reqlng": "4" }, "version": "1.0", "reqtype": "34", "reqreason": "2" } } }, "sessid": "EDF4309796114D6D9B8365370DA2DEE9" } } }

Response JSON

{ "ubkidata": { "tech": { "trace": { "step": { "name": "build report", "stm": "2022-11-29 10:41:21.379", "ftm": "2022-08-29 10:41:21.689" } }, "reqinfo": { "reqid": "req2#000002461390" } }, "comp": { "phoneverif": { "phone": "+380662134234", "bdate": "1957-10-19", "mathch": "1", "matchref": "Yes" }, "id": "45", "descr": "Phone and date verification block" } } }

Request XML

<?xml version="1.0" encoding="UTF-8"?> <doc> <ubki sessid="EDF4309796114D6D9B8365370DA2DEE9"> <req_envelope> <req_xml> <request version="1.0" reqtype="34" reqreason="2"> <i reqlng="4"> <phoneverif phone="+380662134234" bdate="1957-10-19" channelotp="sms" /> </i> </request> </req_xml> </req_envelope> </ubki> </doc>

Response XML

Example (Receiving client data after OTP verification)

Example (Receiving client data after OTP verification)

Request JSON

Response JSON

Request XML

Response XML

Test URL

Test data

  • phone="+380962134234" bdate="1989-10-05" otp = "1234"

  • phone="+380662134234" bdate="1957-10-19" otp = "1234"

  • phone="+380981224895" bdate="1985-03-20" otp = "1234"

  • phone="+380732144444" bdate="1991-04-06" otp = "1234"

  • phone="+380971321122" bdate="1988-07-10" otp = "1234"

  • phone="+380506630641" bdate="1981-05-20" otp = "1234"

  • phone="+380935171868" bdate="1974-08-20" otp = "1234"

  • phone="+380981220000" bdate="1991-03-30" otp = "1234"