Create a webhook endpoint
create_webhook_endpointCreates a webhook endpoint and returns its signing secret once, so you can verify Perly-Signature on incoming events. Use this to receive real-time payment, subscription, and refund notifications.
Instructions
Create a webhook endpoint.
The response carries secret — the only time you see it. Keep it to verify Perly-Signature.
Test keys only: refused with a live key.
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>"
},
"name": "create_webhook_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| description | No | ||
| enabled_events | No | Event types to send, or `["*"]` for every one. |