Create webhook
create_webhookRegister a webhook URL to receive YooKassa event notifications for payment, refund, and payout updates.
Instructions
Register a webhook URL for YooKassa events (payment.succeeded, refund.succeeded, etc.).
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": {
"event": "<event>",
"url": "<url>"
},
"name": "create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | HTTPS URL to receive webhook notifications | |
| event | Yes | Event type to subscribe to |