References to resources linked to the API credential.
active
boolean
Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration.
allowedIpAddresses
array
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, y
allowedOrigins
array
List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential.
associatedMerchantAccounts
array
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
clientKey
string
Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations.
companyName
string
Name of the company linked to the API credential.
description
string
Description of the API credential.
id
string
Unique identifier of the API credential.
roles
array
List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential.
username
string
The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/MeApiCredential",
"title": "MeApiCredential",
"properties": {
"_links": {
"description": "References to resources linked to the API credential.",
"$ref": "#/components/schemas/ApiCredentialLinks"
},
"active": {
"description": "Indicates if the API credential is enabled. Must be set to **true** to use the credential in your integration.",
"type": "boolean"
},
"allowedIpAddresses": {
"description": "List of IP addresses from which your client can make requests.\n\nIf the list is empty, we allow requests from any IP.\nIf the list is not empty and we get a request from an IP which is not on the list, you get a security error.",
"items": {
"type": "string"
},
"type": "array"
},
"allowedOrigins": {
"description": "List containing the [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) linked to the API credential.",
"items": {
"$ref": "#/components/schemas/AllowedOrigin"
},
"type": "array"
},
"associatedMerchantAccounts": {
"description": "List of merchant accounts that the API credential has explicit access to. \n If the credential has access to a company, this implies access to all merchant accounts and no merchants for that company will be included.",
"items": {
"type": "string"
},
"type": "array"
},
"clientKey": {
"description": "Public key used for [client-side authentication](https://docs.adyen.com/development-resources/client-side-authentication). The client key is required for Drop-in and Components integrations.",
"type": "string"
},
"companyName": {
"description": "Name of the company linked to the API credential.",
"type": "string"
},
"description": {
"description": "Description of the API credential.",
"maxLength": 50,
"type": "string"
},
"id": {
"description": "Unique identifier of the API credential.",
"type": "string"
},
"roles": {
"description": "List of [roles](https://docs.adyen.com/development-resources/api-credentials#roles-1) for the API credential.",
"items": {
"type": "string"
},
"type": "array"
},
"username": {
"description": "The name of the [API credential](https://docs.adyen.com/development-resources/api-credentials), for example **ws@Company.TestCompany**.",
"type": "string"
}
},
"required": [
"id",
"username",
"clientKey",
"allowedIpAddresses",
"roles",
"active"
],
"type": "object"
}