Set your webhook endpoint
set_webhookRegister an HTTPS endpoint to receive updates on every terminal order state, eliminating the need for polling. The returned signing secret is shown only once, so store it immediately.
Instructions
Registers an https endpoint we call on every terminal order state, so you can stop polling. RETURNS THE SIGNING SECRET EXACTLY ONCE — show it to the user and tell them to store it now; it can never be read back. Private, loopback and cloud-metadata addresses are refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | https endpoint. http, private ranges and loopback are refused | |
| events | No | Omit for all events |