curl -X PATCH https://api.razorpay.com/v2/accounts/acc_GP4lfNA0iIMn5B \
-u <ACCESS_TOKEN> \
-H "Content-Type: application/json" \
-d '{
"customer_facing_business_name": "ABCD Ltd"
}'
RazorpayClient razorpay = new RazorpayClient("[ACCESS_TOKEN]");
String accountId = "acc_GP4lfNA0iIMn5B";
JSONObject accountRequest = new JSONObject();
accountRequest.put("customer_facing_business_name","ABCD Ltd");
Account account = instance.account.edit(accountId,accountRequest);
$api = new Api(null, null, "<ACCESS_TOKEN>");
$accountId = "acc_GP4lfNA0iIMn5B";
$api->account->edit($accountId,array(
"customer_facing_business_name" => "ABCD Ltd"
));
const instance = new Razorpay({
oauthToken: "<ACCESS_TOKEN>"
);
const accountId = "acc_GP4lfNA0iIMn5B";
instance.accounts.edit(accountId,{
"customer_facing_business_name": "ABCD Ltd"
});
require "razorpay"
Razorpay.setup('ACCESS_TOKEN')
accountId = "acc_GP4lfNA0iIMn5B";
Razorpay::Account.edit(accountId,{
"customer_facing_business_name": "ABCD Ltd"
})
RazorpayClient client = new RazorpayClient("[ACCESS_TOKEN]");
string accountId = "acc_ua2tBezhcEBvap";
Dictionary<string, object> accountRequest = new Dictionary<string, object>();
accountRequest.Add("customer_facing_business_name", "Example");
Account account = client.Account.Fetch(accountId).Edit(accountRequest);
{
"id": "acc_GP4lfNA0iIMn5B",
"type": "standard",
"status": "created",
"email": "gauri@example.org",
"profile": {
"category": "healthcare",
"subcategory": "clinic",
"addresses": {
"registered": {
"street1": "507, Koramangala 1st block",
"street2": "MG Road-1",
"city": "Bengalore",
"state": "KARNATAKA",
"postal_code": "560034",
"country": "IN"
}
}
},
"notes": [],
"created_at": 1610603081,
"phone": "9000090000",
"reference_id": "randomId",
"business_type": "partnership",
"legal_business_name": "Acme Corp",
"customer_facing_business_name": "ABCD Ltd"
}
Update an Account
Update account with Razorpay Curlec Partners sub-merchant onboarding APIs.
PATCH
/
v2
/
accounts
/
:account_id
curl -X PATCH https://api.razorpay.com/v2/accounts/acc_GP4lfNA0iIMn5B \
-u <ACCESS_TOKEN> \
-H "Content-Type: application/json" \
-d '{
"customer_facing_business_name": "ABCD Ltd"
}'
RazorpayClient razorpay = new RazorpayClient("[ACCESS_TOKEN]");
String accountId = "acc_GP4lfNA0iIMn5B";
JSONObject accountRequest = new JSONObject();
accountRequest.put("customer_facing_business_name","ABCD Ltd");
Account account = instance.account.edit(accountId,accountRequest);
$api = new Api(null, null, "<ACCESS_TOKEN>");
$accountId = "acc_GP4lfNA0iIMn5B";
$api->account->edit($accountId,array(
"customer_facing_business_name" => "ABCD Ltd"
));
const instance = new Razorpay({
oauthToken: "<ACCESS_TOKEN>"
);
const accountId = "acc_GP4lfNA0iIMn5B";
instance.accounts.edit(accountId,{
"customer_facing_business_name": "ABCD Ltd"
});
require "razorpay"
Razorpay.setup('ACCESS_TOKEN')
accountId = "acc_GP4lfNA0iIMn5B";
Razorpay::Account.edit(accountId,{
"customer_facing_business_name": "ABCD Ltd"
})
RazorpayClient client = new RazorpayClient("[ACCESS_TOKEN]");
string accountId = "acc_ua2tBezhcEBvap";
Dictionary<string, object> accountRequest = new Dictionary<string, object>();
accountRequest.Add("customer_facing_business_name", "Example");
Account account = client.Account.Fetch(accountId).Edit(accountRequest);
{
"id": "acc_GP4lfNA0iIMn5B",
"type": "standard",
"status": "created",
"email": "gauri@example.org",
"profile": {
"category": "healthcare",
"subcategory": "clinic",
"addresses": {
"registered": {
"street1": "507, Koramangala 1st block",
"street2": "MG Road-1",
"city": "Bengalore",
"state": "KARNATAKA",
"postal_code": "560034",
"country": "IN"
}
}
},
"notes": [],
"created_at": 1610603081,
"phone": "9000090000",
"reference_id": "randomId",
"business_type": "partnership",
"legal_business_name": "Acme Corp",
"customer_facing_business_name": "ABCD Ltd"
}
Available in🇮🇳 India🇲🇾 Malaysia🇺🇸 United States
Use this endpoint to update the details of a sub-merchant account.
The information you can update using the Update an Account API differs based on the product activation status.
| Activation Status | Update Permitted |
|---|---|
requested | You can update the details for all the fields. |
needs_clarification | The fields you can update depend on the reason_code mentioned in the requirements object in the Request a Product Activation API:
|
under_review | You cannot update any fields. |
activated | You cannot use this API to update any fields as your account is already active. |
Watch Out!Currently, we do not support making concurrent requests to the following Onboarding APIs including their combination on the same
account_id:- Update Account API
- Update Stakeholder API
- Update Product Configuration API
curl -X PATCH https://api.razorpay.com/v2/accounts/acc_GP4lfNA0iIMn5B \
-u <ACCESS_TOKEN> \
-H "Content-Type: application/json" \
-d '{
"customer_facing_business_name": "ABCD Ltd"
}'
RazorpayClient razorpay = new RazorpayClient("[ACCESS_TOKEN]");
String accountId = "acc_GP4lfNA0iIMn5B";
JSONObject accountRequest = new JSONObject();
accountRequest.put("customer_facing_business_name","ABCD Ltd");
Account account = instance.account.edit(accountId,accountRequest);
$api = new Api(null, null, "<ACCESS_TOKEN>");
$accountId = "acc_GP4lfNA0iIMn5B";
$api->account->edit($accountId,array(
"customer_facing_business_name" => "ABCD Ltd"
));
const instance = new Razorpay({
oauthToken: "<ACCESS_TOKEN>"
);
const accountId = "acc_GP4lfNA0iIMn5B";
instance.accounts.edit(accountId,{
"customer_facing_business_name": "ABCD Ltd"
});
require "razorpay"
Razorpay.setup('ACCESS_TOKEN')
accountId = "acc_GP4lfNA0iIMn5B";
Razorpay::Account.edit(accountId,{
"customer_facing_business_name": "ABCD Ltd"
})
RazorpayClient client = new RazorpayClient("[ACCESS_TOKEN]");
string accountId = "acc_ua2tBezhcEBvap";
Dictionary<string, object> accountRequest = new Dictionary<string, object>();
accountRequest.Add("customer_facing_business_name", "Example");
Account account = client.Account.Fetch(accountId).Edit(accountRequest);
{
"id": "acc_GP4lfNA0iIMn5B",
"type": "standard",
"status": "created",
"email": "gauri@example.org",
"profile": {
"category": "healthcare",
"subcategory": "clinic",
"addresses": {
"registered": {
"street1": "507, Koramangala 1st block",
"street2": "MG Road-1",
"city": "Bengalore",
"state": "KARNATAKA",
"postal_code": "560034",
"country": "IN"
}
}
},
"notes": [],
"created_at": 1610603081,
"phone": "9000090000",
"reference_id": "randomId",
"business_type": "partnership",
"legal_business_name": "Acme Corp",
"customer_facing_business_name": "ABCD Ltd"
}
Path Parameters
The unique identifier of a sub-merchant account generated by Razorpay Curlec. For example,
acc_GP4lfNA0iIMn5B.Response Parameters
The unique identifier of a sub-merchant account generated by Razorpay Curlec. The maximum length is 18 characters. For example,
acc_GLGeLkU2JUeyDZ.The status of the account. Possible values:
created: Account status when the merchant account is created.activated: Account status when the merchant KYC is approved.needs_clarification: Account status when the merchant is asked to provide clarifications related to the KYC details submitted.under_review: Account status when the merchant submits all the KYC requirements.suspended: Account status when the merchant account is identified as potentially fraudulent and is suspended.rejected: Account status when the KYC details submitted by the merchant are rejected during manual review.
The sub-merchant’s business phone number. The minimum length is 8 characters and the maximum length is 15.
The name of the sub-merchant’s business. For example,
Acme Corp. The minimum length is 4 characters and the maximum length is 200.The sub-merchant billing label as it appears on the Dashboard. The minimum length is 1 character and the maximum length is 255. This parameter might be required to complete the KYC process. However, it is optional for this API.
Partner’s external account reference id. The minimum length is 1 character and the maximum length is 512.
Details of the sub-merchant’s operational address. This parameter might be required to complete the KYC process. However, it is optional for this API.
The country. The minimum length is 2 and the 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. List of supported Countries.The country. The minimum length is 2 and the 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. List of supported Countries.Valid PAN number details of the sub-merchant’s business.
- This is a 10-digit alphanumeric code. For example,
AVOJB1111K. - The 4th digit should be either of ‘C’, ‘H’, ‘F’, ‘A’, ‘T’, ‘B’, ‘J’, ‘G’, ‘L’.
- The regex for Company PAN is
/^[a-zA-z]{5}\d{4}[a-zA-Z]{1}$/.
This parameter might be required to complete the KYC process. However, it is optional for this API.
Valid GSTIN number details of the sub-merchant.
- This is a 15-digit PAN-based unique identification number.
- The Regex for GSTIN is
/^[0123][0-9][a-z]{5}[0-9]{4}[a-z][0-9][a-z0-9][a-z0-9]$/gi.
CIN is for Private Limited and Public Limited, whereas LLPIN is for LLP business type.
- This is a 21-digit alpha-numeric number.
- The Regex for CIN is
/^([a-z]{3}-\d{4}|[ul]\d{5}[a-z]{2}\d{4}[a-z]{3}\d{6})$/i.
The color code of sub-merchant’s business brand. This is a 6-character hex code (Regex: [a-fA-F0-9]{6}).
The email id of chargeback POC. The maximum length is:
- local part (before @): 64 characters.
- domain part (after @): 68 characters.
The total character length supported is 132.
The URL of chargeback policy. Regex is (protocol://
protocol-both http/https allowed. Only domain name is mandatory.
razorpay.com:port/resource path?querystring#fragementid)protocol-both http/https allowed. Only domain name is mandatory.
The email id of refund POC. The maximum length is:
- local part (before @): 64 characters.
- domain part (after @): 68 characters.
The total character length supported is 132.
The URL of refund policy. Regex is (protocol://
protocol-both http/https allowed.
razorpay.com:port/resource path?querystring#fragementid) protocol-both http/https allowed.
The email id of support POC. The maximum length is:
- local part (before @): 64 characters.
- domain part (after @): 68 characters.
The total character length supported is 132.
The URL of support policy. Regex is (protocol://
protocol-both http/https allowed.
razorpay.com:port/resource path?querystring#fragementid) protocol-both http/https allowed.
The link of the Android app. Regex is (protocol://
protocol-both http/https allowed.
razorpay.com:port/resource path?querystring#fragementid) protocol-both http/https allowed.
The link of the iOS app. Regex is (protocol://
protocol-both http/https allowed.
razorpay.com:port/resource path?querystring#fragementid) protocol-both http/https allowed.
Unix timestamp that indicates when the merchant account was activated. This parameter has
null value till the account is activated.Indicates the payments acceptance status of the merchant account. Possible values:
true: Merchant can start accepting customer payments.false: Merchant cannot accept customer payments.
Last modified on November 17, 2026
Was this page helpful?