Fuse APIs use webhooks to asynchronously notify your APIs of important events during a user's lifetime.
Registering Webhooks
You can register new webhooks by visiting the settings for webhooks within Fuse Dashboard. For Sandbox, you can configure webhooks by visiting the same page within the Fuse Sandbox Dashboard.
When registering a webhook you will need to provide two things:
- A URL — this is what will be called when there is an event to send to you
- A list of events to subscribe to — choose which events you want us to tell you about
Available Events
analytics.started
— a user's risk and affordability factors have started to be calculatedanalytics.finished
— a user's risk and affordability factors have finished being calculatedbyod_accounts.started
— a user's BYOD account data has started to be importedbyod_accounts.finished
— a user's BYOD account data has finished being importedbyod_transactions.started
— a user's BYOD transaction data has started to be importedbyod_transactions.finished
— a user's BYOD transaction data has finished being importedopen_banking_sync.started
— a user's open banking data has started being syncedopen_banking_sync.finished
— a user's open banking data has finished being synceduser.deleted
— a user has been deleted
When using our standard Opening Banking Flow events are fired in the following order:
open_banking_sync.started
open_banking_sync.finished
analytics.started
analytics.finished
When using a BYOD flow events are fired in the following order:
byod_accounts.started
byod_accounts.finished
byod_transactions.started
byod_transactions.finished
analytics.started
analytics.finished
Handling Events
Fuse uses Svix to provide webhook services. See the Svix documentation on how to build and handle webhooks correctly.
Svix helpfully provides a number of libraries for handling webhooks in different languages which can be really helpful to get started.
Important
Make sure to verify your webhooks are coming from Fuse — attackers can impersonate services by simply sending a fake webhook to an endpoint, which could have dangerous consequences for lending decisions made on the basis of events received.
The Svix libraries provide verification functionality as standard.
Webhook Payloads
You can find documentation on what each webhook event will have in the payload by going to the settings page for webhooks in the Fuse Dashboard and clicking the "Event Catalog" tab. For Sandbox, visit the same page and tab within the Fuse Sandbox Dashboard.
On this tab you will find detailed documentation describing the JSON payload for each event, along with example payloads that you can use for testing.