Not sure what exactly was the issue described above but I'm guessing it was related to decoding the JSON body. The full transaction is sent in the POST body as JSON, make sure you decode that properly with the programming language you're using (for ex in PHP check
http://stackoverflow.com/questions/8945879/how-to-get-body-of-a-post-in-php).
Once you can decode the full transaction, the number of confirmations is a property there.
I tested with this...
http://blockcypher.github.io/php-client/sample/doc/payment-api/CreateForwardingAddress.htmlWhen payment is made to the created address, it is getting forwarded with a success callback like...
Results: Array
(
)
Results: Array
(
[uniqid] => 54321abcde
)
sample data usedOnce callback URL, which contains the following code, is called with this Unique ID...
http://blockcypher.github.io/php-client/sample/doc/payment-api/GetForwardingAddress.htmlI am getting the following result...
Results: Array
(
)
Results: Array
(
[uniqid] => 54321abcde
[__utma] => 12.34.56.78.90.12
[fc] => {"abcd":"1:1234"}
[pv] => {"d":"1:5432"}
[__cfduid] => abcde54321
[_ga] => GA1.2.34.56
[__utmz] => 98.76.54.32.utmcsr=example.com|utmccn=(referral)|utmcmd=referral|utmcct=/example/
)
sample data usedNow, how do I decipher the above data?