Create a Linked Account
POST/v2/accountsClick to copy
Use this endpoint to create a Linked Account.
Is this page helpful?
Request Parameters
email*
stringThe Linked Account's business email address.
phone*
integerThe Linked Account's business phone number. The minimum length is 8 characters and the maximum length is 15.
legal_business_name *
string The name of the Linked Account's business. For example, Acme Corp. The minimum length is 4 characters and the maximum length is 200.
customer_facing_business_name stringThe Linked Account billing label as it appears on the Dashboard. The minimum length is 1 character and the maximum length is 255.
business_type *
stringThe type of business operated by the Linked Account holder. List of possible values are available
.reference_id stringPartner's external account reference id. The minimum length is 1 character and the maximum length is 512.
profile *
objectThe business details of the Linked Account's account.
Show child parameters (4)
contact_info objectOptions available for contact support.
Show child parameters (3)
apps objectThe app details of the account holder's business.
Show child parameters (3)
Response Parameters
idstring The unique identifier of the account generated by Razorpay. The maximum length is 18 characters. For example, acc_GLGeLkU2JUeyDZ.
typestring The account type. Possible value is route.
reference_idstring The internal reference ID. This value can be maximum of 20 characters. For example, 123123.
statusstringThe status of the account. Possible values:
createdsuspended
emailstringThe account holder's email address.
phoneintegerThe account holder's phone number. The minimum length is 8 characters and the maximum length is 15.
legal_business_namestring The name of the account holder's business. For example, Acme Corp. The minimum length is 4 characters and the maximum length is 200.
business_typestringThe type of business operated by the account holder. Possible values:
.profileobjectThe account holder's business details.
Show child parameters (3)
notesobjectContains user-defined fields stored by the partner for reference purposes.
contact_namestringThe name of the contact. The minimum length is 4 and the maximum length is 255 characters.
Errors
The api key/secret provided is invalid
Error Status: 4xx
This error occurs when there is a mismatch between the API credentials passed in the API call and the API credentials generated on the Dashboard.
Solution
The input field is required
Error Status: 400
This error occurs when a mandatory field is empty.
Solution
The requested URL was not found on the server.
Error Status: 400
This error occurs when Marketplace feature is not enabled for merchants using private auth.
Solution
Invalid type: route
Error Status: 400
This error occurs when the value of a parameter is invalid. For example, when the value of the type parameter is other than route.
Solution
Route code Support feature not enabled to add account code.
Error Status: 400
This error occurs when you pass the value for the reference_id parameter, but the route_code_support feature is not enabled for merchants.
Solution
Merchant email already exists for account - BbHKlnuyZkf0xa.
Error Status: 400
This error occurs when you try to create a Linked Account with an existing email address.
Solution
The name may only contain alphabets, digits and spaces
Error Status: 400
This error occurs when the name field has anything other than alphabets, digits and spaces.
Solution
The bank account number must be between 5 and 35 characters
Error Status: 400
This error occurs when you pass an invalid bank account number.
Solution
Account_code -account_code is not allowed for this merchant
Error Status: 400
This error occurs when the account_code feature is not enabled for the merchant.
Solution
Please enter a valid name. Links, emails and HTML tags are not allowed.
Error Status: 400
This error occurs when the Linked Account name contains URLs, HTML tags, emails and so on.
Solution
The code format is invalid.
Error Status: 400
This error occurs when the reference_id format is invalid.
Solution
The code must be at least 3 characters.
Error Status: 400
This error occurs when the reference_id value has less than a minimum of 3 characters.
Solution
Create a Linked Account
POST/v2/accountsClick to copy
Use this endpoint to create a Linked Account.
Is this page helpful?
Request Parameters
email*
stringThe Linked Account's business email address.
phone*
integerThe Linked Account's business phone number. The minimum length is 8 characters and the maximum length is 15.
legal_business_name *
string The name of the Linked Account's business. For example, Acme Corp. The minimum length is 4 characters and the maximum length is 200.
customer_facing_business_name stringThe Linked Account billing label as it appears on the Dashboard. The minimum length is 1 character and the maximum length is 255.
business_type *
stringThe type of business operated by the Linked Account holder. List of possible values are available
.reference_id stringPartner's external account reference id. The minimum length is 1 character and the maximum length is 512.
profile *
objectThe business details of the Linked Account's account.
Show child parameters (4)
contact_info objectOptions available for contact support.
Show child parameters (3)
apps objectThe app details of the account holder's business.
Show child parameters (3)
Response Parameters
idstring The unique identifier of the account generated by Razorpay. The maximum length is 18 characters. For example, acc_GLGeLkU2JUeyDZ.
typestring The account type. Possible value is route.
reference_idstring The internal reference ID. This value can be maximum of 20 characters. For example, 123123.
statusstringThe status of the account. Possible values:
createdsuspended
emailstringThe account holder's email address.
phoneintegerThe account holder's phone number. The minimum length is 8 characters and the maximum length is 15.
legal_business_namestring The name of the account holder's business. For example, Acme Corp. The minimum length is 4 characters and the maximum length is 200.
business_typestringThe type of business operated by the account holder. Possible values:
.profileobjectThe account holder's business details.
Show child parameters (3)
notesobjectContains user-defined fields stored by the partner for reference purposes.
contact_namestringThe name of the contact. The minimum length is 4 and the maximum length is 255 characters.
Errors
The api key/secret provided is invalid
Error Status: 4xx
This error occurs when there is a mismatch between the API credentials passed in the API call and the API credentials generated on the Dashboard.
Solution
The input field is required
Error Status: 400
This error occurs when a mandatory field is empty.
Solution
The requested URL was not found on the server.
Error Status: 400
This error occurs when Marketplace feature is not enabled for merchants using private auth.
Solution
Invalid type: route
Error Status: 400
This error occurs when the value of a parameter is invalid. For example, when the value of the type parameter is other than route.
Solution
Route code Support feature not enabled to add account code.
Error Status: 400
This error occurs when you pass the value for the reference_id parameter, but the route_code_support feature is not enabled for merchants.
Solution
Merchant email already exists for account - BbHKlnuyZkf0xa.
Error Status: 400
This error occurs when you try to create a Linked Account with an existing email address.
Solution
The name may only contain alphabets, digits and spaces
Error Status: 400
This error occurs when the name field has anything other than alphabets, digits and spaces.
Solution
The bank account number must be between 5 and 35 characters
Error Status: 400
This error occurs when you pass an invalid bank account number.
Solution
Account_code -account_code is not allowed for this merchant
Error Status: 400
This error occurs when the account_code feature is not enabled for the merchant.
Solution
Please enter a valid name. Links, emails and HTML tags are not allowed.
Error Status: 400
This error occurs when the Linked Account name contains URLs, HTML tags, emails and so on.
Solution
The code format is invalid.
Error Status: 400
This error occurs when the reference_id format is invalid.
Solution
The code must be at least 3 characters.
Error Status: 400
This error occurs when the reference_id value has less than a minimum of 3 characters.
Solution