• Diro-Labs-Github
  • YouTube - White Circle
  • LinkedIn - White Circle
  • Twitter - White Circle
  • Facebook - White Circle

DePaula & Clark, Inc. 28 West 36th Street, Suite 401, New York, NY 10018

Tel: 212-255 5788, Fax: 212-255  5011

Offshore Development Office - D2A, 3rd Floor, Sector 18, Noida, India

Android SDK Documentation 

DiroSDK is a framework that allows the institutions to get KYC of customers via their applications by simply embedding the SDK into their application. The KYC documents given by the user/customer will be cryptographically verified automatically and can be digitally managed by the institutions without the hassle of paper work and collection, hence reducing the cost of collection of documents. 

SDK Integration Process

GETTING THE API KEY

Login/Signup in to the Diro KYC Admin Portal 

​Locate integration tab and copy API key under the Android SDK tab.

ANDROID STUDIO SETUP

To add SDK file as a library, you need to add the library as module in project and add dependencies to build.gradle of your “app” module folder

Collect the following details from your Android application.

A: First Name
B: Last Name
C: Phone Number
D: Country Code (mcc: +91)
E: Alpha 2 Code (India : IN)
F: Date of Birth (yyyy-MM-dd)

Send these details including API key.

Intent openIntent = new Intent(this,KycUserActivtiy.class);

SdkInitParams sdkInitParams = new SdkInitParams(); sdkInitParams.setCountryName(“India”); (Optional) sdkInitParams.setFirstName(“Suresh”);

sdkInitParams.setLastName(”Malhotra”);

sdkInitParams.setMcc(“+91”);

sdkInitParams.setPhoneNumber(“5864886546”)); sdkInitParams.setDateOfBirth(“2018-11-14”);

sdkInitParams.setAlpha2Code(“IN”);

sdkInitParams.setOpenBankProof(true);

                           OR

sdkInitParams.setOpenIdProof(true);

                           OR

sdkInitParams.setOpenAddressProof(true);

                           OR

sdkInitParams.openDirectUrl(category,"https://google.com");

// category:-idProof / addressProof / bankstatement

                           OR

sdkInitParams.setOpenAllProof(true);

sdkInitParams.setApiKey(“”);

sdkInitParams.setHideGoogleButton(true); // Hide google search button

sdkInitParams.setHideCameraButton(true); // Hide camera button openIntent.putExtra(com.diro.dirokyc.KycUtils.SDK_INIT_MODEL,sdkInitParams); startActivityForResult(openIntent,121 //Request Code);

For more detailed documentation and sample code, please login to the KYC Admin Panel on top right corner of this screen.

Use "Demo - Sandbox" as country to open a sandbox account on the web or APP.