diff --git a/paywhirl/paywhirl.py b/paywhirl/paywhirl.py index b42456c..8437da8 100755 --- a/paywhirl/paywhirl.py +++ b/paywhirl/paywhirl.py @@ -874,7 +874,7 @@ def get_multi_auth_token(self, data: dict) -> Any: def _request(self, method: str, path: str, params: Any = None) -> Any: params = params or {} url = self._api_base + path - headers = {'api_key': self._api_key, 'api_secret': self._api_secret} + headers = {'api-key': self._api_key, 'api-secret': self._api_secret} kwargs = {'headers': headers, 'verify': self._verify_ssl} if method == 'post':