After the User Journey is completed, you can download the documents, images etc. involved in that journey using the following API.
Getting started with Digio Rest Apis
|
HTTP Basic
Send
Authorization in header containing the word Basic followed by a space and a base64 encoded string of username:password.
|
Download Media API
Download Media
|
*
id
string
|
|||
|
The unique identifier referencing a media file resulting from a KYC action or sub action. (Eg. FIL…. from response of the KYC response API). For Digilocker action, please find execution_request_id (eg RID…) in response would be a zip containing all documents fetched. |
|||
|
doc_type
string
|
|||
|
Only to be passed in case KYC request contains digilocker step. Pass the type of document for which file needs to be downloaded (Possible values: AADHAAR, PAN, DRIVING_LICENSE, VEHICLE_RC, X_MARKSHEET, XII_MARKSHEET, RATION_CARD) |
|||
|
xml
boolean
|
|||
|
Only applicable in case doc_type is 'AADHAAR'. If passed true, AADHAAR XML will be downloaded instead of PDF |
|||
|
base64
boolean
|
|||
|
If 'true', returns the media content as a base64-encoded payload |
|||
curl -X GET "https://api.digio.in/client/kyc/v2/media/{id}" \
-H 'accept: */*'
Successfully downloaded the media
Media File
Schema not found