create_webhook
Create a webhook to receive SpherePay event notifications. Provide a name, HTTPS endpoint, and subscribe to specific events like customer.create or transfer.update. Returns a secret for verifying webhook signatures.
Instructions
Create a webhook to receive event notifications. Provide a name, url (HTTPS endpoint), and events to subscribe to. Use ['*'] to subscribe to all events. Example events: customer.create, transfer.update, bankAccount.create. Returns a secret for webhook signature verification - save it.
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": {
"name": "<name>",
"url": "<url>",
"events": "<events>"
},
"name": "create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| url | Yes | ||
| events | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||