KRD Rastin
API allows to check information on private persons in KRD database
What kind of data I will get
By using this integration, you can check the correctness of the identity data provided by customer in the identity cards registry which is a public registry having information about all polish identity cards.
In response, you will receive a flag telling you if the data provided in the input are correct and exist in registry.
Input data definition
Mandatory input data:
- firstName
- surnameFirstPart
- pesel
- idCardSeries
- idCardNumber
- productionDate
- expirationDate
Optional input data:
- secondName
- surnameSecondPart
{
"firstName": "Jan",
"secondName": "Maria",
"surnameFirstPart": "Kowalski",
"surnameSecondPart": "Herbut",
"pesel": "07061552938",
"idCardSeries": "YTT",
"idCardNumber": "107024",
"productionDate": "2014-09-24",
"expirationDate": "2024-09-24",
}
Response content:
In the response from KRD Rastin you will get information if provided data is correct (all of the provided data exists in the registry).
{
"krd": {
"idCardVerification": {
"isValid": true
}
},
"rawResponses": {
"krd": {
"idCardVerification": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><ns4:IDCardResponse xmlns=\"http://krd.pl/Faults\" xmlns:ns6=\"http://krd.pl/Chase3.1/Dto\" xmlns:ns5=\"http://krd.pl/Rastin/Fault\" xmlns:ns7=\"http://krd.pl/Chase3.1/Fault\" xmlns:ns2=\"http://krd.pl/Authorization/Response\" xmlns:ns4=\"http://krd.pl/Rastin/Dto\" xmlns:ns3=\"http://krd.pl/Authorization\"><ns4:IsValid>true</ns4:IsValid></ns4:IDCardResponse>"
}
},
}
Updated 9 months ago