Upload Documents

Use this API to upload document for order from your backend. Pass the order id as path variable with the documents as form data files. Files are recommended to be PDF. Maximum size allowed for file is 25MB per request. Allowed file types are PDF, JPEG, JPG and PNG.

📘

Sandbox and Production End Point

Sandbox End Point - https://sandbox.cashfree.com/pg/lrs/orders/{order_id}/documents/upload
Make sure you generate credentials in the test dashboard.

Production End Point - https://api.cashfree.com/pg/lrs/orders/{order_id}/documents/upload

Prefix of Allowed Documents
KYC_PASSPORT_STUDENT_1
KYC_PASSPORT_STUDENT_2
UNIVERSITY_APPLICATION_OR_ADMISSION_LETTER
KYC_ADDRESS_PROOF_RELATIVE_1
KYC_ADDRESS_PROOF_RELATIVE_2
EDUCATION_LOAN_SANCTION_LETTER
KYC_AADHAAR_STUDENT_1
KYC_AADHAAR_STUDENT_2
KYC_PAN_STUDENT
KYC_PAN_RELATIVE
I20
RENT_AGREEMENT

You can get the prefix of the missing document in the create order response.

Language
Click Try It! to start a request and see the response here!