How to make sure your code is okay before going to production
Before going live you would want to test how is your endpoint actually performing.
There is a "Test" button in the "Create webhook" dialog. It sends you a dummy payload with random values roughly corresponding to the expected event payload. We will then show you the results of a single delivery attempt.
A few things to note regarding test payloads:
- The payload will contain
isLive: falsekey in order to distinguish it from actual live events which will haveisLive: true. webhookIdis set to 0.- Authorization header is signed with
slavaukrainisecret instead of your actual user secret. argswill NOT contain emulated values but rather a static dummy value. Please accommodate that in your webhook handler.
You can use a wonderful https://webhook.site to see the actual webhook payload format before pointing the app to your endpoint.