Package com.adyen.service.management
Class ApiKeyCompanyLevel
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.ApiKeyAuthenticatedService
-
- com.adyen.service.management.ApiKeyCompanyLevel
-
public class ApiKeyCompanyLevel extends ApiKeyAuthenticatedService
-
-
Constructor Summary
Constructors Constructor Description ApiKeyCompanyLevel(Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenerateApiKeyResponsegenerateNewApiKey(String companyId, String apiCredentialId)Generate new API key-
Methods inherited from class com.adyen.Service
getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Constructor Detail
-
ApiKeyCompanyLevel
public ApiKeyCompanyLevel(Client client)
-
-
Method Detail
-
generateNewApiKey
public GenerateApiKeyResponse generateNewApiKey(String companyId, String apiCredentialId) throws ApiException, IOException
Generate new API key- Parameters:
companyId- The unique identifier of the company account. (required)apiCredentialId- Unique identifier of the API credential. (required)- Returns:
- GenerateApiKeyResponse
- Throws:
ApiException- if fails to make API callIOException
-
-