Bitcoin Payment Gateway – Bitcoin API PHP

Bitcoin Payment API PHP Examples

Bitcoin (BTC) Price: one BTC  /  US$4644 per one BTC

14 Live Examples with Bitcoin Payments on PHP/ASP.NET

You have three choices to display bitcoin payment box/data on your webpage/applications –

  • By Using html Iframe bitcoin payment box. Example below &#187
  • By using JSON data Client Side. It will permit you to lightly customise your bitcoin payment box. Javascript & JQuery instruction here &#187
  • JSON Server Side – Alternatively, you can receive JSON values through curl on server side – function get_json_values() and use it in your application without javascript and iframe – code &#187

    Live Currency Rates

  • Bitcoin US$ 4644
  • Bitcoin Cash 0.14629000 BTC
  • Litecoin 0.01748463 BTC
  • Dash 0.07416525 BTC
  • Dogecoin 0.00000044 BTC
  • Speedcoin 0.00000010 BTC
  • Reddcoin 0.00000029 BTC
  • Potcoin 0.00002174 BTC
  • Feathercoin 0.00001327 BTC
  • Vertcoin 0.00020433 BTC
  • Peercoin 0.00039898 BTC
  • Monetaryunit 0.00003341 BTC
  • Bitcoin      $4644
  • Bitcoin Cash      $679
  • Litecoin      $81.Two
  • Dash      $344
  • Dogecoin      $0.002
  • Speedcoin      $0.00046
  • Reddcoin      $0.0013
  • Potcoin      $0.101
  • Feathercoin      $0.062
  • Vertcoin      $0.949
  • Peercoin      $1.85
  • Monetaryunit      $0.155

* Click on coin name above to see another Coin Payment API

Bitcoin Payment Box (iframe)

Send bitcoins to the address in the payment box below and you will see how it switches

You can use an alternative affiliate program – ‘Referral a friend’ which gives payment commissions to your affiliate website user who has referred another user/seller/buyer to your website. This will make your website much more attractive and help to advertise your website on the internet. Read here

Begin Now

Bitcoin Live Price

GoUrl Bitcoin Payment API Features

  • Pay-Per-Product | Bitcoin API – sell your products for bitcoin online on your website. It is effortless!
  • Pay-Per-Download | Bitcoin API – make money on file downloads/other digital content from your website online
  • Pay-Per-Post | Bitcoin API – get separate bitcoin payments for each post/article published on your website
  • Pay-Per-Registration | Bitcoin API – earn money on user registration on your website; stop spam
  • Pay-Per-View/Page | Bitcoin API – sell paid access to selected web pages/movies to unregistered visitors online
  • Pay-Per-Membership | Bitcoin API – sell monthly/daily membership of your website to members online
  • Direct Payments | Bitcoin API – payments inbetween your website users – create online auctions, classified ads, etc.
  • Direct Integration on your website (iframe), no outer payment pages open (as other payment gateways suggest)
  • Set your own Prices in USD. It will automatically convert usd to Bitcoin using Live exchange rates
  • User will see successful payment result typically within five seconds after the payment has been sent
  • Ready to use GoUrl Payment Gateway WordPress Plugin with eCommerce addons
  • Your website users and visitors will see GoUrl payment box on your website in their own native languages
  • Our Bitcoin Payment Gateway supports the following interface languages: English, Spanish, French, German, Dutch, Italian, Russian, Grind, Portuguese, Persian, Korean, Japanese, Indonesian, Turkish, Arabic, Simplified Chinese, Traditional Chinese, Hindi. We can also add any fresh language to payment system on request
  • Global, Anonymous, Secure. Zero Risk, No Chargebacks. Your visitors do not need to register.

Please note different currencies have different transaction confirmation times. There are no other differences (except period of confirmation time) inbetween Dogecoin, Bitcoin, Litecoin and other cryptocoins in GoUrl Payment API.

1. Bitcoin Pay-Per-Product API

No visitors registration is needed. Effortless to use!  Also see API Function Descriptions

Ordinary Basic php Payment Example (accept payments in one crypto currency) –

