Skip to content

Bitcoin Payment Gateway API on ASP.NET. Accept Bitcoin, Litecoin, Dogecoin, Dash, Speedcoin, Reddcoin, Potcoin, Feathercoin, BTC, Vertcoin, Vericoin, Peercoin, Paycoin, MonetaryUnit, Swiscoin Payments Online on your ASP.NET C# website

Notifications You must be signed in to change notification settings


Folders and files

Last commit message
Last commit date

Latest commit



26 Commits

Repository files navigation Bitcoin/Altcoin Payment Gateway API ASP .NET C#

Version 1.2.0 RC1

NEW - Mobile Friendly, White Label Product - Bitcoin/altcoin Payments with your own logo. Live Demo

Accept Bitcoin, Bitcoin Cash, Litecoin, Dash, Dogecoin, Speedcoin, Reddcoin, Potcoin, Feathercoin, Vertcoin, Peercoin, UniversalCurrency, MonetaryUnit Payments Online on your website

Copyright © 2014-2019 Delta Consultants



API Bitcoin ASP.NET Instruction:

API Bitcoin PHP Instruction:

API Python, Java, Node.js, etc:

Wordpress Plugin:



Instruction - ASP .NET Bitcoin/Altcoin Package

  1. Two Versions Available (stable version 1.0.10 - iFrame payment box and version 1.2.0 RC1 - mobile friendly json payment box)
  • A. Version 1.0.10 - Stable, iFrame Payment Box, Not Mobile Friendly. Demo»

    Install package from - (command "Install-Package", it is package only without examples, Iframe, not mobile friendly)

    or download full package v1.0.10 with Examples from github / directly

  • B. Version 1.2.0RC1 (release candidate 1), Json Payment Box, Mobile Friendly, White Label Product. Demo»

    Download full package v1.2.0RC1 with Examples from github / zip source file

  1. Package uses own database with table crypto_payments (file /GoUrl/App_Data/GourlDb.mdf) for storing bitcoin/altcoin payment information (transaction ID, payment Date, user ID, order ID, etc) on your website. If you wish to move this table to your existing database, run sql query, it will create new MSSQL "crypto_payments" table in your existing database; and after configure 'connectionStrings' in /GoUrl/Web.config. Package default Database store in /GoUrl/App_Data folder. Example - Asp Page with All Payment Statistics

  2. Free Register or Login on the, create new payment box/es and get free GoUrl Private/Public Keys (screenshot)

  3. Place all your GoUrl Private Keys in /GoUrl/Web.config (screenshot)

  4. Add in your _Layout line - <script type="text/javascript" src="~/scripts/cryptobox.js"></script>. See example - /GoUrl/Views/Shared/_Layout.cshtml

  5. Create payment controller with your public/private keys, orderID, userID, etc. See controller example, ready to use with files from directory /Examples/ - /GoUrl/Controllers/GoUrl/ExamplesController.cs (screenshot)

  6. Edit the function Main in the file /GoUrl/GoUrlCore/NewPayment.cs to add additional actions after a payment has been received (update database records, send email to user, etc).

  7. You will need to place Callback URL in bitcoin/altcoin payment box (screenshot), please use:

  8. For display bitcoin/altcoin payment box in your View, you need to use Helper Cryptobox (@Html.Cryptobox(DisplayCryptoboxModel) or display Partial View Partial/_Cryptobox.

    See /GoUrl/Views/Examples/Basic.cshtml and other Examples.

    For use examples, please add your gourl private keys to Web.config and private/public keys to several places in ExamplesController.cs.


Read more -

MSSQL Table for package

The package uses its own database with table crypto_payments where all bitcoin/altcoin payments made to you would be stored. You can have multiple cryptoboxes on site (such as bitcoin, dash, dogecoin, etc) and all payment information for such transactions will be stored in that one table.

If you wish to move the table to your existing database, please run query below, it will create new crypto_payments table in your existing database; and after configure 'connectionStrings' in /GoUrl/Web.config.

CREATE TABLE dbo.crypto_payments (
   paymentID int IDENTITY(1,1) NOT NULL,
   boxID int NOT NULL,
   boxType nvarchar(10) NOT NULL,
   orderID varchar(50) NOT NULL,
   userID varchar(50) NOT NULL,
   countryID varchar(3) NOT NULL,
   coinLabel varchar(6) NOT NULL,
   amount decimal(20, 8) NOT NULL,
   amountUSD decimal(20, 8) NOT NULL,
   unrecognised tinyint NOT NULL,
   addr nvarchar(50) NOT NULL,
   txID char(64) NOT NULL,
   txDate datetime NULL,
   txConfirmed tinyint NOT NULL,
   txCheckDate datetime NULL,
   processed tinyint NOT NULL,
   processedDate datetime NULL,
   recordCreated datetime NULL

GoUrl Gateway Features

Our Payment Gateway with Instant Checkout allows you to easily organise your website -

  • 100% Free Open Source on
  • No Monthly Fee, Transaction Fee from 0%
  • No ID Required, No Bank Account Needed
  • Get payments straight to your bitcoin/altcoin wallets and convert to USD/EUR/etc later
  • Custom Payment Box - json format; customise your bitcoin payment box with your own text / logo
  • Pay-Per-Product - sell your products for bitcoin, bitcoin cash, litecoin, etc. online on your website. It is easy!
  • Pay-Per-Download - make money on file downloads/other digital content from your website online
  • Pay-Per-Post - get separate payments for each post/article published on your website
  • Pay-Per-Registration - earn money on user registration on your website; stop spam
  • Pay-Per-Page-Access - sell paid access to selected web page(es) to unregistered visitors online
  • Pay-Per-Membership - sell monthly/daily membership of your website to members online
  • Set your own Prices in USD. It will automatically convert usd to cryptocoins using Live exchange rates
  • Direct Integration on your website (iframe), no external payment pages opens (as other payment gateways offer)
  • User will see successful payment result typically within 5 seconds after the payment has been sent
  • Your website users and visitors will see GoUrl payment box on your website in their own native languages
  • Our Payment Gateway supports the following interface languages: English, Spanish, French, German, Dutch, Italian, Russian, Polish, Portuguese, Persian, Korean, Japanese, Indonesian, Turkish, Arabic, Simplified Chinese, Traditional Chinese, Hindi. We can also add any new language to payment system on request
  • Affiliate Program for Web Developers - Earn 0.50% Lifetime from each cryptocoin payment made by users through GoUrl Payment Gateway
  • Global, Anonymous, Secure, Zero Risk, No Chargebacks, No visitor registration is needed.
  • GoUrl Bitcoin Official Wordpress Plugin - easy to use on your website
  • Free Support in the integration of our GoUrl Crypto Payment Gateway in your scripts/plugins/website


GoUrl Bitcoin/Altcoin Payment Gateway offer a simple ASP.NET C# Package which you can easily integrate into your own ASP website in minutes.

Start accepting payments on your website, including all major cryptocoins, and start selling online in minutes. No application process.

The big benefit of Cryptocoin Payment Box is that it fully integrated on your website, no external payment pages opens (as other payment gateways offer).

Your website will receive full user payment information immediately after cryptocoin payment is made and you can process it in automatic mode.


How It Works

A. Website Owner / Seller Side

You can use the following steps to sell your products on your website for cryptocoins if you wish to and can automatically convert them to USD

  • Install GoUrl crypto Payment Box on your website and dynamically configure order id, currency, amount to pay, etc. Or use Monetiser Online if you don't have your own website.
  • You can accept payments in Bitcoins only or you can accept other coins - Bitcoin Cash, Dogecoin, Litecoin, Dash, etc also. See Demo1 (multiple coins) or Demo2 (Bitcoin only)
  • When you setup Cryptocoin Payment Box, you can enter the original amount in USD or in cryptocoins. The USD amount will be automatically converted to cryptocoin amount using today's LIVE cryptocurrency exchange rates (updated every 30 minutes) and the cryptocoin amount will be displayed in the payment box. For example, if you entered 20 USD, it will display 0.059 BTC in the payment box.
  • You will need to create an account on or on (trading platforms)
  • Setup so that all your received payments are automatically forwarded from your account to your account on Poloniex / Bitstamp (enter your Poloniex/Bitstamp coin wallet address in gourl payment box settings). And use the "autosell" feature (auto trade your cryptocoins to USD) on Poloniex/Bitstamp.
  • Using that functionality you don't need to worry if cryptocurrency prices go down or up. Within 1-2 hours after a cryptocoin payment has been received by you, your payment will be automatically converted to USD on Poloniex/Bitstamp and will be kept on your Poloniex/Bitstamp USD account.
  • Later you can withdraw your USD from Poloniex/Bitstamp to your own USA/UK/France/etc bank account

B. End User / Buyer Side

  • All your users will see GoUrl Payment Box on your webpage, and some users will use their coin wallets and make payments to you
  • In around 5 seconds after cryptocoin payment is made, user will see confirmation on your website page that payment is received (i.e. very fast)
  • Your website will automatically immediately receive current user id with full payment information from our payment server
  • The user will still be on your webpage and see that successful payment result, your script can automatically process payment and give user confirmation (for example, upgrading user membership or giving download link on your products, etc). All in automatic mode - no manual actions are needed
  • For user that payment procedure on your website will be looking very similar visually and compare with normal credit cards for its speed
  • No paperwork, no chargebacks, no monthly fee, low transaction fee (from 0%). Please note that during the next 30 minutes (after transaction is verified) payment will be automatically forwarded to your wallet address

Payment API List :


PHP Examples / Live Demo :


Bitcoin Payment Gateway API on ASP.NET. Accept Bitcoin, Litecoin, Dogecoin, Dash, Speedcoin, Reddcoin, Potcoin, Feathercoin, BTC, Vertcoin, Vericoin, Peercoin, Paycoin, MonetaryUnit, Swiscoin Payments Online on your ASP.NET C# website







No packages published