Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Accepting bitcoins payments on website, and providing automated bitcoin transfers between users (with automatic transaction charge)? [closed]

Tags:

bitcoin

I have a website that I would like to enable bitcoin transactions between users. I would like if possible for these transactions to be automated, and I would like the site to receive a percentage per transaction.

Could someone provide a top-level outline of the technologies involved, and how they might need to interact to provide this service. If it's relevant my website is written in Rudy/Rails.

like image 453
ktec Avatar asked Jun 22 '12 23:06

ktec


1 Answers

I'd recommend you to use https://blockchain.info/api/api_receive

Basically, this is what you would do: - Connect to blockchain's API and ask for a new temporal address, attached to the user who is paying, with the site's address as final beneficiary. - Give that address to the user, along with any information he needs, and ask him to pay. - blockchain will notify you when the payment happens. The funds will then be transferred to your (the site's) address. - You can then send the amount less the fee to the final user.

This is just a rough description. Read blockchain's API documentation.

like image 188
Jorge Cevallos Avatar answered Jan 05 '23 01:01

Jorge Cevallos