Create a webhook endpoint
create_webhookRegister a webhook endpoint. The response contains secret (whsec_...) ONCE: store it as COINVELLO_WEBHOOK_SECRET. Live endpoints must be HTTPS; test endpoints may be http://localhost. Use events ["*"] for everything or a list such as ["invoice.paid","invoice.expired"].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| events | Yes | Event types or ["*"]. Common: invoice.paid, invoice.confirming, invoice.underpaid, invoice.overpaid, invoice.expired, payment.detected, checkout_session.completed. | |
| enabled | No | ||
| metadata | No | Up to 50 string key/value pairs returned on the object and in webhooks. | |
| description | No |