---
title: "Handle Stripe checkout webhook events (public)"
method: POST
path: "/i/webhook/strapi/{paymentGateway}"
tags: ["payment-webhooks"]
---

# Handle Stripe checkout webhook events (public)

`POST /i/webhook/strapi/{paymentGateway}`

Authenticated via the Stripe-Signature header, not JWT. The route segment is "strapi" by design.

## Path parameters

- `paymentGateway` integer, required

## Headers

- `Stripe-Signature` string, required

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `404` — Payment not found
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.dev/earnation/apis/earnation-api.md) · [All operations](https://skmtc.dev/earnation/apis/earnation-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/earnation/earnation-api/revisions/1219d1bf2177/schema)
