<p>I'm not sure about Nbitcoin node's API, but I could help you on a blockchain explorer API.</p>

<p>I would recommend Blockr.io, they are fast and trustable. Use the following code to check for confirmed transactions: (output is in json)</p>

<pre><code>http://btc.blockr.io/api/v1/address/balance/198aMn6ZYAczwrE5NvNTUMyJ5qkfy4g3Hi,1L8meqhMTRpxasdGt8DHSJfscxgHHzvPgk?confirmations=1
</code></pre>

<p>Change the confirmations tag to whatever amount you want. I highly advise against 0.</p>

CC BY-SA 3.0
2016-08-22T21:46:20.080Z
2016-08-22T21:46:20.080Z
Whyte the Weeabear
<p>I am planning to write a site that receive payments in Bitcoin.</p>

<p>The client add products to the cart, then during check out I will create a Bitcoin address to let him pay for it (each cart gets a unique address). I found the code to create multiple address <a href="http://www.codeproject.com/Articles/768412/NBitcoin-The-most-complete-Bitcoin-port-Part-Crypt" rel="nofollow">here</a>. I plan to use the <code>NBitcoin</code> library.</p>

<p>How do I verify the Bitcoin address has been paid? I'm planning to use a service like blockchain.info, but I only have the following information</p>

<ol>
<li>destination Bitcoin address (my generated address)</li>
<li>the amount it should receive</li>
</ol>

<p>Is there an easy way to use blockchain.info to query that my address was really paid using C#? I read the API but it is confusing.</p>

<payment><payment-processors><website-integration><nbitcoin>
How to confirm a payment was made?
Adi Wijaya
# How to confirm a payment was made?

(Asked by: username_0 on 2016-08-22)

I am planning to write a site that receive payments in Bitcoin.

The client add products to the cart, then during check out I will create a Bitcoin address to let him pay for it (each cart gets a unique address). I found the code to create multiple address [here](http://www.codeproject.com/Articles/768412/NBitcoin-The-most-complete-Bitcoin-port-Part-Crypt). I plan to use the `NBitcoin` library.

How do I verify the Bitcoin address has been paid? I'm planning to use a service like blockchain.info, but I only have the following information

1. destination Bitcoin address (my generated address)
2. the amount it should receive

Is there an easy way to use blockchain.info to query that my address was really paid using C#? I read the API but it is confusing.

**Tags:** payment, payment-processors, website-integration, nbitcoin


---

## 1 answers

### Answer by username_1 on 2016-08-22. Score: 1

I'm not sure about Nbitcoin node's API, but I could help you on a blockchain explorer API.
I would recommend Blockr.io, they are fast and trustable. Use the following code to check for confirmed transactions: (output is in json)
http://btc.blockr.io/api/v1/address/balance/198aMn6ZYAczwrE5NvNTUMyJ5qkfy4g3Hi,1L8meqhMTRpxasdGt8DHSJfscxgHHzvPgk?confirmations=1

Change the confirmations tag to whatever amount you want. I highly advise against 0.


---

