ManagementAccountAccount company level

Get a company account

GET
/companies/{companyId}

Returns the company account specified in the path. Your API credential must have access to the company account.

To make this request, your API credential must have the following roles:

  • Management API—Account read

Authorization

AuthorizationBasic <token>

In: header

Path Parameters

companyId*string

The unique identifier of the company account.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/companies/string"

Example response with the details of the company account.

{  "id": "YOUR_COMPANY_ACCOUNT",  "name": "YOUR_SHOP_NAME",  "status": "Active",  "dataCenters": [    {      "name": "default",      "livePrefix": ""    }  ],  "_links": {    "self": {      "href": "https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT"    },    "apiCredentials": {      "href": "https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/apiCredentials"    },    "users": {      "href": "https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/users"    },    "webhooks": {      "href": "https://management-test.adyen.com/v1/companies/YOUR_COMPANY_ACCOUNT/webhooks"    }  }}