spraay_webhook_register
Register a webhook endpoint to receive real-time POST events for payments, escrows, swaps, and invoices. Returns webhook ID and HMAC secret for signature verification.
Instructions
Register a webhook endpoint to receive real-time POST events for payments, escrows, swaps, invoices, and more. Returns webhook ID and HMAC secret for signature verification. Data persists in Supabase. Costs $0.003 USDC.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Webhook URL to receive POST events (e.g. 'https://yourapp.com/webhook') | |
| events | Yes | Events to subscribe to (e.g. ['payment.sent', 'escrow.funded', 'swap.completed']) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the gateway call succeeded; false when it returned an error. | |
| data | No | The gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block). | |
| error | No | Human-readable error message, present only when ok is false. |