v50

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-131362831.1 MB
API credentials - company level

Get an API credential

Returns the API credential identified in the path.

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

  • Management API—API credentials read and write
get/companies/{companyId}/apiCredentials/{apiCredentialId}

Path parameters

companyIdstring required

The unique identifier of the company account.

apiCredentialIdstring required

Unique identifier of the API credential.

Response

OK - the request has succeeded.

activeboolean required

Indicates if the API credential is enabled. Must be set to true to use the credential in your integration.

allowedIpAddressesstring[] required

List of IP addresses from which your client can make requests.

If the list is empty, we allow requests from any IP. If the list is not empty and we get a request from an IP which is not on the list, you get a security error.

associatedMerchantAccountsstring[]

List of merchant accounts that the API credential has explicit access to. If the credential has access to a company, this implies access to all merchant accounts and no merchants for that company will be included.

clientKeystring required

Public key used for client-side authentication. The client key is required for Drop-in and Components integrations.

descriptionstring

Description of the API credential.

idstring required

Unique identifier of the API credential.

rolesstring[] required

List of roles for the API credential.

subjectDNstring

The subject DN of the certificate issued by Adyen.

usernamestring required

The name of the API credential, for example ws@Company.TestCompany.

Example response

{
  "allowedOrigins": [
    {
      "domain": "https://adyen.com"
    }
  ]
}