Webhooks are a convenient way for Plaid to reach out to your application servers to let you know that there’s new data available, an issue that needs to be fixed, or that a long-running process is complete.
In this episode of Plaid Academy, we’ll find out how webhooks work, how you can test them when you’re still developing on localhost, and how you can set or change the webhook URLs that Plaid talks to.
Tutorial resources repo on Github: https://github.com/plaid/tutorial-resources
Getting started video: https://www.youtube.com/watch?v=sGBvKDGgPjc
Download ngrok: https://ngrok.com/download
Plaid API documentation: https://plaid.com/docs/api/
Table of Contents:
0:00 – Introduction
1:12 – What is a webhook?
2:29 – Running the sample app
4:54 – Webhook logs in the dashboard
5:51 – Sending test webhooks
7:43 – Webhook types and codes
9:44 – Setting webhook URLs
10:33 – Viewing webhook payloads
11:20 – Getting started with webhook.site
12:20 – Changing webhook URLs
16:45 – Talking to localhost and ngrok
18:08 – Getting started with ngrok
20:03 – Isolating our webhook URL
23:18 – One webhook URL, or many?
24:20 – Processing Plaid webhooks
26:42 – Thank you!