Create webhook
loyverse_create_webhookSubscribe an HTTPS endpoint to a Loyverse event so it receives live merchant business data. Use only URLs provided by the user.
Instructions
Subscribe an https endpoint to a Loyverse event. The endpoint will receive the merchant's live business data, so only register a URL the user has given you.
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>",
"type": "<type>"
},
"name": "loyverse_create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The https endpoint Loyverse will POST to. | |
| type | Yes | Which event to subscribe to. | |
| status | No |