user12997: After a few weeks of searching for an answer, I decided to ask here.
I want to accept a Bitcoin payment, to a specific wallet, and immediately, when the user approved the payment, to receive an indication that the payment was made.
The problem is, I don't want to wait until it is verified in a block, which takes around 10 minutes, I need the approval in seconds, not minutes.
How can I receive an indication that a Bitcoin transaction was occured to my wallet, in the last seconds?

user11121: If using the walletnotify option in bitcoin.conf, you can get a notification any time a transaction occurs on the network that matches a bitcoin address in the wallet. To use this, of course, you'll have to keep Bitcoin-QT or bitcoind running at all times.
https://en.bitcoin.it/wiki/Running_Bitcoin
Once you have the transaction id, you'll have to look up the transaction, either at an online service like blockchain.io or use a bitcoind json-rpc command to learn more about the transaction and what action you would like to take.

12997: <p>After a few weeks of searching for an answer, I decided to ask here.</p>

<p>I want to accept a Bitcoin payment, to a specific wallet, and immediately, when the user approved the payment, to receive an indication that the payment was made.</p>

<p>The problem is, I don't want to wait until it is verified in a block, which takes around 10 minutes, I need the approval in seconds, not minutes.</p>

<p>How can I receive an indication that a Bitcoin transaction was occured to my wallet, in the last seconds?</p>
 11121: <p>If using the <code>walletnotify</code> option in <code>bitcoin.conf</code>, you can get a notification any time a transaction occurs on the network that matches a bitcoin address in the wallet. To use this, of course, you'll have to keep Bitcoin-QT or <code>bitcoind</code> running at all times.</p>
<p><a href="https://en.bitcoin.it/wiki/Running_Bitcoin" rel="nofollow noreferrer">https://en.bitcoin.it/wiki/Running_Bitcoin</a></p>
<p>Once you have the transaction id, you'll have to look up the transaction, either at an online service like blockchain.io or use a <a href="https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list" rel="nofollow noreferrer">bitcoind json-rpc</a> command to learn more about the transaction and what action you would like to take.</p>
