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