Skip to content

Stripe Webhook

POST
/api/v1/checkout/webhook
curl --request POST \
--url https://api.qeychain.xyz/api/v1/checkout/webhook

Stripe webhook handler for payment lifecycle events.

Handles:

  • checkout.session.completed — record payment, upgrade plan
  • charge.dispute.created — mark disputed, downgrade plan
  • charge.refunded — mark refunded, downgrade plan

The payload is verified using the webhook signing secret.

Successful Response

Media typeapplication/json
Response Stripe Webhook Api V1 Checkout Webhook Post
object
key
additional properties
any
Examplegenerated
{}