Skip to main content
POST
/
api
/
v1
/
webhooks
/
stripe
Stripe Webhook
curl --request POST \
  --url https://api.entityml.com/api/v1/webhooks/stripe
This endpoint is intended for Stripe. Client integrations normally do not call it directly.

Request

Stripe sends the event JSON body and a stripe-signature header.

Response

Returns a processing result such as {"status":"success","action":"subscription_updated"}.

Supported events

  • checkout.session.completed
  • customer.subscription.updated
  • customer.subscription.deleted
  • invoice.paid
  • invoice.payment_failed

Example response

{
  "status": "success",
  "action": "subscription_updated"
}