Route
Update a Stakeholder Account
Update a stakeholder account using the Razorpay API.
PATCH
Use this endpoint to update a stakeholder account.
Path Parameters
string
The unique identifier of the account generated by Razorpay. For example,
acc_GLGeLkU2JUeyDZ. This id is used to fetch or update a stakeholder.string
The unique of the stakeholder account created. For example,
sth_GOQ4Eftlz62TSL.Request Parameters
string
required
The stakeholder’s name as per the PAN card. The maximum length is 255 characters.
string
required
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.
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.object
The stakeholder’s relationship with the account’s business.
boolean
Determines if stakeholder is a director of the account’s legal entity.
true: Stakeholder is a director.false(default): Stakeholder is not a director.
boolean
Determines if the stakeholder is an executive of the account’s legal entity.
true: Stakeholder is an executive.false(false): Stakeholder is not an executive.
object
The stakeholder’s phone number.
integer
The primary contact number of the stakeholder. The minimum length is 8 characters and the maximum length is 11.
integer
The secondary contact number of the stakeholder. The minimum length is 8 characters and the maximum length is 11.
object
Details of stakeholder’s address.
object
Details of the stakeholder’s residential address.
string
The stakeholder’s street address. The minimum length is 10 characters and maximum length is 255.
string
The city. The minimum length is 2 and maximum length is 32.
string
The state. The minimum length is 2 and maximum length is 32.
string
The postal code. The minimum length is 2 and maximum length is 10.
string
The country. The minimum length is 2 and maximum length is 64. For example, for India, you must write either
IN or india.object
The type of document required to establish the stakeholder’s identity.
string
The PAN number of the stakeholder.
- This is a 10-digit alphanumeric code. For example,
AVOPB1111K. - Regex for Stakeholder PAN:
/^[a-zA-z]{5}\d{4}[a-zA-Z]{1}$/. - Validation for Stakeholder PAN: The 4th digit should be
P.
object
Contains user-defined fields stored for reference purposes. Maximum 15 key-value pairs, 512 characters (maximum) each.
Response Parameters
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.string
Here it is
stakeholder.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.string
The stakeholder’s name as per the PAN card. The maximum length is 255 characters.
string
The stakeholder’s email address. The maximum length is:
- local part (before @): 64 characters.
- domain part (after @): 68 characters.
object
The stakeholder’s relationship with the account’s business.
boolean
Determines if stakeholder is a director of the account’s legal entity.
true: Stakeholder is a director.false(default): Stakeholder is not a director.
boolean
Determines if the stakeholder is an executive of the account’s legal entity.
true: Stakeholder is an executive.false(false): Stakeholder is not an executive.
object
The stakeholder’s phone number.
integer
The primary contact number of the stakeholder. The minimum length is 8 characters and the maximum length is 11.
integer
The secondary contact number of the stakeholder. The minimum length is 8 characters and the maximum length is 11.
object
Details of stakeholder’s address.
string
Details of the stakeholder’s residential address.
string
The stakeholder’s street address. The minimum length is 10 characters and maximum length is 255.
string
The city. The minimum length is 2 and maximum length is 32.
string
The state. The minimum length is 2 and maximum length is 32.
string
The postal code. The minimum length is 2 and maximum length is 10.
string
The country. The minimum length is 2 and maximum length is 64. This can either be a country code in capital letters or the full name of the country in lower case letters. For example, for India, you must write either
IN or india.object
The type of document required to establish the stakeholder’s identity.
string
The PAN of the stakeholder.
- This is a 10-digit alphanumeric code. For example,
AVOPB1111K. - Regex for Stakeholder PAN:
/^[a-zA-z]{5}\d{4}[a-zA-Z]{1}$/ - Validation for Stakeholder PAN: The 4th digit should be ‘P’.
Handy Tip
To complete the KYC process, this API parameter might be required, but it is optional for this API.
To complete the KYC process, this API parameter might be required, but it is optional for this API.
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”.
Errors
Linked account does not exist.
Linked account does not exist.
Code:
400This error occurs when the requester is not the parent of the child account, or the child account does not exist.Solution: Ensure the Linked Account id exists before proceeding with the update API.The id provided does not exist.
The id provided does not exist.
Code:
400This error occurs when the stakeholder does not belong to the account provided.Solution: Ensure you provide a valid id with the existing account.Merchant activation form has been locked for editing by admin.
Merchant activation form has been locked for editing by admin.
Code:
400This error occurs when the submitted extra fields are under the review stage.Solution: You can wait for the review to be successful.