Event Overview
Event Type:PAYMENT_REFUNDEDCategory: Payment
Description: Payment has been refunded This webhook is triggered when a payment is refunded to the customer through EximPe.
Delivery Details
| Attribute | Value |
|---|---|
| HTTP method | POST |
| URL | The webhook URL configured on your merchant account’s API credentials |
| Content-Type | application/json |
| Timeout | 10 seconds |
| Retries | Up to 5 delivery attempts (backoff: 1 min, 5 min, 15 min, 60 min) |
Headers
| Header | Description |
|---|---|
Content-Type | application/json |
User-Agent | Eximpe-Webhook/1.0 |
X-Webhook-Event | PAYMENT_REFUNDED |
X-Webhook-Timestamp | Unix timestamp (string) at the time of the request |
X-Webhook-Signature | HMAC-SHA256 signature of the request body (JSON string with keys sorted, no extra whitespace), using your API key as the secret. Hex-encoded. |
Compute
HMAC-SHA256(encryption_key, raw_body) where raw_body is the exact UTF-8 request body as received. Compare the hex result with the X-Webhook-Signature header to ensure the webhook is from the platform and unchanged.
Payload Schema
Field Specifications
- Root Level Fields
- Data Object Fields
Always
"PAYMENT_REFUNDED" for this webhook eventTimestamp when the event occurred in YYYY-MM-DD HH:MM:SS formatExample:
"2024-02-15 16:53:15"Webhook payload version (currently “1.0”)
Unique identifier for the event instanceExample:
"e40552bf-ed12-4f35-9a97-162d97e6fa34"Event-specific data payload containing refund details