Configure your deposit system to call the following URL, replacing the value of the address parameter with your destination address and the value of the callback parameter with your server's callback URL:

copy https://blockchainapi.org/api/receive?method=create&address=1LisLsZd3bx8U1NYzpNHqpo8Q6UCXKMJ4z&callback=http://example.com/callback?invoice_id=1234

The customer's deposit address will be contained in the input_address property of the response.

copy { "fee_percent": 1, "destination": "1LisLsZd3bx8U1NYzpNHqpo8Q6UCXKMJ4z", "input_address": "1E2VSRsaW3Kb1gDkdRUGDo6knAKfi9iYsb", "callback_url": "http://example.com/callback?invoice_id=1234" }

After a payment is made to the deposit address, we will forward the Bitcoin directly to the destination address you supplied and our server will send a callback GET request to your server that looks like this:

copy http://example.com/callback?invoice_id=1234&secret=7j0ap91o99cxj8k9&value=100000000&input_address=1E2VSRsaW3Kb1gDkdRUGDo6knAKfi9iYsb&confirmations=3&transaction_hash=0e3e2357e806b6cdb1f70b54c3a3a17b6714ee1f0e68bebb44a74b1efd512098&input_transaction_hash=4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b&destination_address=1LisLsZd3bx8U1NYzpNHqpo8Q6UCXKMJ4z

Please see the official documentation for many more details and examples.