Bitcoin Forum

Bitcoin => Project Development => Topic started by: apoorvlathey on March 30, 2016, 07:59:51 AM



Title: How to use Bitcoin API
Post by: apoorvlathey on March 30, 2016, 07:59:51 AM
I want to integrate bitcoin payment system in my website. I applied for blockchain.info api key but they denied it. Now i am looking forward to BlockCypher (http://dev.blockcypher.com/ (http://dev.blockcypher.com/)). I have no experience in using api's.

All I want is to create a new address for each transaction for the user and when the exact sum of bitcoins is transferred to that address then my website should be notified using a webhook or a callback.

I want to use PHP. Can anyone help me ?


Title: Re: How to use Bitcoin API
Post by: altcoinhosting on March 30, 2016, 08:02:41 AM
have you considered just running bitcoind and using a JSON-RPC call? I find it easyer and more future-proof than dealing with thirth party API's

For your information
https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list
https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)#PHP


Title: Re: How to use Bitcoin API
Post by: apoorvlathey on March 30, 2016, 08:20:09 AM
The server I use for the hosting doesn't allow me to install bitcoind and the bandwidth is also less. So I stick to other's API's.
I don't have much budget to upgrade. Moreover I want to use it more for learning and trying purposes.


Title: Re: How to use Bitcoin API
Post by: deepceleron on March 30, 2016, 08:54:38 AM
Inferring your experience level, unless you want hackers to empty out your wallet, it would be much better for you to employ a third-party checkout/shopping cart vendor.


Title: Re: How to use Bitcoin API
Post by: Patatas on March 30, 2016, 09:09:47 PM
How did blockchain.info denied it ? ::) Its free ,you just have to parse the data in your file.The code is already given in different languages ,you just have to pick up the suitable language and copy paste.I never knew they even deny access to specific users.Please explain more.