---
title: "Stripe webhook receiver"
method: POST
path: "/api/stripe-webhook"
---

# Stripe webhook receiver

`POST /api/stripe-webhook`

## Request

- Base URL: `https://marketnow.site`
- URL: `https://marketnow.site/api/stripe-webhook`
- Auth: none declared

Receives Stripe webhook events. Verifies signature using STRIPE_WEBHOOK_SECRET. Handles: checkout.session.completed, payment_intent.payment_failed, charge.refunded.

**This endpoint is called by Stripe, not by agents.**

## Response `200`

Webhook received

## Other responses

- `400`: Invalid signature

---

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