curl -X GET https://api.razorpay.com/v2/accounts/acc_GMh5YcLv9iGMKf/stakeholders/sth_GOUCFN3nE0XlYq/documents \
-u <ACCESS_TOKEN> \
RazorpayClient razorpay = new RazorpayClient("[ACCESS_TOKEN]");
String accoundId = "acc_LryDIBIjBDbOWy";
String stakeholderId = "sth_M0zjeiVOLRJRPW";
Stakeholder stakeholder = instance.stakeholder.fetchStakeholderDoc(accoundId, stakeholderId);
$api = new Api(null, null, "<ACCESS_TOKEN>");
$accountId = "acc_00000000000001";
$stakeholderId = "sth_00000000000001";
$stakeholders = $api->account->fetch($accountId)->stakeholders();
$stakeholders->fetchStakeholderDoc($stakeholderId);
const instance = new Razorpay({
oauthToken: "<ACCESS_TOKEN>",
const accountId = "acc_GP4lfNA0iIMn5B";
const stakeholderId = "sth_GOQ4Eftlz62TSL";
instance.stakeholders.fetchStakeholderDoc(accountId, stakeholderId);
require "razorpay"
Razorpay.setup('ACCESS_TOKEN')
account_id = "acc_0000000000001"
stakeholder_id = "sth_00000000000001"
Razorpay::Stakeholder.fetch_stakeholder_doc(account_id, stakeholder_id)
{
"individual_proof_of_address": [
{
"type": "aadhar_front",
"document_id": "doc_GOgDZbg848e6bI"
},
{
"type": "aadhar_back",
"document_id": "doc_GOVuOa8PCgXlEA"
}
]
}
Documents
Fetch Stakeholder Documents
Fetch the documents uploaded for a Stakeholder using Razorpay APIs.
GET
/
v2
/
accounts
/
:account_id
/
stakeholders
/
:stakeholder_id
/
documents
curl -X GET https://api.razorpay.com/v2/accounts/acc_GMh5YcLv9iGMKf/stakeholders/sth_GOUCFN3nE0XlYq/documents \
-u <ACCESS_TOKEN> \
RazorpayClient razorpay = new RazorpayClient("[ACCESS_TOKEN]");
String accoundId = "acc_LryDIBIjBDbOWy";
String stakeholderId = "sth_M0zjeiVOLRJRPW";
Stakeholder stakeholder = instance.stakeholder.fetchStakeholderDoc(accoundId, stakeholderId);
$api = new Api(null, null, "<ACCESS_TOKEN>");
$accountId = "acc_00000000000001";
$stakeholderId = "sth_00000000000001";
$stakeholders = $api->account->fetch($accountId)->stakeholders();
$stakeholders->fetchStakeholderDoc($stakeholderId);
const instance = new Razorpay({
oauthToken: "<ACCESS_TOKEN>",
const accountId = "acc_GP4lfNA0iIMn5B";
const stakeholderId = "sth_GOQ4Eftlz62TSL";
instance.stakeholders.fetchStakeholderDoc(accountId, stakeholderId);
require "razorpay"
Razorpay.setup('ACCESS_TOKEN')
account_id = "acc_0000000000001"
stakeholder_id = "sth_00000000000001"
Razorpay::Stakeholder.fetch_stakeholder_doc(account_id, stakeholder_id)
{
"individual_proof_of_address": [
{
"type": "aadhar_front",
"document_id": "doc_GOgDZbg848e6bI"
},
{
"type": "aadhar_back",
"document_id": "doc_GOVuOa8PCgXlEA"
}
]
}
Available in🇮🇳 India🇺🇸 United States
Use this endpoint to fetch the files uploaded for a stakeholder. Know about the various error responses for this API.
curl -X GET https://api.razorpay.com/v2/accounts/acc_GMh5YcLv9iGMKf/stakeholders/sth_GOUCFN3nE0XlYq/documents \
-u <ACCESS_TOKEN> \
RazorpayClient razorpay = new RazorpayClient("[ACCESS_TOKEN]");
String accoundId = "acc_LryDIBIjBDbOWy";
String stakeholderId = "sth_M0zjeiVOLRJRPW";
Stakeholder stakeholder = instance.stakeholder.fetchStakeholderDoc(accoundId, stakeholderId);
$api = new Api(null, null, "<ACCESS_TOKEN>");
$accountId = "acc_00000000000001";
$stakeholderId = "sth_00000000000001";
$stakeholders = $api->account->fetch($accountId)->stakeholders();
$stakeholders->fetchStakeholderDoc($stakeholderId);
const instance = new Razorpay({
oauthToken: "<ACCESS_TOKEN>",
const accountId = "acc_GP4lfNA0iIMn5B";
const stakeholderId = "sth_GOQ4Eftlz62TSL";
instance.stakeholders.fetchStakeholderDoc(accountId, stakeholderId);
require "razorpay"
Razorpay.setup('ACCESS_TOKEN')
account_id = "acc_0000000000001"
stakeholder_id = "sth_00000000000001"
Razorpay::Stakeholder.fetch_stakeholder_doc(account_id, stakeholder_id)
{
"individual_proof_of_address": [
{
"type": "aadhar_front",
"document_id": "doc_GOgDZbg848e6bI"
},
{
"type": "aadhar_back",
"document_id": "doc_GOVuOa8PCgXlEA"
}
]
}
Path Parameters
string
required
The unique identifier of a sub-merchant account generated by Razorpay. For example,
acc_GMh5YcLv9iGMKf.string
required
The unique identifier of the stakeholder generated by Razorpay. For example,
sth_GOUCFN3nE0XlYq.Response Parameters
array
The document submitted as individual proof of address.
string
The type of document. Possible values:
voter_id_backvoter_id_frontaadhar_frontaadhar_backpassport_frontpassport_back
string
The id generated once the business proof document is uploaded.
Was this page helpful?