API Test Keys

Fetch Account Documents

GET
/v2/accounts/:account_id/documents

Click to copy

Use this endpoint to fetch the documents uploaded for an account. Know about the

for this API.

Is this page helpful?

Curl

change language

change language

1
curl -u <YOUR_KEY_ID>:<YOUR_KEY_SECRET> \
2
- X GET https://api.razorpay.com/v2/accounts/acc_GP4lfNA0iIMn5B/documents \

Success

1
{
2
"business_proof_of_identification": [
3
{
4
"type": "shop_establishment_certificate",
5
"document_id": "doc_GMh9oIJuoCcjdT"
6
}
7
]
8
}
Path Parameters
account_id

*

string

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

Response Parameters
business_proof_of_identification
array

The business proof document. For more details, refer the

.

Show child parameters (2)

Fetch Account Documents

GET
/v2/accounts/:account_id/documents

Click to copy

Use this endpoint to fetch the documents uploaded for an account. Know about the

for this API.

Is this page helpful?

Path Parameters
account_id

*

string

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

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 GET https://api.razorpay.com/v2/accounts/acc_GP4lfNA0iIMn5B/documents \

Success

1
{
2
"business_proof_of_identification": [
3
{
4
"type": "shop_establishment_certificate",
5
"document_id": "doc_GMh9oIJuoCcjdT"
6
}
7
]
8
}