API Test Keys

Fetch a Stakeholder With ID

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

Click to copy

Use this endpoint to retrieve the details of 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_GLGeLkU2JUeyDZ/stakeholders/sth_GOQ4Eftlz62TSL \

Success

1
{
2
"entity": "stakeholder",
3
"relationship": {
4
"director": true
5
},
6
"phone": {
7
"primary": "9000090000",
8
"secondary": "9000090000"
9
},
10
"notes": {
11
"random_key_by_partner": "random_value2"
12
},
13
"kyc": {
14
"pan": "AVOPB1111J"
15
},
16
"id": "sth_GOQ4Eftlz62TSL",
17
"name": "Gauri Kumar",
18
"email": "gauri@example.com",
19
"percentage_ownership": 20,
20
"addresses": {
21
"residential": {
22
"street": "507, Koramangala 1st block",
23
"city": "Bangalore",
24
"state": "Karnataka",
25
"postal_code": "560035",
26
"country": "in"
27
}
28
}
29
}
Path Parameters
account_id

*

string

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

id
string

The unique identifier of the stakeholder whose details are to be fetched. For example, sth_GOQ4Eftlz62TSL.

Response Parameters
id
string

The unique identifier of a stakeholder generated by Razorpay, used to fetch or update a stakeholder. For example, sth_GLGgm8fFCKc92m. Maximum length supported is 18 characters.

percentage_ownership
float

The stakeholder's ownership of the business in percentage. Only two decimal places are allowed. For example, 87.55. The maximum length is 100 characters.

name
string

The stakeholder's name as per the PAN card. The maximum length is 255 characters.

email
string

The stakeholder's email address. The maximum length is:

  • local part (before @): 64 characters.
  • domain part (after @): 68 characters.
    The total character length supported is 132.

relationship
object

The stakeholder's relationship with the account’s business. The default value is false.

  • director: This attribute is set to true if the stakeholder is a director of the account's legal entity. By default, it is set to false.
  • executive: This attribute is set to true if the stakeholder is an executive of the account's legal entity. By default, it is set to false.

phone
object

The stakeholder's phone number.

Show child parameters (2)

addresses
object

Details of stakeholder's address.

Show child parameters (1)

kyc
object

The type of document required to establish the stakeholder's identity.

Show child parameters (1)

notes
object

Contains user-defined fields stored by the partner for reference purposes. It can hold a maximum of 15 key-value pairs, 512 characters (maximum) each. For example, "note_key": "Beam me up Scotty”.

Fetch a Stakeholder With ID

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

Click to copy

Use this endpoint to retrieve the details of 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_GLGeLkU2JUeyDZ.

id
string

The unique identifier of the stakeholder whose details are to be fetched. For example, sth_GOQ4Eftlz62TSL.

Response Parameters
id
string

The unique identifier of a stakeholder generated by Razorpay, used to fetch or update a stakeholder. For example, sth_GLGgm8fFCKc92m. Maximum length supported is 18 characters.

percentage_ownership
float

The stakeholder's ownership of the business in percentage. Only two decimal places are allowed. For example, 87.55. The maximum length is 100 characters.

name
string

The stakeholder's name as per the PAN card. The maximum length is 255 characters.

email
string

The stakeholder's email address. The maximum length is:

  • local part (before @): 64 characters.
  • domain part (after @): 68 characters.
    The total character length supported is 132.

relationship
object

The stakeholder's relationship with the account’s business. The default value is false.

  • director: This attribute is set to true if the stakeholder is a director of the account's legal entity. By default, it is set to false.
  • executive: This attribute is set to true if the stakeholder is an executive of the account's legal entity. By default, it is set to false.

phone
object

The stakeholder's phone number.

Show child parameters (2)

addresses
object

Details of stakeholder's address.

Show child parameters (1)

kyc
object

The type of document required to establish the stakeholder's identity.

Show child parameters (1)

notes
object

Contains user-defined fields stored by the partner for reference purposes. It can hold a maximum of 15 key-value pairs, 512 characters (maximum) each. For example, "note_key": "Beam me up Scotty”.

Curl

change language

change language

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

Success

1
{
2
"entity": "stakeholder",
3
"relationship": {
4
"director": true
5
},
6
"phone": {
7
"primary": "9000090000",
8
"secondary": "9000090000"
9
},
10
"notes": {
11
"random_key_by_partner": "random_value2"
12
},
13
"kyc": {
14
"pan": "AVOPB1111J"
15
},
16
"id": "sth_GOQ4Eftlz62TSL",
17
"name": "Gauri Kumar",
18
"email": "gauri@example.com",
19
"percentage_ownership": 20,
20
"addresses": {
21
"residential": {
22
"street": "507, Koramangala 1st block",
23
"city": "Bangalore",
24
"state": "Karnataka",
25
"postal_code": "560035",
26
"country": "in"
27
}
28
}
29
}