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.
1 parent 590c83b commit 5612442Copy full SHA for 5612442
src/Blockchain.php
@@ -91,7 +91,7 @@ public function setServiceUrl($service_url) {
91
public function post($resource, $data=null) {
92
$url = Blockchain::URL;
93
94
- if (($resource == "api/v2/create") || (substr($resource, 0, 8) === "merchant")) {
+ if (($resource == "api/v2/create_wallet") || (substr($resource, 0, 8) === "merchant")) {
95
if ($this->service_url == null) {
96
throw new ApiError("When calling a merchant endpoint or creating a wallet, service_url must be set");
97
}
0 commit comments