Answer the question
In order to leave comments, you need to log in
How to verify the user's identity? How to find out TIN by passport data via API?
Good afternoon! For a credit service, it is required to implement an algorithm for checking user data.
He enters his passport data and TIN, the customer asks to receive the TIN according to the passport data and compare it with the entered one for a match. I could not find information about the nalog.ru API, I see the opportunity to find out the TIN only in manual mode.
Thus, there were several questions:
1) Has anyone worked with the nalog.ru API?
2) What other automatic methods of identity verification exist?
3) How to understand that the person who enters the data is sitting at the computer?
Answer the question
In order to leave comments, you need to log in
Well, how fast do you issue a loan that manual verification does not suit you?
API does not exist.
Let me assume that if the site has the ability to receive one data as a result of entering other data, then this is a form that is sent by a POST request, and which, in turn, can be processed using curl. Just use curl to send passport data and TIN, curl makes a request to the form and returns the result. It remains only to steam out and find the necessary data. Like the algorithm is.
1) there is no API, while you can be glad that the captcha is simple, you can even train tesseract
2) check the passive information - the first four digits per region
3) nothing but the passport at the face shown to you in the video
There is no open API, but various developments appear from time to time. Here is an example implementation for 1s. https://infostart.ru/public/792339/
That's why you do not have a service?
- by invalid
- by subdivision code
- TIN by passport data
The most important thing is the availability of API.
https://www.passport-api.ru/
You can find out through the tax service or, for example, through a ready-made shell, on the site https://inn.online/ , in addition, you can use the second service https://know-inn.rf/ - this is in case the first one does not work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question