Responding to Billing Request events

Responding to Billing Request events

This doc shows the events that are produced as part of a Billing Request’s lifecycle, and how you can use them to understand how your customers are behaving across your requests.

Events and webhooks

When things happen in GoCardless's system, we create an event to record that it happened. You can browse your events in the dashboard or via the API.

Integrators who want to respond to events as they happen can follow the Staying up-to-date with webhooks guide, where you configure a webhook endpoint to receive events as they happen.

Billing Request events

Now you know about events and how to use them, we can explain what events are available for Billing Requests.

Billing Requests are the touchpoint between a merchant and their customer, and everyone can benefit from a high level of visibility into the process. For this reason, we aim to provide events for:

  • Whenever any state in the Billing Request changes

  • Payer interactions, such as opening a Billing Request Flow link

  • Any situations that might require contacting the payer, such as bank authorisation failure

Each event aims to reference every resource that might be relevant. Across the events, we have the following link fields:

billing_request

The billing request ID

billing_request_flow

The flow that triggered the event, if from a flow

customer

Associated customer ID

customer_bank_account

Whatever bank account is associated with the event

bank_authorisation

whatever bank authorisation is associated with the event

institution_id

whatever institution associated with the event

payment_request_payment

payment ID that was created as part of the request

mandate_request_mandate

mandate ID that was created as part of the request

We’ll split this section into a header per event, with a small explanation of what the event does. We’ll include an example event in the same format you’d see from the List Events endpoint, or what you’d receive in a webhook.

More detail on events

What’s next?

Reconciling payouts

Get started

Billing Request overview

First instant payment with mandate Direct Debit set up

Collect Verified Mandates

Collect Direct Debit Mandates

For partners

Go to Partner PortalTo learn more about technical and UX requirements