<p>normally it has to be 200, the 302 mean that the requested resource resides temporarily under a different URI.</p>

<p>Dont block "GET" requests on your code because blockchain use GET method to send your notifications about the transactions.</p>

<p>Use your full domain name including the leading www example : </p>

<p><a href="http://www.example.com/callback" rel="nofollow noreferrer">http://www.example.com/callback</a>....</p>

<p>In case of https ! make sure you include it in the callback URL.</p>

CC BY-SA 3.0
2017-07-10T01:50:14.827Z
2017-07-10T01:50:14.827Z
Hamza Azerhouni
<p>I want to integrate the Blockchain.info Payment API and everything works fine so far. The callback works and triggers the code on my server, if a payment comes in. But if I check the callback log of Blockchain.info, it says, it retrieved the status code 302 back from my server when calling the callback url. If I check the callback url in the browser or with curl, I just get a status code 200.</p>

<p>Is that some known problem? Or does anybody know whats the issue is here? Or is everything fine and the blockchain.info service can read the <em>ok</em> from my server? Otherwise my callback will be banned if I read the docs correctly...</p>

<blockchain.info><api>
Blockchain.info Payment API -> Callback gets a 302?
jan
# Blockchain.info Payment API -> Callback gets a 302?

(Asked by: username_0 on 2017-05-17)

I want to integrate the Blockchain.info Payment API and everything works fine so far. The callback works and triggers the code on my server, if a payment comes in. But if I check the callback log of Blockchain.info, it says, it retrieved the status code 302 back from my server when calling the callback url. If I check the callback url in the browser or with curl, I just get a status code 200.

Is that some known problem? Or does anybody know whats the issue is here? Or is everything fine and the blockchain.info service can read the *ok* from my server? Otherwise my callback will be banned if I read the docs correctly...

**Tags:** blockchain.info, api


---

## 1 answers

### Answer by username_1 on 2017-07-10. Score: 0

normally it has to be 200, the 302 mean that the requested resource resides temporarily under a different URI.

Dont block "GET" requests on your code because blockchain use GET method to send your notifications about the transactions.

Use your full domain name including the leading www example :

<http://www.example.com/callback>....

In case of https ! make sure you include it in the callback URL.


---

