Skip to main content
Linked event names open their payload documentation. The mandate payload schema is documented on this page. Subscribe to events per endpoint in the dashboard under Developers > Webhooks. Every payload has the same envelope:
For events with generated SDK models, see Parsing webhook payloads with the SDK for Go, Python, and TypeScript examples.

Customer events

Subscription events

Invoice events

Failed invoice payment payload

The event is sent when an invoice auto-charge fails, including when no usable saved payment method is available, or when a failed invoice payment has a gateway payment ID. A non-auto-charge failure before a gateway payment is created does not produce this event. The invoice.payment.failed payload contains these fields:

Payment and refund events

Credit note events

Wallet events

Feature and entitlement events

Commitment and billing terms events

Checkout events

Mandate events

Mandate events report authorization and status changes for saved payment methods. Use checkout.session.completed to track checkout payment completion. For the setup flow, see Autopay & Mandates. Flexprice forwards Razorpay token.confirmed, token.rejected, and token.cancelled events for card, UPI, and eNACH tokens that it can associate with a Flexprice customer in the receiving environment.

Webhook payload

Read event_type as a string and parse the mandate object using the fields below. Example payload (eNACH): Event type: mandate.confirmed
This illustrates one possible payload; optional properties may be absent when unavailable, and details vary by payment method and event.

Webhook fields

Usage ingestion events

How alert events pair up

Threshold events come in pairs. A threshold_reached or dropped event fires when a value crosses the configured line, and the matching recovered event fires when it crosses back. Configure the thresholds under spend alerts, wallet low balance alerts, and feature wallet balance alerts. event.rejected is the one event about ingestion itself. It fires when a usage event is accepted with 202 but cannot be metered, most often because event_name matches no feature or external_customer_id matches no customer. Subscribe to it in every environment; it is the only push signal that usage is being dropped. See Troubleshooting usage events.

Which events to start with

Set up an endpoint

Webhook Events in the API reference