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_QS6ssuT48mJKta",3"type": "route",4"status": "created",5"email": "nur.aisyah@example.com",6"profile": {7"category": "healthcare",8"subcategory": "clinic",9"addresses": []10},11"notes": [],12"created_at": 1746636420,13"phone": "+60123456789",14"contact_name": "Ahmad bin Hassan",15"business_type": "partnership",16"legal_business_name": "Bunga Raya Sdn Bhd",17"customer_facing_business_name": "Bunga Raya Sdn Bhd"18},19"apps":{20"websites":[2122],23"android":[24{25"url":null,26"name":null27}28],29"ios":[30{31"url":null,32"name":null33}34]35},36"brand":{37"color":null38},39"contact_name":" Nur Aisyah",40"contact_info":{41"chargeback":{42"email":null,43"phone":null,44"policy_url":null45},46"refund":{47"email":null,48"phone":null,49"policy_url":null50},51"support":{52"email":null,53"phone":null,54"policy_url":null55}56}
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_QS6ssuT48mJKta",3"type": "route",4"status": "created",5"email": "nur.aisyah@example.com",6"profile": {7"category": "healthcare",8"subcategory": "clinic",9"addresses": []10},11"notes": [],12"created_at": 1746636420,13"phone": "+60123456789",14"contact_name": "Ahmad bin Hassan",15"business_type": "partnership",16"legal_business_name": "Bunga Raya Sdn Bhd",17"customer_facing_business_name": "Bunga Raya Sdn Bhd"18},19"apps":{20"websites":[2122],23"android":[24{25"url":null,26"name":null27}28],29"ios":[30{31"url":null,32"name":null33}34]35},36"brand":{37"color":null38},39"contact_name":" Nur Aisyah",40"contact_info":{41"chargeback":{42"email":null,43"phone":null,44"policy_url":null45},46"refund":{47"email":null,48"phone":null,49"policy_url":null50},51"support":{52"email":null,53"phone":null,54"policy_url":null55}56}