File tree 1 file changed +2
-8
lines changed
1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -93,13 +93,7 @@ php composer.phar require bitpay/sdk-light:^2.0
93
93
94
94
### Initializing your BitPay light client
95
95
96
- Once you have the environment file (JSON or YML previously generated) you can initialize the client on two different ways:
97
-
98
- ``` php
99
- // Provide the full path to the env file which you have previously stored securely.
100
-
101
- $bitpay = BitPaySDKLight\Client::create()->withFile([FULL_PATH_TO_THE_CONFIG_FILE]);
102
- ```
96
+ Once you have your previously generated Token, you can initialize the client following this example:
103
97
104
98
``` php
105
99
$bitpay = new BitPaySDKLight\Client("CFJCZH3VitcEER9Uybx8LMvkPsSWzpSWvN4vhNEJp47b", BitPaySDKLight\Env::Test);
864
858
865
859
# Copyright
866
860
867
- Copyright (c) 2019 BitPay
861
+ Copyright (c) 2019 BitPay
You can’t perform that action at this time.
0 commit comments