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

# Stripe webhook receiver

`POST /api/billing/webhook`

## Request

- Base URL: `https://snaplab.dev`
- URL: `https://snaplab.dev/api/billing/webhook`
- Auth: none required

Stripe calls this. The raw body is verified against `Stripe-Signature`; it is not part of the public API.

## Headers

- `Stripe-Signature` string, required

## Request body

- object

## Response `200`

Event accepted.

- object
  - `received` boolean

## Other responses

- `400`: Bad signature or malformed event.

---

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