Bitcoin payment processing api
Using this feature will require you understand the gap limitation and how to handle it for advanced users only:. You will be sent an HTTP notification immediately when a transaction is made, and subsequently when it reaches the number of confirmations specified in the request. You are required to specify the request's notification behaviour. Setting the behaviour to 'DELETE' will delete the request after the first relelvant notification is sent to your callback address.
Setting the behaviour to 'KEEP' will send additional notifications every time a transaction with the specified confirmations and operation type is sent to or from the address in the request. Operation type is an optional parameter indicating whether the address will be monitored for received or spent transactions, or both.
By default both operation types are monitored. You may also optionally specify the number of confirmations a transaction reaches before being sent a notification. Note that you will receive a notification at 0 confirmations i. This method allows you to request callbacks when a new block of a specified height and confirmation number is added to the blockchain.
Height is an optional parameter indicating at which height you would like to receive a block notification - if unspecified, this will be the height of the next block to arrive. Confs is another optional parameter indicating how many confirmations a block should have when a notification is sent.
When a payment is received by a generated address, or by an address monitored by a balance update request, blockchain. For balance update callbacks and additional notification will be sent once the transaction reaches the specified number of confirmations. A block notification is sent every time a new block is added to the blockchain, and matches the height and number of confirmations set in the notification request.
If the server responds with anything else, or nothing, the callback will be resent again for every new block approximately every 10 minutes up to times 1 week. Check the index gap between last address paid to and the last address generated using the using the checkgap endpoint. Use the xpub you want to check and your API key like so:. Use the exact callback in question and your API key like so:. A custom secret parameter should be included in the callback URL. The secret will be passed back to the callback script when the callback is fired, and should be checked by your code for validity.
This prevents someone from trying to call your servers and falsely mark an invoice as 'paid'. The Demo Apps below include examples of how to do this. If there's anything you don't understand, try looking for answers here.
Bitcoin is a digital currency also called crypto-currency that is not backed by any country's central bank or government. Bitcoins can be traded for goods or services with vendors who accept Bitcoins as payment.
BlockchainAPI is a Bitcoin payment processor. Bitcoin has been growing very quickly into a very popular and unique currency, so it is becoming increasingly desirable for merchants to accept Bitcoin as a payment method on their websites.
Your server will send a request to our API for a unique payment address which it can present to the customer. We now fully support bitcoin cash too!
The most simple, reliable, compatible, trustworthy, inexpensive Bitcoin payment processor on the web. Unique Features BlockchainAPI was designed from the ground up to be the most easy-to-use Bitcoin payment system possible. No Registration Required No need to worry about getting a merchant application accepted or going through any tedious signup processes.
No Branding No logos or external pages or branded buttons. Bitcoin cash BCH support We support bitcoin cash too, so you can offer your users two bitcoin versions to pay with! Configure your deposit system to call the following URL, replacing the value of the address parameter with your destination address and the value of the callback parameter with your server's callback URL: Try it out now Test our API methods right here and now in your browser!
What exactly is Bitcoin? What does BlockchainAPI do? How does BlockchainAPI work?