POST to your endpoint with a signed JSON payload.
Create and manage webhooks at dashboard.stellartools.dev/webhooks. When you create one, pick which events to subscribe to and copy the signing secret to verify deliveries.
Event envelope
Every webhook POST has the same top-level shape, regardless of event type.Envelope fields
The event type, e.g.
payment.confirmed or subscription.canceled. See the full list below.Event types
Customer events
Payment method events
Checkout events
Payment events
A payment is confirmed on the Stellar ledger. This is the event to act on when fulfilling an order.
Refund events
Subscription events
A subscription was updated (for example: paused, resumed, or
cancel_at_period_end was toggled). Includes previous_attributes.Handling events
Usest.webhooks.constructEvent to verify the signature and get the typed event back. Always verify before acting on the payload.
If
constructEvent throws, the signature is invalid or the payload was tampered with. Return a 400 and do not process the event.
