Set a webhook URL
The information on webhook locations isn't there in the UI. I don't see any options for "Production Webhook URLs" and "Sandbox Webhook URLs" in the webhooks tab anymore.
Your webhook URL can be configured in your account settings page. We recommend obfuscated, hard-to-guess URLs so as to reduce the chance of a bad-actor attempting to send false events.
Testing Webhooks Locally
You can set your Webhook URL on your sandbox account to a local URL (e.g.
http://localhost
,127.0.0.1
, etc.). We recommend using a tool such as ngrok.
1. Update URLs in Developer settings
When in the dashboard, click on Developers > Webhooks in the navigation. There you will find an option to add a "New Webhook Endpoint" or view the details of existing ones. Note that you are only able to add webhooks for your current environment (sandbox or production). Adding webhooks while in the production and sandbox environments will set the the Live Mode
attribute to true
and false
, respectively.
HTTPS
Note that product URLs must be over HTTPS (e.g. start with
https://
).
Updated about 1 year ago