Skip to main content
POST
Stripe webhook handler

Authorizations

Stripe-Signature
string
header
required

Stripe webhook signature header. Format: t={unix_timestamp},v1={hmac_sha256_hex}. Verified against ss_stripe_webhook_secret with a 5-minute timestamp tolerance.

Body

application/json

Stripe event JSON object. The full Stripe event envelope is passed through; only type and data.object are consumed by the handler.

id
string
required

Stripe event ID

Example:

"evt_1NqIAB2eZvKYlo2C5XFo8Dg6"

type
enum<string>
required

Stripe event types handled by the webhook

Available options:
checkout.session.completed,
invoice.paid,
charge.refunded,
customer.subscription.deleted,
customer.subscription.updated,
checkout.session.async_payment_succeeded,
checkout.session.async_payment_failed
Example:

"checkout.session.completed"

data
object
required

Response

Event received and processed

received
boolean
required
Example:

true