send payment from one address to another from my website I want to send payment to bitcoin address weekly from my bitcoin address,I have tried blockchain api but can't seem to find an answer.Need help.
http://blockchain.info/api/blockchain_wallet_api

The api call to send is:

https://blockchain.info/merchant/$guid/payment?password=$main_password&amp;second_password=$second_password&amp;to=$address&amp;amount=$amount&amp;from=$from&amp;shared=$shared&amp;fee=$fee¬e=$note


In PHP, replace all the variables (they start with a $ in example up above) with your actual info. Some of the parameters in the url are optional so visit the page I linked to see which ones are optional. Keep the url as a string and feed it in to this:

$result = file_get_contents($the_url_you_just_made);


This should send a payment as soon as it runs, you may want to read the resulting string, it will contain the error message if anything goes wrong. The response is detailed on the link and you can try out URLs in browser as well, just type in GUID, amount, address, etc in the correct places.