Testing checklist

Before you go live, we recommend that you complete the following testing checklist.

Test Endpoint Task
Create a new webhook /v2/webhooks Create a new webhook successfully, using all fields that will be used in live requests. Check that the request is successful and that your app handles the JSON response correctly.
List all webhooks /v2/webhooks?accountId={accountId} Ensure that the request to view the details of all existing webhooks functions properly. Check that the request is successful and that your app handles the JSON response correctly.
Retrieve a webhook's details /v2/webhooks/{webhookId}?accountId={accountId} Ensure that the request to view the details of an existing webhook functions properly. Check that the request is successful and that your app handles the JSON response correctly.
Update an existing webhook /v2/webhooks/{webhookId}?accountId={accountId} Update an existing webhook, for example to provide a new URL. Check that the request is successful and that your app handles the JSON response correctly.
Delete an existing webhook /v2/webhooks/{webhookId}?accountId={accountId} Delete an existing webhook. Check that the API call is made correctly to request deletion and that your app handles the response correctly. Optionally, check the list of all webhooks again to make sure deletion has been successful.