Sign a test webhook payload
sign_webhook_payloadBuild a webhook body with a VALID signature header for a provider, to test a handler's signature verification without triggering a real event. Providers: stripe, github, shopify, slack, twilio, mailgun. Returns the headers, the exact body to send and a ready-to-run curl command.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| secret | Yes | The webhook signing secret configured in your handler (whsec_… for Stripe) | |
| payload | No | JSON payload (or form fields as JSON for Twilio). Default: a realistic sample event. | |
| provider | Yes | ||
| event_type | No | Sample event to use when no payload is given, e.g. checkout.session.completed | |
| target_url | No | Handler URL (required for Twilio, whose signature covers the URL) |