v1

latestOpenAPI 3.0.32026-07-26172157253.6 KB
Payment Webhooks

Receive Stripe Webhook

Receive Stripe events for one environment. The request body must be the raw Stripe JSON body and must include the Stripe signature header.

post/api/webhooks/stripe/{environment}

Path parameters

environment'test' | 'live' required

Payment provider environment.

Request body

object required

Response

Webhook received

receivedboolean required
handledboolean required

Example response

{
  "event": {
    "eventId": "evt_123",
    "eventType": "checkout.session.completed",
    "accountId": "acct_123",
    "objectType": "checkout.session",
    "objectId": "cs_test_123"
  }
}