This guide explains how to implement a custom payment mechanism using Webhooks in LeadDyno. You may consider using this if you wish to implement your own compensation system (e.g. providing internal credit via your own application or store). By implementing a custom webhook payment, you can handle the compensation payout using whatever system you would like.
In this article
Enable Webhook Payments
Enter the Webhook URL to handle payment.
Webhook Payment Button
After saving a URL, you will see a new button in your payment UI:
when this button is clicked, an HTTP POST will be made to the custom URL you entered with the following parameters:
hmac- The SHA1 hmac of the email of the affiliate, using your private key as the key
amount- The amount due
affiliate_id- The LeadDyno ID of the affiliate
affiliate- The email of the affiliate
currency- The currency code of the commission
Below is a RequestBin of a sample POST:
Limitations / Known Issues