post https://demo.onefin.in/api/v1/client/line/{lead_id}/upload-document/
Once the lead is created, use this API to upload documents.
The content-type should be multipart/form-data.
One document should be uploaded at a time. Use the lead id received in the loan booking API to construct the URL for upload document API.
The required documents must be passed here, then the disburse API can be called.
POST /api/v1/client/line/<lead_id>/upload-document/
Content Type
Note: The content type should be multipart/form-data.
File Size Check
Please note that the API checks for file sizes for certain extensions:
'.pdf', '.jpg', '.jpeg', '.png', '.xlsx', '.xls'
. For these extensions minimum file size must be 1 kb. This is done to avoid any corrupt file uploads.