post http://gamma.cashfree.com/anchors/leads//documents
Use this API to upload the invoice for your customer. You can only upload a single document with this API. If you need to upload multiple documents, use the API again till all the required documents are uploaded.
Click here to view the response codes.
Response Codes
Sub Code | Status | Message | Next Action |
---|---|---|---|
200 | SUCCESS | - | - |
400 | ERROR | required request part 'file' is missing | Upload the necessary files. |
400 | ERROR | Document not eligible for loan request processing at this stage. | Upload a valid document. |
400 | ERROR | document_id is mandatory for document upload | Enter a valid document ID. |
400 | ERROR | valid doc_type is mandatory for document upload | Enter a valid document type. |
400 | ERROR | category parameter missing | Enter a valid category. |
400 | ERROR | category value is invalid | Enter a valid category. |
400 | ERROR | doc_type : value is invalid | Enter a valid document type. |
400 | ERROR | document type not supported for category PERSONAL | Enter and upload a valid document type for the specified category. |
403 | ERROR | Failed to authenticate | Ensure the client ID, secret key, and API version are mentioned in the API. |