Mohit Bumb
Mohit Bumb

Reputation: 2493

How to Track if Payment is Received with API in Coinbase

I am using coinbase api https://github.com/coinbase/coinbase-php and I successfully created order button but I didn't found anything to confirm or track that I have received payment.

<?php
    require_once 'lib/coinbase.php';
    require_once 'config.php';
    $coinbase = Coinbase::withApiKey(Key, Secret);
    echo $coinbase->createButton("Bullion Products", "10.00", "BTC")->embedHtml;
?>

With this codes I am able to show Pay with bitcoins its showing correct values but just want to track with API that someone send me bitcoins so I'll do some action according to it.

Thanks

Upvotes: -1

Views: 958

Answers (1)

Chris Martin
Chris Martin

Reputation: 30756

Use the callback_url option as described in the API.

Upvotes: 0

Related Questions