API Test keys

API Test keys

Fetch Stakeholder Documents

GET
/v2/accounts/:account_id/stakeholders/:stakeholder_id/documents

Click to copy

Use this endpoint to fetch the files uploaded for a stakeholder. 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_GMh5YcLv9iGMKf/stakeholders/sth_GOUCFN3nE0XlYq/documents \

Success

1
{
2
"individual_proof_of_address": [
3
{
4
"type": "aadhar_front",
5
"document_id": "doc_GOgDZbg848e6bI"
6
},
7
{
8
"type": "aadhar_back",
9
"document_id": "doc_GOVuOa8PCgXlEA"
10
}
11
]
12
}
Path Parameters
account_id

*

string

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

stakeholder_id

*

string

The unique identifier of the stakeholder generated by Razorpay. For example, sth_GOUCFN3nE0XlYq.

Response Parameters
individual_proof_of_address
array

The document submitted as individual proof of address.

Show child parameters (2)

Fetch Stakeholder Documents

GET
/v2/accounts/:account_id/stakeholders/:stakeholder_id/documents

Click to copy

Use this endpoint to fetch the files uploaded for a stakeholder. 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_GMh5YcLv9iGMKf.

stakeholder_id

*

string

The unique identifier of the stakeholder generated by Razorpay. For example, sth_GOUCFN3nE0XlYq.

Response Parameters
individual_proof_of_address
array

The document submitted as individual proof of address.

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_GMh5YcLv9iGMKf/stakeholders/sth_GOUCFN3nE0XlYq/documents \

Success

1
{
2
"individual_proof_of_address": [
3
{
4
"type": "aadhar_front",
5
"document_id": "doc_GOgDZbg848e6bI"
6
},
7
{
8
"type": "aadhar_back",
9
"document_id": "doc_GOVuOa8PCgXlEA"
10
}
11
]
12
}