Setting up webhook notifications for WhatsApp provider
Follow these steps to subscribe to theabandonedCheckout
webhook topic:
- Get the callback URL where you want to receive event notifications from the webhook consumer (e.g., business service providers such as Spur, LimeChat, Gupshup, Whitespeed, or BiteSpeed).
-
Generate the webhook key using the below steps:
- Go to the Ecom Dashboard.
- Enter the callback URL.
- Generate the webhook key.
- Share the generated webhook key to the webhook consumer.
- Share the integration steps with the WhatsApp provider.
Integration steps
The Ecom 360 Webhook monitors key events, such as abandoned checkouts, in real time. When a merchants subscribes to this webhook, it receives structured JSON payloads containing customer and order details. This allows businesses to automate actions such as sending reminders or promotional offers.Subscribing to a webhook topic
To subscribe to theabandonedCheckout
topic, provide the following details:
- Topic name:
abandonedCheckout
- Callback URL: The URL where you want to receive event notifications.
- Webhook version:
v1
- Secret key: Cashfree Payments provides this key to verify the authenticity of received events.
Sample webhook event payload
When theabandonedCheckout
event triggers, the webhook sends the following payload:
Webhook headers
Each webhook request includes the following headers to help businesses identify and validate the request:Header key | Description |
---|---|
x-store-url | Specifies the store URL associated with the event |
x-webhook-topic | Indicates the subscribed topic |
x-webhook-version | Displays the webhook version |
x-webhook-signature | Provides the HMAC signature to verify authenticity |
x-request-id | Assigns a unique identifier for the request |
User-Agent | Identifies the request as Ecom360-v1 |
Content-Type | Defines the payload format (application/json ) |
Note: For assistance with setup or further inquiries, contact your Cashfree Payments Account Manager or fill out the Support Form