create_webhook
Set up real-time payment notifications by creating webhooks that send POST requests to your specified URL when invoice events occur.
Instructions
Create a new webhook for real-time payment notifications.
Args: url: The URL to receive webhook POST requests. events: Comma-separated event types or 'all'. Common events: InvoiceSettled, InvoiceExpired, InvoiceInvalid, InvoiceReceivedPayment, InvoicePaymentSettled. Default: 'all'. secret: Optional secret for HMAC-SHA256 signature verification. automatic_redelivery: Auto-redeliver failed webhooks. Default: False.
Returns the webhook ID and configuration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| events | No | all | |
| secret | No | ||
| automatic_redelivery | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |