blixard / ekycapiclient

Sample client to query EKYC API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Client Application to test EKYC API.

Introduction

EKYC Client provides an interface to interact with the EKYC API of UIDAI. It creates Auth RAD after getting OTP on the basis of UID/VID on your registered mobile number and makes a request to EKYC API.

Minimum Requirements

  • Java 8
  • Maven 3.6.1

Steps to run

Clone the repo and resolve dependencies. Then, assign appropriate values to constants as follows-
  • In application.properties
    • authReqDigSigFile and authReqPubKeyFile - Change the path of 'PublicAUAforStagingServices.p12' and 'AuthStaging25082025.cer' file according to your local repository folder location.
Run the application

Flow starts from Main.java. The following are needed to be provided in arguments:

  1. UID/VID
  2. Txn code of OTP
  3. OTP

After successful verification, "y" will be printed on console, otherwise, on "n" will be printed. Refer EKYC documentation available on Hackathon portal to find detailed description of request and response structure of Auth API.

Contact

If you have any doubts around it, feel free to post those on UIDAI hackathon forum

About

Sample client to query EKYC API


Languages

Language:Java 100.0%