Billing

Stripe webhook

Receives Stripe events. The raw body is verified against the stripe-signature header.

post/api/stripe/webhooks

Request

  • Base URL: https://api.xpoz.ai
  • URL: https://api.xpoz.ai/api/stripe/webhooks
  • Auth: none required

Headers

stripe-signaturestring required

Stripe webhook signature.

Request body

StripeWebhookEvent required

Raw Stripe event payload. Handled types: customer.subscription.created, customer.subscription.updated, customer.subscription.deleted, checkout.session.completed, payment_intent.succeeded, payment_intent.payment_failed.

Response

Received.

receivedtrue required

Changes

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