---
title: "Stripe webhook"
method: POST
path: "/api/billing/webhook"
tags: ["Billing"]
---

# Stripe webhook

`POST /api/billing/webhook`

## Request

- Base URL: `https://slimlytics.com`
- URL: `https://slimlytics.com/api/billing/webhook`
- Auth: none required

Called by Stripe. Requires a valid Stripe-Signature header; each event is applied once and re-syncs the customer's subscription.

## Response `200`

Event received

- object
  - `received` boolean
  - `duplicate` boolean

## Other responses

- `400`: Invalid signature or payload

---

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