GoCardless Embed
Handling webhooks
In this step of the GoCardless Embed guide you will use GoCardless' webhooks to respond to event actions and send payer notifications.
Follow the staying up to date with webhooks guide to:
create a webhook endpoint through the GoCardless dashboard.
set up a webhook handler to listen to webhook events.
The API reference docs contain the full list of event actions.
Payer Notifications
All direct debit schemes require certain notifications to be sent to payers, for example when a mandate is set up or a certain amount of time before a payment is taken. As a user of the GoCardless Embed product, we expect you will want to send your own payer notifications so that you can customise and brand them as you see fit.
GoCardless will send a webhook for every notification you need to send. This will allow you stay within the scheme rules. You can read this more detailed guide on handling payer notifications.