<p>Yes, you can do that. Yes, it will eventually stop sending callbacks.</p>
<blockquote>
<p>Expected Response</p>
<p>In order to acknowledge successful processing of the callback the server should respond with the text <code>*ok*</code>. If the server responds with anything else the callback will be resent again every new block (approximately every 10 minutes) up to 1000 times (1 week).</p>
</blockquote>
<p><a href="https://blockchain.info/api/api_receive" rel="nofollow noreferrer">https://blockchain.info/api/api_receive</a></p>

CC BY-SA 3.0
2015-08-07T09:38:26.173Z
Thanks for that. I implemented it a few days ago and seems to be working fine.
BlockChain
CC BY-SA 3.0
2015-08-03T10:41:14.007Z
2015-08-03T10:41:14.007Z
2020-06-16T11:10:03.350Z
Nick ODell
<p>I'm receiving BitCoin payments via the blockchain.info api.</p>

<p>I notice it sends a confirmations parameter, and it also continues to call the callback url until the response is <code>*ok*</code>.</p>

<p>Instead of manually checking every x minutes via a third-party site to see whether or not txid has x confirmations, would it be possible to just not output <code>*ok*</code> until there is x confirmations?</p>

<p>I'm not sure whether or not the blockchain stops sending the callback, and was wondering if this is possible or not.</p>

<p>Cheers.</p>

<api><blockchain.info>
Retrieving BitCoin Payments, Confirmation Question
BlockChain
# Retrieving BitCoin Payments, Confirmation Question

(Asked by: username_0 on 2015-08-03)

I'm receiving BitCoin payments via the username_0.info api.

I notice it sends a confirmations parameter, and it also continues to call the callback url until the response is `*ok*`.

Instead of manually checking every x minutes via a third-party site to see whether or not txid has x confirmations, would it be possible to just not output `*ok*` until there is x confirmations?

I'm not sure whether or not the username_0 stops sending the callback, and was wondering if this is possible or not.

Cheers.

**Tags:** api, blockchain.info


---

## 1 answers

### Answer by username_1 on 2015-08-03. Score: 0 | Accepted answer

Yes, you can do that. Yes, it will eventually stop sending callbacks.

> Expected Response
>
> In order to acknowledge successful processing of the callback the server should respond with the text `*ok*`. If the server responds with anything else the callback will be resent again every new block (approximately every 10 minutes) up to 1000 times (1 week).

<https://username_0.info/api/api_receive>

> **Comments:**
> **username_0**: Thanks for that. I implemented it a few days ago and seems to be working fine.  

---

