> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay-60c89f9a-mintlify-audit-missing-sections-1778528421.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Document APIs

> Use the Document APIs to upload and fetch documents for the KYC verification process. Check the [product activation status and updates permitted](/partners/aggregators/onboardin...

Use the Document APIs to upload and fetch documents for the KYC verification process. Check the [product activation status and updates permitted](/partners/aggregators/onboarding-api#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.

Fork the Razorpay Postman Public Workspace and try the Document APIs using your [Test API Keys](/partners/aggregators/onboarding-api#api-authentication/).

[](https://www.postman.com/razorpaydev/workspace/razorpay-public-workspace/folder/12492020-91288595-d910-4f84-822d-808de103aeba)

### Related Guides

[Sub-merchant Onboarding APIs](/partners/aggregators/onboarding-api)
[Set Up Webhooks](/partners/aggregators/onboarding-api/webhooks)
[Webhook Payloads](/webhooks/partners)

### Endpoints

* **post** `/v2/accounts/:account_id/documents` - Upload Account Documents:
  Uploads business documents for a sub-merchant's account.

* **post** `/v2/accounts/:account_id/stakeholders/:stakeholder_id/documents` - Upload Stakeholder Documents:
  Uploads signatory documents for a stakeholder.

* **get** `/v2/accounts/:account_id/documents` - Fetch Account Documents:
  Retrieves the documents uploaded for an account.

* **get** `/v2/accounts/:account_id/stakeholders/:stakeholder_id/documents` - Fetch Stakeholder Documents:
  Retrieves the documents uploaded for a stakeholder.
