Add a webhook endpoint
create_webhookRegisters a public HTTPS URL that receives a POST for each chosen event (JSON {id, type, created_at, data}). Returns secret (shown once): verify each delivery with HMAC-SHA256 of "." against the Webhook-Signature header ("v1="). Deliveries are at-least-once — dedupe by Webhook-Id. Up to 10 endpoints.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public HTTPS URL. | |
| events | Yes | Events to deliver. Typical: ["invoice.paid","invoice.expired","payout.completed","payout.failed"]. |