Where the provider sends its payment webhooks
Public: checked against the connected provider's signing secret (Stripe-Signature, X-Razorpay-Signature, or Dodo's Standard Webhooks headers webhook-id, webhook-timestamp and webhook-signature, within 5 minutes).
Payments are recorded once per payment: Stripe's checkout.session.completed (when paid), payment_intent.succeeded (not an invoice's) and invoice.paid (a subscription's invoices, so every renewal), Razorpay's payment.captured and order.paid, and Dodo's payment.succeeded. When the payment's metadata (Stripe, Dodo; for an invoice, its subscription's) or notes (Razorpay: the payment's or its order's) carry viakite_user_id, the user id the site passed to identify(), or it renews a subscription that did, it becomes a Payment event with the revenue, on the visit that user was last seen in within 30 days.
Subscription changes (Stripe's customer.subscription.created, .updated and .deleted, Dodo's subscription.*) are kept for MRR and churn, with the source of the subscriber's last visit before the subscription started.
Other events are accepted and ignored.
Path parameters
prj_…).striperazorpaydodoBody
No fields.
Responses
Done; nothing to return.
No body.
Errors
Every error has the same shape: error.code, a message for people and details.
| Status | Code |
|---|---|
invalid_signature | |
not_found | |
validation_error | |
payload_too_large |