API Test keys

API Test keys

Upload Account Documents

POST
/v2/accounts/:account_id/documents

Click to copy

Use this endpoint to upload business documents for a sub-merchant's account. Know about the

for this API.


The information you can update using the Upload Account Documents API differs based on the

.

Is this page helpful?

Curl

change language

change language

1
curl -u <YOUR_KEY_ID>:<YOUR_KEY_SECRET> \
2
- X POST https://api.razorpay.com/v2/accounts/acc_Go5TSvGPw0NB8v/documents \
3
-F 'file=@/Users/your_name/Downloads/sample_uploaded.jpeg' // file path
4
-F 'document_type=business_proof_url'

Success

1
{
2
"business_proof_of_identification": [
3
{
4
"type": "business_proof_url",
5
"url": "<https://rzp.io/i/bzDKbNg>"
6
}
7
]
8
}
Path Parameters
account_id

*

string

The unique identifier of a sub-merchant account generated by Razorpay. For example, acc_GP4lfNA0iIMn5B.

Request Parameters
file

*

string

The URL generated once the business proof document is uploaded.

document_type

*

string

The documents valid for the proof type to be shared. Possible values:

  • business_proof_of_identification
    • shop_establishment_certificate
    • gst_certificate
    • msme_certificate
    • business_proof_url (In case of HUF deed, Certificate of Incorporation, Partnership Deed, NGO Certificate, Trust Certificate and Society Certificate)
    • business_pan_url
  • additional_documents:
    • form_12_a_url
    • form_80g_url
    • cancelled_cheque

Response Parameters
business_proof_of_identification
array

The business proof document. For more details, refer the

.

Show child parameters (2)

Upload Account Documents

POST
/v2/accounts/:account_id/documents

Click to copy

Use this endpoint to upload business documents for a sub-merchant's account. Know about the

for this API.


The information you can update using the Upload Account Documents API differs based on the

.

Is this page helpful?

Path Parameters
account_id

*

string

The unique identifier of a sub-merchant account generated by Razorpay. For example, acc_GP4lfNA0iIMn5B.

Request Parameters
file

*

string

The URL generated once the business proof document is uploaded.

document_type

*

string

The documents valid for the proof type to be shared. Possible values:

  • business_proof_of_identification
    • shop_establishment_certificate
    • gst_certificate
    • msme_certificate
    • business_proof_url (In case of HUF deed, Certificate of Incorporation, Partnership Deed, NGO Certificate, Trust Certificate and Society Certificate)
    • business_pan_url
  • additional_documents:
    • form_12_a_url
    • form_80g_url
    • cancelled_cheque

Response Parameters
business_proof_of_identification
array

The business proof document. For more details, refer the

.

Show child parameters (2)

Curl

change language

change language

1
curl -u <YOUR_KEY_ID>:<YOUR_KEY_SECRET> \
2
- X POST https://api.razorpay.com/v2/accounts/acc_Go5TSvGPw0NB8v/documents \
3
-F 'file=@/Users/your_name/Downloads/sample_uploaded.jpeg' // file path
4
-F 'document_type=business_proof_url'

Success

1
{
2
"business_proof_of_identification": [
3
{
4
"type": "business_proof_url",
5
"url": "<https://rzp.io/i/bzDKbNg>"
6
}
7
]
8
}