<p><a href="https://github.com/blockchain/service-my-wallet-v3/issues/108" rel="nofollow noreferrer">https://github.com/blockchain/service-my-wallet-v3/issues/108</a> 
Please update your API version and see the link.</p>

CC BY-SA 3.0
2018-01-01T10:21:54.663Z
2018-01-02T01:46:13.843Z
2018-01-02T01:46:13.843Z
Aamin Khan
<p><strong>I CAN't do Making Outgoing Payments :-(</strong><br>
i use blockChain api v2 with local nodeJS.<br>
I work with Laravel 5.4. I have VPS server.<br>
I installed local nodeJS service to handle the calls.<br>
I started work of port: node blockchain-wallet-service start --port 3030. <br>
Then I logined to my wallet.<br></p>

<pre>
 $url = "http://127.0.0.1:3030/merchant/$guid/login?password=$mainPass&api_code=$myApiKey";<br>
$ch = curl_init();<br>
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); <br>
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); <br>
curl_setopt($ch, CURLOPT_URL, $url); <br>
$ccc = curl_exec($ch);<br>
$json = json_decode($ccc, true);
 var_dump($json);
</pre>

<p>Here, I got a good answer:<br>
<pre>
array(3) { <br>
   ["guid"]=> string(36) "xxxxxx-xxxx-xxxx-xxxx-xxxx..."<br>
   ["success"]=> bool(true)<br>
   ["message"]=> string(94) "This endpoint has been deprecated. You no longer 
                             have to call /login before accessing a wallet"
 }
</pre><br>
I can Create Wallet API, check balance, do Listing Addresses, do Generating a new address and do Address Management with positive answers.<br>
<strong>BUT I CAN't do Making Outgoing Payments</strong>. <br>
I got next answer:<br></p>

<pre>
 array(1) {
    ["error"]=> string(34)
    "Unexpected error, please try again"
 } 
</pre>

<p>Who knews what would be the solution?<br>
I must get Response:<br></p>

<pre>
 { "message" : "Response Message" , "tx_hash": "Transaction Hash", "notice" : "Additional Message" }
</pre>

<p>Thanks a lot!</p>

<blockchain.info>
Cannot Making Outgoing Payments with blockchain.info API v2
Kostiantyn Logunov
# Cannot Making Outgoing Payments with blockchain.info API v2

(Asked by: username_0 on 2017-10-03)

I CAN't do Making Outgoing Payments :-(
i use blockChain api v2 with local nodeJS.
I work with Laravel 5.4. I have VPS server.
I installed local nodeJS service to handle the calls.
I started work of port: node blockchain-wallet-service start --port 3030. 
Then I logined to my wallet.

 $url = "http://127.0.0.1:3030/merchant/$guid/login?password=$mainPass&api_code=$myApiKey";
$ch = curl_init();
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); 
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); 
curl_setopt($ch, CURLOPT_URL, $url); 
$ccc = curl_exec($ch);
$json = json_decode($ccc, true);
 var_dump($json);

Here, I got a good answer:

array(3) { 
   ["guid"]=> string(36) "xxxxxx-xxxx-xxxx-xxxx-xxxx..."
   ["success"]=> bool(true)
   ["message"]=> string(94) "This endpoint has been deprecated. You no longer 
                             have to call /login before accessing a wallet"
 }

I can Create Wallet API, check balance, do Listing Addresses, do Generating a new address and do Address Management with positive answers.
BUT I CAN't do Making Outgoing Payments. 
I got next answer:

 array(1) {
    ["error"]=> string(34)
    "Unexpected error, please try again"
 } 

Who knews what would be the solution?
I must get Response:

 { "message" : "Response Message" , "tx_hash": "Transaction Hash", "notice" : "Additional Message" }

Thanks a lot!

**Tags:** blockchain.info


---

## 1 answers

### Answer by username_1 on 2018-01-01. Score: 0 | Accepted answer

<https://github.com/blockchain/service-my-wallet-v3/issues/108>
Please update your API version and see the link.


---

