TonicPow will send events related to your application to the webhook URL you specify when creating an application.
Method: POST
Expected Status: 200
Click webhook will be triggered after a click that was batched has been processed and a txid was broadcasted to the Bitcoin network.
{ "type": "click", "data": { "amount": number, // amount in satoshis "campaign_id": number, // associated campaign id "campaign_slug": string, // campaign URL slug "tncpw_session": string, // visitor session "tx_id": string, // payout tx_id } }
Conversion webhook will be triggered after a conversion that was batched has been processed and a txid was broadcasted to the Bitcoin network.
{ "type": "conversion", "data": { "amount": number, // amount in satoshis "campaign_id": number, // associated campaign id "campaign_slug": string, // campaign URL slug "tncpw_session": string, // visitor session "tx_id": string, // payout tx_id "goal_id": number, // associated goal id } }