> ## Documentation Index
> Fetch the complete documentation index at: https://docs.khanhng.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 4.11 Webhooks

> Signed callbacks from external services.

Signed callbacks from external services.

## Receive a Stripe refund event

`POST /v1/webhooks/stripe`

Accepts a Stripe webhook only after verifying its signature against the configured webhook secret. This endpoint uses Stripe-Signature, not Entra bearer auth.

**Header parameters**

**Stripe-Signature** `string` *required*

Stripe signature for the request payload.

**Request body** (`application/json`, required): Stripe event payload. The signature is verified against the exact request bytes. Additional properties are allowed.

**Responses**

| Status | Description | Body |
| - | - | - |
| 200 | Successful Response | [`StripeWebhookResponse`](https://docs.khanhng.com/decision-lane/api-reference/models#stripewebhookresponse) |
| 400 | The request is invalid or violates a business rule. | [`ErrorResponse`](https://docs.khanhng.com/decision-lane/api-reference/models#errorresponse) |
| 422 | Validation Error | [`HTTPValidationError`](https://docs.khanhng.com/decision-lane/api-reference/models#httpvalidationerror) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.