Class ApiKeyMerchantLevel

    • 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 call
        IOException