I am in need to use AADHAR API. Basically, we are developing a mobile app for our health care client and in that, we are doing patient registration. Now here we want to do simple AADHAR authentication using OTP request wherein the patient will enter his/her AADHAR number and in return gets an OTP which is submitted to AADHAR Auth API and once authentication is successful we will fetch eKYC details of a patient and use them in my app.
Research has done so far: I have gone through
AADHAR OTP Request API - https://uidai.gov.in/images/resource/aadhaar_otp_request_api_2_5.pdf
AADHAR Auth API -
https://uidai.gov.in/images/resource/aadhaar_authentication_api_2_5.pdf
Basically I was trying to call both OTP Request and Auth API using postman but that did not work.
While exploring an API it is mentioned that we need to pass <Signature>Digital signature of AUA</Signature>
as a part of the request body, both in Auth and OTP request API as given in above links. Then we contacted https://www.emudhradigital.com/ and obtained a test certificate in .pfx file format.
Now I am stuck on how do I use this test certificate to call those APIs. Also, there is no clear documentation given on UIDAI website or anywhere like how to use and integrate them. I used postman while doing research but that does not work.
Any hints or help will be appreciated.
Thanks, Mahendra