Fetch a Linked Account With ID
GET/v2/accounts/:account_idClick to copy
Use this endpoint to fetch details of a Linked Account using the unique identifier.
Is this page helpful?
Curl
1curl -u [YOUR_KEY_ID]:[YOUR_SECRET]2-X GET 'https://api.razorpay.com/v2/accounts/acc_GLGeLkU2JUeyDZ' \
Success
Failure
1{2"id":"acc_GLGeLkU2JUeyDZ",3"type":"route",4"reference_id":"123123",5"status":"created",6"email":"alex.lim@example.com",7"profile":{8"category":"healthcare",9"subcategory":"clinic",10"addresses":{11"registered":{12"street":"4 SHENTON WAY, #14-03, SGX CENTRE II",13"city":"Singapore",14"state":"Singapore",15"postal_code":"068807",16"country":"SG",17},18"operation":{19"street":"4 SHENTON WAY, #14-03, SGX CENTRE II",20"city":"Singapore",21"state":"Singapore",22"postal_code":"068807",23"country":"SG",24}25},26"business_model":null27},28"notes":[2930],31"created_at":1611136837,32"phone":"+6591119111",33"business_type":"partnership",34"legal_business_name":"Acme Corp",35"customer_facing_business_name":"Acme Corp",36"legal_info":{37},38"apps":{39"websites":[4041],42"android":[43{44"url":null,45"name":null46}47],48"ios":[49{50"url":null,51"name":null52}53]54},55"brand":{56"color":null57},58"contact_name":"Alex Lim",59"contact_info":{60"chargeback":{61"email":null,62"phone":null,63"policy_url":null64},65"refund":{66"email":null,67"phone":null,68"policy_url":null69},70"support":{71"email":null,72"phone":null,73"policy_url":null74}75}76}
Path Parameters
account_idstring The unique identifier of the Linked Account. For example, acc_GLGeLkU2JUeyDZ.
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)
business_modelstringThe business description. The minimum length is 1 character and the maximum length is 255.
legal_info objectThe legal details about the Linked Account's business.
Show child parameters (1)
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.
contact_infoobjectOptions available for contact support.
Show child parameters (3)
appsobjectThe app details of the account holder's business
Show child parameters (3)
Errors
The id provided does not exist
Error Status: 400
This error occurs when the Linked Account does not belong to the requested merchant, or it is invalid.
Solution
Linked account does not exist.
Error Status: 400
This error occurs when the requester is not the parent of the child account, or the child account does not exist.
Solution
Fetch a Linked Account With ID
GET/v2/accounts/:account_idClick to copy
Use this endpoint to fetch details of a Linked Account using the unique identifier.
Is this page helpful?
Path Parameters
account_idstring The unique identifier of the Linked Account. For example, acc_GLGeLkU2JUeyDZ.
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)
business_modelstringThe business description. The minimum length is 1 character and the maximum length is 255.
legal_info objectThe legal details about the Linked Account's business.
Show child parameters (1)
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.
contact_infoobjectOptions available for contact support.
Show child parameters (3)
appsobjectThe app details of the account holder's business
Show child parameters (3)
Errors
The id provided does not exist
Error Status: 400
This error occurs when the Linked Account does not belong to the requested merchant, or it is invalid.
Solution
Linked account does not exist.
Error Status: 400
This error occurs when the requester is not the parent of the child account, or the child account does not exist.
Solution
Curl
1curl -u [YOUR_KEY_ID]:[YOUR_SECRET]2-X GET 'https://api.razorpay.com/v2/accounts/acc_GLGeLkU2JUeyDZ' \
Success
Failure
1{2"id":"acc_GLGeLkU2JUeyDZ",3"type":"route",4"reference_id":"123123",5"status":"created",6"email":"alex.lim@example.com",7"profile":{8"category":"healthcare",9"subcategory":"clinic",10"addresses":{11"registered":{12"street":"4 SHENTON WAY, #14-03, SGX CENTRE II",13"city":"Singapore",14"state":"Singapore",15"postal_code":"068807",16"country":"SG",17},18"operation":{19"street":"4 SHENTON WAY, #14-03, SGX CENTRE II",20"city":"Singapore",21"state":"Singapore",22"postal_code":"068807",23"country":"SG",24}25},26"business_model":null27},28"notes":[2930],31"created_at":1611136837,32"phone":"+6591119111",33"business_type":"partnership",34"legal_business_name":"Acme Corp",35"customer_facing_business_name":"Acme Corp",36"legal_info":{37},38"apps":{39"websites":[4041],42"android":[43{44"url":null,45"name":null46}47],48"ios":[49{50"url":null,51"name":null52}53]54},55"brand":{56"color":null57},58"contact_name":"Alex Lim",59"contact_info":{60"chargeback":{61"email":null,62"phone":null,63"policy_url":null64},65"refund":{66"email":null,67"phone":null,68"policy_url":null69},70"support":{71"email":null,72"phone":null,73"policy_url":null74}75}76}