Configure your webhook scenario simulations

Get deeper control when testing your integration flows by configuring webhook simulator scenarios. Use your own data in webhooks, and customize flows by providing specific options to more accurately test your integrations end-to-end.

What's new?

We've released an update to webhook simulator for scenario simulations. You can now:

This lets you more accurately test and optimize your webhook integrations to have increased confidence everything is working as expected before going live.

Screenshot of the new scenario configuration drawer for webhook simulator. It shows a subscription creation scenario with various entities and options you can now configure the simulation with.

How it works

You can use webhook simulator to send test webhooks for single events or predefined scenarios as part of testing and integration.

Previously, scenarios played a predefined set of events. Now, you can configure your scenario webhook simulations with entities and options.

Every scenario can be configured with entities and options. Each scenario has its own set list of entities and options you can provide.

Entities

Use entities to populate simulated webhook payloads with your real data.

They map to your existing Paddle entities, such as customers and subscriptions.

Providing existing entities when configuring a scenario simulation populates the payloads of sent webhooks with the details of that entity, but doesn't determine what webhooks are sent in a flow.

Options

Options determine what flow should occur within specific scenarios, including which webhooks are sent and the details they contain.

These are related to what user actions were taken, or what fields are present on certain entities when the scenario takes place.

For example, you can specify whether a user failed a payment when renewing their subscription, and if that subscription should cancel or pause.

Summary of changes

This is a summary of the changes to fields in the Paddle API:

simulation.configNew FieldProvide an object with the field name of the scenario type you wish to configure. Include entities and options within to customise and configure webhook scenario simulations.

Next steps

This change is available in version 1 of the Paddle API, and in the Paddle dashboard.

It's a non-breaking change, meaning it doesn't impact existing integrations.

We recommend reading more on how to configure simulations, which entities and options are available for each scenario type, and which webhooks are sent based on which configuration options have been selected.

Related pages