payments
Handle Webhook
Production-grade Cashfree webhook handler.
Guarantees:
- Idempotent: a redelivery of an event that already completed is ignored
- Race-safe: SELECT FOR UPDATE serializes concurrent handlers on the payment
- Atomic: payment status + credit addition in a single DB commit
- Retryable: an internal failure answers 5xx so Cashfree redelivers, and the event row is only final ("processed") after a successful commit, so the redelivery is reprocessed instead of being dropped as a duplicate
State machine: pending -> processing -> activated | activation_failed | failed | cancelled
post/cashfree/webhook
Request
- Base URL: https://api.fincept.in (the document declares no server; this is the origin it was published from)
- URL: https://api.fincept.in/cashfree/webhook
- Auth: none declared
Headers
x-webhook-timestampstring
x-webhook-signaturestring
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.