---
title: "Stripe webhook endpoint"
method: POST
path: "/v1/stripe/webhooks"
tags: ["Stripe"]
---

# Stripe webhook endpoint

`POST /v1/stripe/webhooks`

## Request

- Base URL: `https://api.astrocal.dev`
- URL: `https://api.astrocal.dev/v1/stripe/webhooks`
- Auth: none required

Receives Stripe webhook events. Verifies the signature using the webhook signing secret. Handles payment_intent.succeeded and payment_intent.payment_failed events.

## Response `200`

Webhook received

- object
  - `received` boolean, required

## Other responses

- `400`: Invalid signature

---

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