# controller\_stripe\_webhook

Source: https://zotonic.com/docs/3163/controller_stripe_webhook

URI: https://zotonic.com/id/3163

Language: en



Handle Stripe checkout callbacks.

Accept POST events at `/stripe/webhook`. Verify the Stripe signature against the raw body using `mod_payment_stripe.webhook_secret`, then process supported Checkout Session events through the shared payment receive logic. Unknown-payment imports depend on mod\_payment configuration. Invalid signatures are rejected; processing failures return an error response for provider retries.

Generate the endpoint through its dispatch rule, for example:

```django
{% url stripe_payment_webhook %}
```

This provider-facing endpoint uses the verification described above rather than an administrator login.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/3163?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/3163?language=en>)
