Create a Linked Account
Create a Linked Account using the Razorpay API.
- The per-transaction limit for VPA settlements is ₹1,00,000 (set by NPCI). Transfers above this amount are rejected. Use bank account settlement for larger amounts.
- A Linked Account can be configured with either a VPA or a bank account, not both. To support both settlement methods for the same beneficiary, create two separate Linked Accounts.
- VPA Linked Accounts must be created individually. Batch upload does not support VPA as an account type.
Request Parameters
Acme Corp. The minimum length is 4 characters and the maximum length is 200.| State Name | State Code |
|---|---|
| ANDAMAN & NICOBAR ISLANDS | AN |
| ANDAMAN AND NICOBAR ISLANDS | AN |
| ANDHRA PRADESH | AP |
| ARUNACHAL PRADESH | AR |
| ASSAM | AS |
| BIHAR | BI |
| CHANDIGARH | CH |
| CHHATTISGARH | CT |
| DADRA & NAGAR HAVELI | DN |
| DADRA AND NAGAR HAVELI | DN |
| DAMAN & DIU | DD |
| DAMAN AND DIU | DD |
| DELHI | DL |
| GOA | GO |
| GUJARAT | GJ |
| HARYANA | HA |
| HIMACHAL PRADESH | HP |
| JAMMU & KASHMIR | JK |
| JAMMU AND KASHMIR | JK |
| JHARKHAND | JH |
| KARNATAKA | KA |
| KERALA | KE |
| LAKSHADWEEP | LD |
| MADHYA PRADESH | MP |
| MAHARASHTRA | MH |
| MANIPUR | MA |
| MEGHALAYA | ME |
| MIZORAM | MI |
| NAGALAND | NA |
| ODISHA | OR |
| PONDICHERRY | PO |
| PUNJAB | PB |
| RAJASTHAN | RJ |
| SIKKIM | SK |
| TAMIL NADU | TN |
| TRIPURA | TR |
| TELANGANA | TG |
| UTTAR PRADESH | UP |
| UTTARAKHAND | UT |
| WEST BENGAL | WB |
IN or india.| State Name | State Code |
|---|---|
| ANDAMAN & NICOBAR ISLANDS | AN |
| ANDAMAN AND NICOBAR ISLANDS | AN |
| ANDHRA PRADESH | AP |
| ARUNACHAL PRADESH | AR |
| ASSAM | AS |
| BIHAR | BI |
| CHANDIGARH | CH |
| CHHATTISGARH | CT |
| DADRA & NAGAR HAVELI | DN |
| DADRA AND NAGAR HAVELI | DN |
| DAMAN & DIU | DD |
| DAMAN AND DIU | DD |
| DELHI | DL |
| GOA | GO |
| GUJARAT | GJ |
| HARYANA | HA |
| HIMACHAL PRADESH | HP |
| JAMMU & KASHMIR | JK |
| JAMMU AND KASHMIR | JK |
| JHARKHAND | JH |
| KARNATAKA | KA |
| KERALA | KE |
| LAKSHADWEEP | LD |
| MADHYA PRADESH | MP |
| MAHARASHTRA | MH |
| MANIPUR | MA |
| MEGHALAYA | ME |
| MIZORAM | MI |
| NAGALAND | NA |
| ODISHA | OR |
| PONDICHERRY | PO |
| PUNJAB | PB |
| RAJASTHAN | RJ |
| SIKKIM | SK |
| TAMIL NADU | TN |
| TRIPURA | TR |
| TELANGANA | TG |
| UTTAR PRADESH | UP |
| UTTARAKHAND | UT |
| WEST BENGAL | WB |
IN or india.- 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 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.
- local part (before @): 64 characters.
- domain part (after @): 68 characters.
The total character length supported is 132.
razorpay.com:port/resource path?querystring#fragementid)protocol-both http/https allowed. Only domain name is mandatory.
- local part (before @): 64 characters.
- domain part (after @): 68 characters.
The total character length supported is 132.
razorpay.com:port/resource path?querystring#fragementid) protocol-both http/https allowed.
- local part (before @): 64 characters.
- domain part (after @): 68 characters.
The total character length supported is 132.
razorpay.com:port/resource path?querystring#fragementid) protocol-both http/https allowed.
razorpay.com:port/resource path?querystring#fragementid) protocol-both http/https allowed.
razorpay.com:port/resource path?querystring#fragementid) protocol-both http/https allowed.
vpa to configure a UPI id as the settlement destination.username@bankname. For example, gaurav.kumar@paytm or 9000090000@ybl. The maximum length is 100 characters.instant for transaction-level instant settlement to the VPA. Instant settlement is the only supported mode for VPA-based Linked Accounts.imps for VPA settlements.Response Parameters
acc_GLGeLkU2JUeyDZ.route.123123.createdsuspended
Acme Corp. The minimum length is 4 characters and the maximum length is 200.healthcare. Possible values: Business Category.clinic. Possible values: Business Sub-Category.IN or india.- 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 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.
vpa.gaurav.kumar@paytm.GAURAV KUMAR. Use this value to perform name matching against your beneficiary records before completing onboarding.instant.imps.Errors
The api key/secret provided is invalid
The api key/secret provided is invalid
4xxThis 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: Make sure the API Keys are active and entered correctly. Also, there should not be any whitespaces before or after the keys.The input field is required
The input field is required
400This error occurs when a mandatory field is empty.Solution: Make sure to fill in all the mandatory fields.The requested URL was not found on the server.
The requested URL was not found on the server.
400This error occurs when Marketplace feature is not enabled for merchants using private auth.Solution: Ensure to enable Marketplace feature for merchants using private auth.Invalid type: route
Invalid type: route
400This error occurs when the value of a parameter is invalid. For example, when the value of the type parameter is other than route.Solution: Ensure to send correct values for parameters.Route code Support feature not enabled to add account code.
Route code Support feature not enabled to add account code.
400This error occurs when you pass the value for the reference_id parameter, but the route_code_support feature is not enabled for merchants.Solution: Ensure to enable the route_code_support feature for merchants before passing the value for the reference_id parameter.Merchant email already exists for account - BbHKlnuyZkf0xa.
Merchant email already exists for account - BbHKlnuyZkf0xa.
400This error occurs when you try to create a Linked Account with an existing email address.Solution: Make sure the email address is unique while creating a Linked Account.Invalid IFSC Code
Invalid IFSC Code
400This error occurs when you pass an invalid IFSC code.Solution: Make sure you pass a valid IFSC code.The name may only contain alphabets, digits and spaces
The name may only contain alphabets, digits and spaces
400This error occurs when the name field has anything other than alphabets, digits and spaces.Solution: Make sure you enter a valid name without special characters.The bank account number must be between 5 and 35 characters
The bank account number must be between 5 and 35 characters
400This error occurs when you pass an invalid bank account number.Solution: Make sure to pass a valid account number.Account_code -account_code is not allowed for this merchant
Account_code -account_code is not allowed for this merchant
400This error occurs when the account_code feature is not enabled for the merchant.Solution: Make sure to enable the correct feature for the merchant - route_code_support.Please enter a valid name. Links, emails and HTML tags are not allowed.
Please enter a valid name. Links, emails and HTML tags are not allowed.
400This error occurs when the Linked Account name contains URLs, HTML tags, emails and so on.Solution: Ensure you don’t send URLs, HTML tags and emails in the Linked Account name.The code format is invalid.
The code format is invalid.
400This error occurs when the reference_id format is invalid.Solution: Ensure the reference_id format is valid.The code must be at least 3 characters.
The code must be at least 3 characters.
400This error occurs when the reference_id value has less than a minimum of 3 characters.Solution: The reference_id value should be between 3 to 20 characters.The VPA provided does not exist or is inactive
The VPA provided does not exist or is inactive
400This error occurs when the VPA address passed in account_details.vpa.address does not exist on the UPI network or has been deactivated.Solution: Ask the beneficiary to confirm their UPI id is active. You can also pre-validate the VPA using the Validate VPA API before creating the Linked Account.The VPA address format is invalid
The VPA address format is invalid
400This error occurs when the value passed in account_details.vpa.address does not follow the username@bankname format.Solution: Make sure the VPA is in the correct format. For example, gaurav.kumar@paytm or 9000090000@ybl.Transfer amount exceeds the maximum allowed limit for VPA settlements
Transfer amount exceeds the maximum allowed limit for VPA settlements
400This error occurs when a transfer to this Linked Account exceeds ₹1,00,000, which is the NPCI-mandated per-transaction limit for UPI payouts.Solution: For amounts above ₹1,00,000, create a separate Linked Account with bank account details and use bank account settlement.Daily VPA limit exceeded
Daily VPA limit exceeded
400This error occurs when the cumulative transfers to the beneficiary’s VPA have reached the ₹1,00,000 daily limit set by NPCI. The limit resets at midnight IST.Solution: Queue the transfer for processing after midnight, switch to bank account settlement for this beneficiary or ask the beneficiary if they have an alternate UPI id.Invalid account type
Invalid account type
400This error occurs when the value passed in account_details.account_type is not a recognised account type.Solution: Pass vpa as the value for account_details.account_type for UPI-based settlement.VPA Settlements feature not enabled
VPA Settlements feature not enabled
400This error occurs when VPA Settlements have not been enabled for your Route account.Solution: Contact our Support team to enable VPA Settlements for your account.Was this page helpful?