Transaction Notifications
After a purchase has been made by the user journey you helped start, it is time to close the loop and get notified of that transaction. In this section we'll walk through Button Webhooks and show you how to receive order reports to an endpoint of your choice.
Button allows you to configure Webhooks so you can receive real-time updates to your system that track various user actions. To do so, you can configure and test this webhook in your Button Dashboard. After configuration is complete, Button will send you an HTTP request when any of those events are created.
All webhooks received must be validated before acting on their contents. See Security for details.
For full source code of sample apps in Node.js, Ruby, and Python that securely receive Button Webhooks, see here. You can also find these in the Example Implementation section, below.
Updated 10 months ago