Skip to content

ButterIX v1 is out: versions, multiple languages, Ask AI, and a per-site MCP server, all built in. →

Webhook payload snippet

<WebhookPayloadSnippet> embeds a webhook's payload example from the API reference.

This component pulls data from the API reference, so it updates automatically with the OpenAPI spec.

A webhook payload example:

<WebhookPayloadSnippet webhook="payment.succeeded" example="Refunded" />
webhookstringRequired
Webhook name, operationId, or a key of the form WEBHOOK <name>.
examplestring
Named example.
highlightstring | array
Lines to highlight.

In the page's .md version it's a JSON code block with the payload example.

This site's platform API doesn't define any webhooks, so no rendered example is shown here; for how to write them in the spec, see Webhooks and SSE.