Designed from the ground up to be the most easy-to-use Bitcoin payment processor possible.
Take a look below at the features we offer here at BlockchainAPI | Bitcoin Payment Processor | Bitcoin Payment Gateway.
No need to worry about getting a merchant application or going through any tedious signup processes. Go ahead and get up and running now using our bitcoin payment gateway.
Here at BlockchainAPI, we have an experienced, hard-working team of professionals that are always thinking of new ideas and features to implement into our current system.
If you have an idea or new feature that we should add, please contact support.
No logos or external pages or branded buttons. Our bitcoin payment API returns a simple JSON document for you to handle on your server however you would like.
In order to continue to keep our bitcoin payment gateway API online, we take a 1% commission. Other than this small commission and the 5.0E-5 BTC transaction fee, there are no other costs.
Our bitcoin payment gateway API and backend systems are secured with HTTPS and high-grade firewalls. Bitcoins are transferred to you ASAP, so there's nothing to worry about!
We even created a simple video for you to follow
Download the files in the video here.
You'll need an unzipping program to extract the files.
Remember to install your database such as Phpmyadmin and import the .sql file included inside the zip.
We made these new files for developers just like yourself.
They're simple, easy to use and are designed to help your knowledge on how BlockchainAPI works.
In the unlikely event of our service being down, you will be able to check the status of BlockchainAPI.
Making use of our bitcoin payment API is extremely easy! Simply make a GET request to our bitcoin payment gateway API endpoint using the create method and receive a deposit address for your customer!
http://example.com/callback?invoice_id=1234&secret=7j0ap91o99cxj8k9&value=100000000&input_address=1E2VSRsaW3Kb1gDkdRUGDo6knAKfi9iYsb&confirmations=3&transaction_hash=0e3e2357e806b6cdb1f70b54c3a3a17b6714ee1f0e68bebb44a74b1efd512098&input_transaction_hash=4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b&destination_address=1LisLsZd3bx8U1NYzpNHqpo8Q6UCXKMJ4z
# PHP Example To Generate Address
$secret = "7j0ap91o99cxj8k9";
$my_address = "1LisLsZd3bx8U1NYzpNHqpo8Q6UCXKMJ4z";
$my_callback_url = "http://example.com/callback?invoice_id=1234&secret=" . $secret;
$api_base = "https://blockchainapi.org/api/v1";
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_RETURNTRANSFER => 1,
CURLOPT_URL => $api_base . "?method=create&address=" . $my_address . "&callback=" . $my_callback_url
));
$response = curl_exec($curl);
$http_status_code = curl_getinfo($curl, CURLINFO_HTTP_CODE);
curl_close($curl);
if ($http_status_code == 200) {
$decoded = json_decode($response, true);
echo "Please send the payment to the following Bitcoin address: " . $decoded["success"]["input_address"];
echo "The current estimated fee is: ".$decoded["success"]["estimated_transaction_fee"].' BTC';
} else {
echo "Sorry, an error occurred: " . $response["error"];
}
The customer's deposit address will be contained in the input_address property of the response.
"success": [{
"callback_url": "http://example.com/callback?invoice_id=1234",
"callbacks": [{
"timestamp": "2016-03-16 16:57:45",
"result": true,
"fee_percent": 1,
"value": 50000,
"input_address": "1E2VSRsaW3Kb1gDkdRUGDo6knAKfi9iYsb",
"confirmations": 1,
"transaction_hash": "1afb2eebe6ee69ab52da0a3ed98f5506c4ef00edcad852e98da346f42c568960",
"input_transaction_hash": "02cb603c6066b22e23d6d998fbe7672776a098f93387fa86e362d18c9f496750",
"destination_address": "1LisLsZd3bx8U1NYzpNHqpo8Q6UCXKMJ4z"
}]
}]
After a payment is made to the deposit address, we will forward the Bitcoin directly to the destination address you supplied and our server will send a POST request to your server with the following values:
'value'
'input_address'
'confirmations'
'transaction_hash'
'input_transaction_hash'
'destination_address'
Simply enter your secret, address and callback url and hit the button below to generate your php code to start accepting payments.
Take a look at our blog. We tend to upload as much as we can, about anything related to Bitcoin.
Help us keep the system running and to improve new features and new ideas.
Your donation means so much to every single one of us!