We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6101ec3 + 9a8e4eb commit 1d5fff2Copy full SHA for 1d5fff2
src/Commands/CreateKeypair.php
@@ -153,8 +153,8 @@ public function pairWithServerAndCreateToken()
153
$response = $bitpayClient->post('/tokens', [
154
'json' => $postData,
155
'headers' => [
156
- 'x-accept-version: 2.0.0',
157
- 'Content-Type: application/json',
+ 'x-accept-version' => '2.0.0',
+ 'Content-Type' => 'application/json',
158
// Todo: If added below headers, bitpay responds with error, "This endpoint does not support the `user` facade"
159
// 'x-identity' => $this->publicKey->__toString(),
160
// 'x-signature' => $this->privateKey->sign($this->network.'/tokens'.json_encode($postData)),
0 commit comments