diff --git a/src/BitPaySDK/Client.php b/src/BitPaySDK/Client.php index a4d32c81..6d0587d5 100644 --- a/src/BitPaySDK/Client.php +++ b/src/BitPaySDK/Client.php @@ -111,7 +111,7 @@ public static function createWithFile(string $configFilePath): Client $config = $configData["BitPayConfiguration"]["EnvConfig"][$env]; $key = self::initKeys($config['PrivateKeyPath'], $config['PrivateKeySecret']); - $proxy = $config['proxy'] ?? null; + $proxy = $config['Proxy'] ?? null; $restCli = new RESTcli($env, $key, $proxy); $tokenCache = new Tokens($config['ApiTokens']['merchant'], $config['ApiTokens']['payout']);