> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Document APIs

> Use the Document APIs to upload files and complete the mandatory KYC requirements.

Available in
🇮🇳 India
🇲🇾 Malaysia

Use the Document APIs to upload and fetch documents for the KYC verification process. Check the product activation status and updates permitted for Document APIs.

The maximum supported file size for a JPG/PNG is 4MB. The maximum supported file size for a PDF is 2MB. Do not pass file URLs instead of uploading documents. If you have uploaded the document but mandatory field-level parameters are not passed in the API, you need to re-execute the Documents API with the same document and pass the fields.

> [card] [Upload Account Documents](https://razorpay.com/docs/my/api/partners/upload-document/upload-account-documents.md)
>
> `POST` `/v2/accounts/:account_id/documents`
>
> Uploads business documents for a sub-merchant's account.

> [card] [Upload Stakeholder Documents](https://razorpay.com/docs/my/api/partners/upload-document/upload-stakeholder-documents.md)
>
> `POST` `/v2/accounts/:account_id/stakeholders/:stakeholder_id/documents`
>
> Uploads signatory documents for a stakeholder.

> [card] [Fetch Account Documents](https://razorpay.com/docs/my/api/partners/upload-document/fetch-account-documents.md)
>
> `GET` `/v2/accounts/:account_id/documents`
>
> Retrieves the documents uploaded for an account.

> [card] Fetch Stakeholder Documents
>
> `GET` `/v2/accounts/:account_id/stakeholders/:stakeholder_id/documents`
>
> Retrieves the documents uploaded for a stakeholder.

## Related Guides

* Sub-merchant Onboarding APIs
* Set Up Webhooks
* Webhook Payloads
