---
title: "Stripe Webhook"
method: POST
path: "/api/v1/webhooks/stripe"
tags: ["webhooks"]
---

# Stripe Webhook

`POST /api/v1/webhooks/stripe`

## Request

- Base URL: `https://api.gnosari.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gnosari.com/api/v1/webhooks/stripe`
- Auth: none declared

Handle Stripe webhook events with signature verification.

This endpoint:
1. Verifies webhook signature (OUTSIDE UoW transaction)
2. Checks for duplicate events (idempotency)
3. Logs event
4. Processes event based on type
5. Marks event as processed
6. Commits all DB writes

## Response `200`

Successful Response

- WebhookResponse: Response schema for webhook endpoint.
  - `status` string, required: Processing status

---

[API](https://skmtc.dev/gnosari/apis/gnosari-api.md) · [All operations](https://skmtc.dev/gnosari/apis/gnosari-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gnosari/apis/gnosari-api/revisions/f299cf53ae5f?raw)
