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"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.