HandleEvent
Handle Stripe Webhook Events.
This task receives a Stripe webhook payload, validates the signature, and outputs the parsed event.
yaml
type: "io.kestra.plugin.stripe.webhook.HandleEvent"Examples
Receive a Stripe webhook
yaml
id: stripe_webhook
namespace: company.team
tasks:
  - id: handle_webhook
    type: io.kestra.plugin.stripe.webhook.HandleEvent
    apiKey: "{{ secret('STRIPE_API_KEY') }}"
    payload: "{{ trigger.payload }}"
    signatureHeader: "{{ trigger.headers['Stripe-Signature'] }}"
    endpointSecret: "{{ secret('STRIPE_WEBHOOK_SECRET') }}"
Properties
apiKey *Requiredstring
Stripe API Key
Secret key for authenticating with Stripe. Starts with 'sk_' for live/test keys.
endpointSecret *Requiredstring
Endpoint secret configured in Stripe for webhook validation
payload *Requiredstring
Raw webhook payload from Stripe
signatureHeader *Requiredstring
Stripe-Signature header
Outputs
data object
Event data object
id string
Stripe event ID
raw string
Raw payload of the webhook