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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>",
"events": "<events>"
},
"name": "create_webhook"
}
}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"]. |