Stateless API Digi
Stateless API Digi
Stateless API Digi
Fuzzy Match 40
Sandbox : https://ext.digio.in:444
Production : https://api.digio.in
1. PAN
2. VOTER_ID
3. AADHAAR
4. PASSPORT
5. DRIVING LICENSE
6. Registration Certificate (RC of vehicle registration)
7. Cheque OCR
POST {BASE_URL}/v3/client/kyc/analyze/file/idcard
Headers:
authorization: “Basic Base64encodedValueOf(client_id:client_secret)”
content-type : “multipart/form-data”
{
"id_type": "PAN",
"id_no": "XXXXXXXXXX821M",
"dob": "dd/mm/yyyy",
"pan_verification_response": {
"is_pan_dob_valid": true,
"name_matched": true
},
"id_card_verification_response": {
"verified": true
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
"dob": "12/01/1960",
"gender": "Female",
"id_type": "AADHAAR",
"address_information": {
"address": "WIO: Shiv Charan Gupta, 6/MB/334, Indira Gandhi Nagar, Jagatpura,
Dantli, Jaipur, Rajasthan - 303012",
"locality_or_post_office": "Dantli",
"district_or_city": "Jaipur",
"state": "Rajasthan",
"pincode": "303012"
"id_no": "xxxxxx8047",
"id_type": "VOTER_ID",
"date_of_issue": "13/02/2009",
"address_information": {
"locality_or_post_office": "",
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
},
"id_card_verification_response": {
"verified": true,
"result": {
"id_no": true,
"name": true
},
"id_data": {
"st_code": "U05",
"ps_lat_long_1_coordinate": 0,
"gender": "M",
"rln_name_v2": "",
"rln_name_v3": "",
"ac_name": "ROHINI",
"name_v2": "",
"name_v3": "",
"ps_lat_long": "0.0,0.0",
"pc_no": "5",
"id": "U050130022050825",
"dist_no": "8",
"ps_no": "22",
"ps_name": "NORTH DMC PRY. SCHOOL NO-2 SEC 18 ROHINI (NEAR DR. LAL PATH
LAB)",
"ps_name_v1": "नॉर्थ डी एम सी प्राइमरी स्कू ल\t नं -2 सेक्टर-18 रोहिणी (निकट डॉक्टर लाल पाथ लैब।) दिल्ली",
"rln_type": "F",
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
"ac_name_v1": "रोहिणी",
"part_no": "22",
"dist_name_v1": "उत्तर",
"ps_lat_long_0_coordinate": 0,
"_version_": 1658268958771380226,
"section_no": "5",
"ac_no": "13",
"slno_inpart": "825",
"age": 24,
"name": "INDIAN",
"fathers_name": "",
"mothers_name": "",
"id_no": "",
"dob": "",
"address": "",
"gender": "",
"id_type": "PASSPORT",
"file_no": "",
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
"country_code": "",
"sur_name": "",
"nationality": "",
"place_of_birth": "",
"place_of_issue": "",
"address_information": {
"pincode": "530045"
"id_no": "BR-0320140060327",
"dob": "02-01-1994",
"id_type": "DRIVING_LICENSE",
"encoded_image": "",
"id_card_verification_response": {
"verified": true,
"result": {},
"id_data": {
"NT": "MCWG",
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
"id_no": "KA06ES4811",
"id_type": "VEHICLE_RC",
"id_card_verification_response": {
"verified": true,
"result": {
"id_no": true
},
"id_data": {
"id_no": "KA06ES4811",
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
POST {BASE_URL}/v3/client/kyc/fetch_id_data/{id_card_type}
1. PAN
2. VOTER_ID
3. DRIVING_LICENSE
4. VEHICLE_RC [Verification NA for now]
Headers:
authorization: “Basic Base64encodedValueOf(client_id:client_secret)”
content-type : “application/json”
Request:
Param Name Param Type Is Mandatory Description
PAN Request:
{
"id_no": "{}"
}
Response:
{
"pan": "{}",
"status": "VALID",
"full_name": "MADHAV SINGH",
"category": "Individual"
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
VOTER_ID Request:
{
"id_no" :"AFQ2053295"
}
Response:
{
"pc_name": "NORTH WEST DELHI ",
"st_code": "U05",
"ps_lat_long_1_coordinate": 0,
"gender": "M",
"rln_name_v2": "",
"rln_name_v1": "सतीश कु मार ",
"rln_name_v3": "",
"name_v1": "अरश ध्रुव बघेल ",
"epic_no": "AFQ2053295 ",
"ac_name": "ROHINI",
"name_v2": "",
"name_v3": "",
"ps_lat_long": "0.0,0.0",
"pc_no": "5",
"last_update": "Tue Feb 11 20:36:31 IST 2020",
"id": "U050130022050825",
"dist_no": "8",
"ps_no": "22",
"ps_name": "NORTH DMC PRY. SCHOOL NO-2 SEC 18 ROHINI (NEAR DR. LAL PATH
LAB)",
"ps_name_v1": "नॉर्थ डी एम सी प्राइमरी स्कू ल\t नं -2 सेक्टर-18 रोहिणी (निकट डॉक्टर लाल पाथ लैब।) दिल्ली",
"st_name": "NCT OF Delhi",
"dist_name": "NORTH ",
"rln_type": "F",
"pc_name_v1": "उत्तर पश्चिमी दिल्ली",
"part_name_v1": "रोहणी सैक्टर 18",
"ac_name_v1": "रोहिणी",
"part_no": "22",
"dist_name_v1": "उत्तर",
"ps_lat_long_0_coordinate": 0,
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
Response:
{
"Date Of Issue": "11-Dec-2015",
"NT": "LMV",
"Old / New DL No.": "NA",
"Holder's Name": "Holder Name",
"Hazardous Valid Till": "NA",
"Non-Transport": "From: 11-Dec-2015",
"Transport": "From: NA",
"Current Status": "ACTIVE",
"Last Transaction At": "RTO, SALEM SOUTH"
}
VEHICLE_RC Request:
{
"id_no" :"Vehicle registration number without space"
}
Response:
{
"Fuel Norms": "NOT AVAILABLE",
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
POST {BASE_URL}/v3/client/kyc/pan/verify
Headers:
authorization: “Basic Base64encodedValueOf(client_id:client_secret)”
content-type : “application/json”
Request:
Request:
{
"pan_no" : "ABCDE1234A",
"full_name" : "Dinesh Rathore",
"date_of_birth" : "1990-07-05"
}
Response:
{
"is_pan_dob_valid": true,
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
POST v3/client/kyc/aadhaar/file/mask
Headers:
authorization: “Basic Base64encodedValueOf(client_id:client_secret)”
content-type : “multipart/form-data”
Request Body
POST v3/client/kyc/aadhaar/mask
Headers:
authorization: “Basic Base64encodedValueOf(client_id:client_secret)”
content-type : “application/json”
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
Response:
If response is required in json format (Base64 encoded image) pass ?resp_json=true as query param. Image is
returned as a “data” attribute inside json.
Please Note: Try to keep the file size as small as possible for faster results and not more than 1 MB as a good
practice.
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
1. FSSAI License
2. Udyog AADHAAR
3. Company information
4. Director Information
5. GST Number
6. PAN
POST {BASE_URL}/v3/client/kyc/fetch_id_data/{type}
Headers:
authorization: “Basic Base64encodedValueOf(client_id:client_secret)”
content-type : “application/json”
Request:
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
{
"Status": "Active",
"Company Name": "RUCHI SOYA INDUSTRIES LIMITED",
"Products": "02 - FATS AND OILS, AND FAT EMULSION, 03 - EDIBLE ICES, INCLUDING SHERBET
AND SORBE, 04 - FRUITS AND VEGETABLES (INCLUDING MUSHROOMS AND FUNGI, ROOTS AND
TUBERS, PULSES AND LEGUMES, AND ALOE VERA), SEAWEEDS, AND NUTS AND SEEDS, 05 –
CONFECTIONERY, 06 - CEREALS AND CEREAL PRODUCTS, DERIVED FROM CEREAL GRAINS, FROM
ROOTS AND TUBERS, PULSES, LEGUMES AND PITH OR SOFT CORE OF PALM TREE, EXCLUDING
BAKERY WARES OF FOOD CATEGORY 7.0, 07 - BAKERY PRODUCTS, 11 - SWEETENERS, INCLUDING
HONEY, 12 - SALTS, SPICES, SOUPS, SAUCES, SALADS AND PROTEIN PRODUCTS, 14 - BEVERAGES,
EXCLUDING DAIRY PRODUCTS, 15 - READY-TO-EAT SAVOURIES",
"Kind of Business": "Storage (Cold / Refrigerated), Storage (Except Controlled Atmosphere and
Cold), Wholesaler",
"Expiry Date": "08/07/2021",
"Premises Address": "Ruchi Soya Industries Limited C/O M/S Surender Logistics Survey No. 78/2/1,
building no.B-6, Gala no.9,10,11, At post Gundavali, Tal. Bhiwandi, Dist Thane: 412302, District -
Thane, STATE - Maharashtra",
"License / Registration No.": "10012022000259"
}
{
"Code of Enterprise": "B",
"UAN": "_____",
"Name of Enterprise": "_____",
"Major Activity": "Manufacturing",
"Social Category": "General",
"Location of Plant Details": [
{
"Flat/Door/Block No.": "_____",
"Name of Premises/Building Village": "_____",
"Road/Street/ Lane": "_____",
"Area/Locality": "_____",
"City": "BENGALURU",
"Pin": "562130",
"State": "KARNATAKA",
"District": "BENGALURU (URBAN)"
}
],
"Enterprise Type": "Small",
"National Industry Classification Code": [
{
"NIC 2 Digit": "27-Manufacture of electrical equipment",
"NIC 4 Digit": "2750-Manufacture of domestic appliances",
"NIC 5 Digit Code": "27509-Manufacture of other domestic appliances n.e.c.",
"Activity Type": "Manufacturing",
"Added On": "06/09/2017"
},
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
{
"CIN ": "_____",
"Company Name": "_____",
"ROC Code": "RoC-Bangalore",
"Registration Number": "_____",
"Company Category": "Company limited by Shares",
"Company SubCategory": "Non-govt company",
"Class of Company": "Private",
"Authorised Capital(Rs)": "_____",
"Paid up Capital(Rs)": "_____",
"Number of Members(Applicable in case of company without Share Capital)": "0",
"Date of Incorporation": "12/04/2016",
"Registered Address": "_____",
"Address other than R/o where all or any books of account and papers are maintained": "-",
"Email Id": "_____",
"Whether Listed or not": "Unlisted",
"ACTIVE compliance": "ACTIVE compliant",
"Suspended at stock exchange": "-",
"Date of last AGM": "30/09/2019",
"Date of Balance Sheet": "31/03/2019",
"Company Status(for efiling)": "Active",
"directors": [
{
"End date": "-",
"Begin date": "12/04/2016",
"DIN/PAN": "_____",
"Surrendered DIN": "",
"Name": "_____"
},
{
"End date": "-",
"Begin date": "12/04/2016",
"DIN/PAN": "_____",
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
{
"DIN": "_____",
"Name": "SANKET NAYAK",
"companies": [
{
"CIN/FCRN": "_____",
"Company Name": "_____",
"Begin Date": "12/04/2016",
"End Date": "-",
"ACTIVE compliance": "ACTIVE compliant"
}
],
"llps": []
}
{
"gstin": "123456789123456",
"corporate_name": "Dummy Corporate Private Limited",
"details": {
"stj_cd": "KA012",
"dty": "Regular",
"lgnm": "Dummy Corporate Private Limited",
"adadr": [
],
"cxdt": "",
"gstin": "123456789123456",
"nba": [
"Supplier of Services"
],
"lstupdt": "15\/02\/2019",
"ctb": "Private Limited Company",
"rgdt": "27\/10\/2017",
"pradr": {
"addr": {
"bnm": "",
"loc": "Koramangala",
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
Failure Response :
{
"gstin": "123456789123456",
"error_message": "Invalid GSTIN \/ UID"
}
7. Corporate Pan
Response:
{
"pan": "{}",
"status": "VALID",
"full_name": "{}",
"category": "{}"
}
POST {BASE_URL}/v3/client/kyc/pan/verify
Headers:
authorization: “Basic Base64encodedValueOf(client_id:client_secret)”
content-type : “application/json”
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
Response:
{
"is_pan_dob_valid": true,
"name_matched": true
}
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
Request:
Param Name Param Type Is Mandatory Description
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
{
"pan_no": "PAN Number",
"dob": "05/07/1990"
}
Sample Response:
{
"result": "FOUND",
"pan_number": "PAN Number",
"name": "Name",
"status": "KRA Verified",
"status_date": "29-04-2017 16:16:45",
"entry_date": "12-04-2017 12:30:16",
"modification_date": "",
"kyc_mode": "Normal KYC",
"deactivate_remarks": "",
"update_remarks": "",
"ipv_flag": "Y",
"pan_details": {
"pan_number": "PAN",
"dob": "05/07/1990",
"gender": "M",
"name": "name",
"father_name": "fathers name",
"correspondence_address1": "",
"correspondence_address2": "",
"correspondence_address3": "JAITARAN",
"correspondence_city": "PALI",
"correspondence_pincode": "306302",
"correspondence_state": "Rajasthan",
"correspondence_country": "India",
"correspondence_address_proof": "Id Type",
"correspondence_address_proof_ref": "Id Number",
"correspondence_address_proof_date": "",
"mobile_number": "",
"email_address": "",
"permanent_address1": "",
"permanent_address2": "",
"permanent_address3": "JAITARAN",
"permanent_city": "PALI",
"permanent_pincode": "306302",
"permanent_state": "Rajasthan",
"permanent_country": "India",
"permanent_address_proof": "Id type",
"permanent_address_proof_ref": "Id Number",
"permanent_address_proof_date": "",
"income": "> 25 LAC",
"occupation": "PRIVATE SECTOR SERVICE",
"political_connection": "NA",
"resident_status": "R",
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
Prerequisites
Corporate to configure Digio Public key and IP addresses to whitelist in their CKYC Admin Portal. Involve Digio POC
to get Keys to be configured.
● 35.154.20.28
● 52.66.66.81
● 52.66.66.156
● 13.126.101.165
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
Request:
Param Name Param Type Is Mandatory Description
fi_code String Yes If not passed it must be pre configured in your Digio
Account. If you have multiple FI Cod registrations pass this
in accordance to usecase
Sample Request:
{
"id_no": "PAN Number",
}
{
"success": true,
"search_response": {
"ckyc_number": "{CKYC Number Here}",
"name": "MR DINESH RATHORE ",
"fathers_name": "Mr TEJA RAM RATHORE",
"age": "30",
"image_type": "jpg",
"photo": "{Base64 Value of Image}",
"kyc_date": "08-04-2017",
"updated_date": "08-04-2017",
"remarks": ""
}
}
{
"success": false,
"error_message": "{Error Message}"
}
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
Request:
Param Name Param Type Is Mandatory Description
Sample Request:
{
"ckyc_no":"{}",
"date_of_birth":"{}"
}
{
"success": true,
"download_response": {
"personal_details": {
"ckyc_number": "",
"type": "INDIVIDUAL/CORP/HUF etc",
"kyc_type": "normal/ekyc/minor",
"prefix": "MR",
"first_name": "DINESH",
"middle_name": "",
"last_name": "RATHORE",
"full_name": "MR DINESH RATHORE",
"maiden_prefix": "",
"maiden_first_name": "",
"maiden_middle_name": "",
"maiden_last_name": "",
"maiden_full_name": "",
"father_spouse_flag": "father/spouse",
"father_prefix": "Mr",
"father_first_name": "TEJA",
"father_middle_name": "",
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
{
"success": false,
"error_message": "{Error Message}"
}
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
POST {BASE_URL}/v3/client/kyc/facematch
Headers:
authorization: “Basic Base64encodedValueOf(client_id:client_secret)”
content-type : “ Multipart/Form-data”
Response
{
"match_result": "matched",
"confidence": "90%",
}
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
POST {BASE_URL}/v3/client/kyc/image/perform_ocr
Headers:
authorization: “Basic Base64encodedValueOf(client_id:client_secret)”
content-type : “Application/json”
Response
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
POST {BASE_URL}/v3/client/public/upi/check_vpa
Headers:
authorization: “Basic Base64encodedValueOf(client_id:client_secret)”
content-type : “application/json”
Request
{
"virtual_address" : "abc@ybl"
}
Response
{
"virtual_address" : "abc@ybl"
"customer_name" : "Customer Name",
"status" : "AVAILABLE/NOT_AVAILABLE/FAILED",
"status_description" : "description"
}
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
POST {BASE_URL}/client/verify/bank_account
Headers:
authorization: “Basic Base64encodedValueOf(client_id:client_secret)”
content-type : “application/json”
Request
{
"beneficiary_account_no" : "123110023204445",
"beneficiary_ifsc": "UTIB0000888"
}
Use Case : Custom, Re 1 + any amount of corporate choice (max upto Rs. 2), credit to
customers bank account
Request
{
"beneficiary_account_no" : "123110023204445",
"beneficiary_ifsc": "UTIB0000888",
"amount": "1.20",
}
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
{
"id": "FTI1901091725336218AA5CB1LMWHM1E",
"verified": true,
"verified_at": "2019-01-09 17:25:39",
"beneficiary_name_with_bank": "DUMMY CUSTOMER NAME"
}
Please note : In a sandbox environment you will get “DUMMY CUSTOMER NAME” always as a hardcoded value.
In production you will get the actual name of the beneficiary associated with the account uptol 20 characters.
Response Failure
{
"id": "R9SGBH61RO3L15Q",
"verified": false,
"error_msg": "Invalid beneficiary account details"
}
Response Failure
{
"id": "FTI1809111232556634TGAOUXJM5LLUY",
"verified": false,
"error_code": "es405",
"error_message": "Some error message"
}
FAILED ns:E405 Invalid Transfer Type The Transaction Retry the transaction Business
Type is not from with a valid
the list specified transferType or with
ANY
FAILED ns:E1002 The transfer currency Transfer Pass 'INR' in transfer Business
is not supported. Currency is other currency and
Supported currency is than 'INR'
INR
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
FAILED ns:E6000 Purpose Code not Purpose Code Check Internally Business
found passed in the
request does not
exist in system
FAILED ns:E8000 A transaction with the UniqueRequestN Retry with a new Technical
same reference o has already UNR
number is already come before for
processed or under a successful
processing transaction
FAILED ns:E6003 Invalid Debit Account When debit Contact Support Business
for Customer account no does
not exist in the
customer set up
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
FAILED npci:EM2 Amount limit exceeded Transaction Retry with Transfer Business
Amount exceeds Type NEFT or ANY
IMPS Maximum
Limit
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
Fuzzy Match
POST {BASE_URL}/v3/client/kyc/fuzzy_match
Headers:
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
"context":"Name",
"source":{
},
"target":{
},
"context":"Address",
"source":{
},
"target":{
},
Success Response :
{
"matched": true,
"match_score": 86.0}
*Please note that {current version} will be reflected in the .aar file which is downloaded. For eg. digio-
kyc-2.1.14
*Digio SDK supports android version 5.0 and above (SDK level 21 above)
Steps to invoke
3- Initialize DigioTaskRequest
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
5- Initialize DigioConfigObject
6- Initialize DigioStateLessSession
/** alternatively you can use below startStateLessSession method for billing reconciliation **/
//digioStateLessSession.startStateLessSession(digioTaskList,"referenceId","uniqueRequestId", this);
//Make sure, uniqueRequestId is unique across all the transactions. Otherwise, you’ll get an error.
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
Permissions
Dependencies
// Default
implementation "androidx.core:core-ktx:1.3.1"
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.3.72'
implementation 'com.google.android.material:material:1.0.0'
// Mandatory
implementation("com.squareup.okhttp3:okhttp:4.5.0")
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
In manifest add :
<activity android:name="in.digio.sdk.kyc.cropper.DigioCropImageActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize" />
<activity android:name="in.digio.sdk.kyc.nativeflow.DigioIDAnalysisActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize" />
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
10019 UIDAI could not be loaded please try after some time.
Event list
Please refer this link to get list of events sent by SDK
Sample code
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
try {
// clientID and clientSecret key required
digioStateLessSession.init(this,config,"clientID","clientSecret");
digioStateLessSession.startStateLessSession(digioTaskList, this);
//alternatively you can use below startSession method for billing reconciliation
/** digioStateLessSession.startStateLessSession(digioTaskList,"referenceId",
"uniqueRequestId",this);
**/
} catch (Exception e) {
e.printStackTrace();
}
Sample Response
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
/** task param will return the request against the task**/
DigioTaskRequest digioTaskRequest = digiTaskResponse.getTask();
/** success param will give you the boolean value true/false **/
boolean value = digiTaskResponse.isSuccess();
}
}
Success Response
[
{
"task":{
"taskType":"OFFLINE_KYC",
"allowedSubTypes":[
],
"faceMatch":false,
"verify":false,
"isBothSide":false
},
"response":{
"personal_information":{
"date_of_birth":"21-08-1881",
"mobile_hash":"5eb9b114e9d8ee18e0df48724a6d6cbbf982aa822bd224924227aeef482014b0",
"email_hash":"5cc8265b2c2081761ad85e3d1c2632eb79ca6c1433a536be5052d42cd7277ccb",
"gender":"M",
"name":"John Sena"
},
"address_information":{
"country":"India",
"district":"bharatpur",
"house":"",
"location":"some colony",
"postal_code":"321203",
"post_office":"deeg",
"street":"",
"state":"rajasthan",
"sub_district":"deeg",
"virtual_town_centre":"city/town name",
"text":"some colony,deeg,deeg,deeg,bharatpur,rajasthan,India,321203"
},
"uidai_reference_id":"89462019060590990944446",
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
"raw_encoded_xml":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvU9Im5vI
j8 + PE9mZmxpbmVQYXBllc3NLeWMgcmVmZXJlbmNlSWQ9IjI1MjkyMDIwMDYAyMjM1OTUxMy.....",
"encoded_zip":"UEsDBBQACQAIAP0SylAAAAAAAAAAAAAAAAAjluZWFhZGhhYXIyMDIwMDYxMDAyMjM1\
nOTUyNi54bWwsAaNDUaS2s.....",
"Share_code":"8679",
"selfie_uri": ""
},
"success":true
},
{
"task":{
"task_type":"ID_ANALYSIS",
"allowedSubTypes":[
"PAN"
],
"faceMatch":false,
"verify":false,
"isBothSide":false
},
"response":{
"analysis_response":{
"name":"John Sena",
"fathers_name":"John Sena",
"id_no":"CQQPGHGH6G",
"dob":"2/1/1994",
"id_type":"PAN",
"encoded_image":"iVBORw0KGgoAAAANSUhEUgAAACYAAAAsCAIAAACGxF2fAAAROklEQVR42mVXB1NbWZoVS
C8\/ PeX0lAUYsLFNE2XAIItgggSIIARIIIQAgRLJgJAIEiJncCCZYBvndrfb.........."
},
"selfie_uri": "",
"id_front_uri": "",
"id_back_uri": ""
},
"success":true
}
]
Failure Response
[{
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
ID Card Analysis:
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made
IOS SDK
iOS SDK for stateless(OKYC) document here
Note: Digio reserves the right to modify this API document from time-to-time. If you are a business using this API, you will be notified well in
advance, prior to any change is made