1.Two Bitcoin Pay-Per-Product API – Numerous Currencies

Example – accept numerous crypto currencies on your website and permit users to switch payment box display language

Two. Pay-Per-Download Bitcoin

Your website visitors will need to send you a set amount of cryptocoins for every file download, which they make from your website. You can use the received cryptocoins to support your website, etc.

Your files need to store in protected directory with .htaccess file: deny from all. It protects your files from direct downloads

No visitors registration is needed. This will be quick and effortless for your visitors!

Trio. Pay-Per-Post Bitcoin

Sell right to publish fresh posts on your website

No visitors registration is needed. Effortless to use!

Four. Pay-Per-Registration Bitcoin

Make money on user registration on your website. Stop Spam!

Protection Against Spam. Effortless to use –

Five. Pay-Per-View/Page Bitcoin

Example of php code (Bitcoin Pay-Per-Page Payment Gateway) for your website. Your registered users or unregistered visitors will need to send you a set amount of cryptocoins for access to your website’s specific pages & movies during a specific time. You can take separate payments for separate pages of your website. All will be in automatic mode – permitting you to receive payments, to open webpage access to your members, displaying after the time a fresh payment form, payment notifications to your email, etc.

For example, you have a website and you suggest paid access to few pages of your website for the price of 0.6 USD for twenty four HOURS (1 DAY) access for website visitors (non-registered users). You can install ordinary code below on top of pages with that paid access. Your visitors will see automatic cryptocoin payment box and when they make their payment, they will get access to your pages/movies and after twenty four hours they will see a fresh payment box.

No your visitor registration is needed on your website. Anonymous. Use Pay-Per-Page Access on your website !

6. Pay-Per-Membership Bitcoin

For example, you have a website and you suggest paid membership to premium content of your website for the price of seventy nine USD for one MONTH access. You can install plain code below on top of pages with that premium access. Your visitors will see automatic cryptocoin payment box and when they make their payment, they will get access to your pages and after one month they will see a fresh payment box. Our payment box is fully customized. And you can lightly configure it – switching access time period (Trio hours, one day, two days, one week. ), price (in USD or in Bitcoins), currency, payment notifications to your email, suggesting onetime payment, etc.

Then you can use Poloniex.com autosell feature and auto trade your bitcoins to USD/BTC.

All will be in automatic mode – permitting you to receive payments, upgrade membership to your members, demonstrating after the time a fresh payment form, convert to USD, etc.

Example of php code (Bitcoin Pay-Per-Membership Payment Gateway) for your website. It is effortless !

7. Get Bitcoin payment box values in JSON format

JSON data will permit you to lightly customise your bitcoin payment boxes. For example, you can display payment amount and bitcoin payment address with your own text, you can also accept payments in android/windows and other applications.

A. Payment not received –

B. Payment received successfully –

JQuery/Json Instruction –

I. You will need to create a html file with empty <div class=’gourl_. ‘></div>, <span class=’gourl_. ‘></span> elements as template which will automatically fill-in json values from gourl.io.

For example, if you want to publish payment amount to a user – place on webpage:

(i.e. it will prefix ‘gourl_’ + value key of json data, in our case [amount] => 0.00039957 and [coinlabel] => BTC, user will see – ‘0.00039957 BTC’ on page)

This function will receive JSON payment data from Gourl.io payment gateway through jquery ajax request and will place received json values in all existing html <div class=’gourl_. ‘>, <span class=’gourl_. ‘> elements on webpage.

  • url – payment url to gourl.io. Using this url you can get bitcoin/altcoin payment box values in JSON format.

Please use php function $box->cryptobox_json_url() – which will generate url with your parameters to gourl.io payment gateway.

  • redirect – url, redirect to another page after payment is received; i.e. when payment received – it will automatically call cryptobox.callback.php through ajax and after five seconds it will redirect to another page. Also php class $this->is_paid() commence to come back TRUE.
  • III. Add your code (send confirmation email, update database, update user membership, etc) to IPN function cryptobox_new_payment($paymentID = 0, $payment_details = array(), $box_status = “”). This function is used every time a fresh payment from any user is received successfully. It is calling from cryptobox.callback.php. Read more about IPN here

    Alternatively (server side)

    Alternatively, you can receive JSON values through php curl on server side – function get_json_values() and use it in your php/other files without using javascript and jquery/ajax (see code).

    8. Direct Payments inbetween your website users

    You can create bitcoin/altcoin online auction, classified ads, paid forum, etc on your website.

    GoUrl Bitcoin/Altcoin Gateway permits you to provide direct payments inbetween your website users (userA pay to userB, userB pay to userD, etc ), your website will display a payment form and will receive a confirmation notice every time on whether a payment is successful or not. Each of your users will see their payment statistics on gourl.io also. All will be in automatic mode.

    You can do this in the same way as this website shopbidsell.com (see screenshot)

    1. Install php Gourl Payment Box on your website
    2. Each of your users create a free account on gourl.io
    3. Then create fresh bitcoin/altcoin payment box(es) on gourl.io
    4. The user will get gourl payment box keys and can save them on your website.
    5. Your website will then display a crypto payment box using those keys, the payment will go directly inbetween your users (the buyer and seller), and at the same time your website will receive confirmation if the payment is successful or not and, if so, will process it.
    6. All of your users will see their own payment statistics as a member on gourl.io too.

    Also you can use affiliate programs on your website –

    1. 0.50% payment commission from each payment to you as the website possessor. Read here

    or

  • You can use an alternative affiliate program – ‘Referral a friend’ which gives payment commissions to your affiliate website user who has referred another user/seller/buyer to your website. This will make your website much more attractive and help to advertise your website on the internet. Read here
  • Online Monetiser

    Please use online monetiser if you don’t have your own website. Make money online !

    Examples of Monetiser Links –

    CONTACT US

    We suggest Free Support in the integration of our GoUrl Crypto Payment Gateway in your scripts/plugins/website (accepting Bitcoin/Dogecoin/etc payments from users online).

    Please feel free to contact us if you have any questions

    Bitcoin Payment Gateway – Bitcoin API PHP

    Bitcoin Payment API PHP Examples

    Bitcoin (BTC) Price: one BTC  /  US$4666 per one BTC

    14 Live Examples with Bitcoin Payments on PHP/ASP.NET

    You have three choices to display bitcoin payment box/data on your webpage/applications –

    • By Using html Iframe bitcoin payment box. Example below &#187
    • By using JSON data Client Side. It will permit you to lightly customise your bitcoin payment box. Javascript & JQuery instruction here &#187
    • JSON Server Side – Alternatively, you can receive JSON values through curl on server side – function get_json_values() and use it in your application without javascript and iframe – code &#187

        Live Currency Rates

    • Bitcoin US$ 4666
    • Bitcoin Cash 0.14629000 BTC
    • Litecoin 0.01748463 BTC
    • Dash 0.07416525 BTC
    • Dogecoin 0.00000044 BTC
    • Speedcoin 0.00000010 BTC
    • Reddcoin 0.00000029 BTC
    • Potcoin 0.00002174 BTC
    • Feathercoin 0.00001327 BTC
    • Vertcoin 0.00020433 BTC
    • Peercoin 0.00039898 BTC
    • Monetaryunit 0.00003300 BTC
    • Bitcoin      $4666
    • Bitcoin Cash      $679
    • Litecoin      $81.Two
    • Dash      $344
    • Dogecoin      $0.002
    • Speedcoin      $0.00046
    • Reddcoin      $0.0014
    • Potcoin      $0.101
    • Feathercoin      $0.062
    • Vertcoin      $0.949
    • Peercoin      $1.85
    • Monetaryunit      $0.154

    * Click on coin name above to see another Coin Payment API

    Bitcoin Payment Box (iframe)

    Send bitcoins to the address in the payment box below and you will see how it switches

    You can use an alternative affiliate program – ‘Referral a friend’ which gives payment commissions to your affiliate website user who has referred another user/seller/buyer to your website. This will make your website much more attractive and help to advertise your website on the internet. Read here

    Begin Now

    Bitcoin Live Price

    GoUrl Bitcoin Payment API Features

    • Pay-Per-Product | Bitcoin API – sell your products for bitcoin online on your website. It is effortless!
    • Pay-Per-Download | Bitcoin API – make money on file downloads/other digital content from your website online
    • Pay-Per-Post | Bitcoin API – get separate bitcoin payments for each post/article published on your website
    • Pay-Per-Registration | Bitcoin API – earn money on user registration on your website; stop spam
    • Pay-Per-View/Page | Bitcoin API – sell paid access to selected web pages/movies to unregistered visitors online
    • Pay-Per-Membership | Bitcoin API – sell monthly/daily membership of your website to members online
    • Direct Payments | Bitcoin API – payments inbetween your website users – create online auctions, classified ads, etc.
    • Direct Integration on your website (iframe), no outward payment pages open (as other payment gateways suggest)
    • Set your own Prices in USD. It will automatically convert usd to Bitcoin using Live exchange rates
    • User will see successful payment result typically within five seconds after the payment has been sent
    • Ready to use GoUrl Payment Gateway WordPress Plugin with eCommerce addons
    • Your website users and visitors will see GoUrl payment box on your website in their own native languages
    • Our Bitcoin Payment Gateway supports the following interface languages: English, Spanish, French, German, Dutch, Italian, Russian, Grind, Portuguese, Persian, Korean, Japanese, Indonesian, Turkish, Arabic, Simplified Chinese, Traditional Chinese, Hindi. We can also add any fresh language to payment system on request
    • Global, Anonymous, Secure. Zero Risk, No Chargebacks. Your visitors do not need to register.

    Please note different currencies have different transaction confirmation times. There are no other differences (except period of confirmation time) inbetween Dogecoin, Bitcoin, Litecoin and other cryptocoins in GoUrl Payment API.

    1. Bitcoin Pay-Per-Product API

    No visitors registration is needed. Effortless to use!  Also see API Function Descriptions

    Plain Basic php Payment Example (accept payments in one crypto currency) –

    1.Two Bitcoin Pay-Per-Product API – Numerous Currencies

    Example – accept numerous crypto currencies on your website and permit users to switch payment box display language

    Two. Pay-Per-Download Bitcoin

    Your website visitors will need to send you a set amount of cryptocoins for every file download, which they make from your website. You can use the received cryptocoins to support your website, etc.

    Your files need to store in protected directory with .htaccess file: deny from all. It protects your files from direct downloads

    No visitors registration is needed. This will be quick and effortless for your visitors!

    Three. Pay-Per-Post Bitcoin

    Sell right to publish fresh posts on your website

    No visitors registration is needed. Effortless to use!

    Four. Pay-Per-Registration Bitcoin

    Make money on user registration on your website. Stop Spam!

    Protection Against Spam. Effortless to use –

    Five. Pay-Per-View/Page Bitcoin

    Example of php code (Bitcoin Pay-Per-Page Payment Gateway) for your website. Your registered users or unregistered visitors will need to send you a set amount of cryptocoins for access to your website’s specific pages & movies during a specific time. You can take separate payments for separate pages of your website. All will be in automatic mode – permitting you to receive payments, to open webpage access to your members, demonstrating after the time a fresh payment form, payment notifications to your email, etc.

    For example, you have a website and you suggest paid access to few pages of your website for the price of 0.6 USD for twenty four HOURS (1 DAY) access for website visitors (non-registered users). You can install plain code below on top of pages with that paid access. Your visitors will see automatic cryptocoin payment box and when they make their payment, they will get access to your pages/movies and after twenty four hours they will see a fresh payment box.

    No your visitor registration is needed on your website. Anonymous. Use Pay-Per-Page Access on your website !

    6. Pay-Per-Membership Bitcoin

    For example, you have a website and you suggest paid membership to premium content of your website for the price of seventy nine USD for one MONTH access. You can install plain code below on top of pages with that premium access. Your visitors will see automatic cryptocoin payment box and when they make their payment, they will get access to your pages and after one month they will see a fresh payment box. Our payment box is fully customized. And you can lightly configure it – switching access time period (Three hours, one day, two days, one week. ), price (in USD or in Bitcoins), currency, payment notifications to your email, suggesting onetime payment, etc.

    Then you can use Poloniex.com autosell feature and auto trade your bitcoins to USD/BTC.

    All will be in automatic mode – permitting you to receive payments, upgrade membership to your members, displaying after the time a fresh payment form, convert to USD, etc.

    Example of php code (Bitcoin Pay-Per-Membership Payment Gateway) for your website. It is effortless !

    7. Get Bitcoin payment box values in JSON format

    JSON data will permit you to lightly customise your bitcoin payment boxes. For example, you can display payment amount and bitcoin payment address with your own text, you can also accept payments in android/windows and other applications.

    A. Payment not received –

    B. Payment received successfully –

    JQuery/Json Instruction –

    I. You will need to create a html file with empty <div class=’gourl_. ‘></div>, <span class=’gourl_. ‘></span> elements as template which will automatically fill-in json values from gourl.io.

    For example, if you want to publish payment amount to a user – place on webpage:

    (i.e. it will prefix ‘gourl_’ + value key of json data, in our case [amount] => 0.00039957 and [coinlabel] => BTC, user will see – ‘0.00039957 BTC’ on page)

    This function will receive JSON payment data from Gourl.io payment gateway through jquery ajax request and will place received json values in all existing html <div class=’gourl_. ‘>, <span class=’gourl_. ‘> elements on webpage.

    • url – payment url to gourl.io. Using this url you can get bitcoin/altcoin payment box values in JSON format.

    Please use php function $box->cryptobox_json_url() – which will generate url with your parameters to gourl.io payment gateway.

  • redirect – url, redirect to another page after payment is received; i.e. when payment received – it will automatically call cryptobox.callback.php through ajax and after five seconds it will redirect to another page. Also php class $this->is_paid() embark to come back TRUE.
  • III. Add your code (send confirmation email, update database, update user membership, etc) to IPN function cryptobox_new_payment($paymentID = 0, $payment_details = array(), $box_status = “”). This function is used every time a fresh payment from any user is received successfully. It is calling from cryptobox.callback.php. Read more about IPN here

    Alternatively (server side)

    Alternatively, you can receive JSON values through php curl on server side – function get_json_values() and use it in your php/other files without using javascript and jquery/ajax (see code).

    8. Direct Payments inbetween your website users

    You can create bitcoin/altcoin online auction, classified ads, paid forum, etc on your website.

    GoUrl Bitcoin/Altcoin Gateway permits you to provide direct payments inbetween your website users (userA pay to userB, userB pay to userD, etc ), your website will display a payment form and will receive a confirmation notice every time on whether a payment is successful or not. Each of your users will see their payment statistics on gourl.io also. All will be in automatic mode.

    You can do this in the same way as this website shopbidsell.com (see screenshot)

    1. Install php Gourl Payment Box on your website
    2. Each of your users create a free account on gourl.io
    3. Then create fresh bitcoin/altcoin payment box(es) on gourl.io
    4. The user will get gourl payment box keys and can save them on your website.
    5. Your website will then display a crypto payment box using those keys, the payment will go directly inbetween your users (the buyer and seller), and at the same time your website will receive confirmation if the payment is successful or not and, if so, will process it.
    6. All of your users will see their own payment statistics as a member on gourl.io too.

    Also you can use affiliate programs on your website –

    1. 0.50% payment commission from each payment to you as the website possessor. Read here

    or

  • You can use an alternative affiliate program – ‘Referral a friend’ which gives payment commissions to your affiliate website user who has referred another user/seller/buyer to your website. This will make your website much more attractive and help to advertise your website on the internet. Read here
  • Online Monetiser

    Please use online monetiser if you don’t have your own website. Make money online !

    Examples of Monetiser Links –

    CONTACT US

    We suggest Free Support in the integration of our GoUrl Crypto Payment Gateway in your scripts/plugins/website (accepting Bitcoin/Dogecoin/etc payments from users online).

    Please feel free to contact us if you have any questions

    Related video:

    You may also like...

    Leave a Reply

    Your email address will not be published. Required fields are marked *