Renewal Webhook
Event: renewal.successful
This webhook event is triggered when a client initiates a policy renewal, and the transaction is successfully completed.
Webhook Parameters And Description
Here are the webhook parameters and their corresponding descriptions:
Data | Description |
---|---|
data.id | The unique ID generated for the purchase |
data.amount | The amount paid for the product |
data.status | The status of the transaction which is either successful or failed |
data.reference | The unique generated reference code bound to the policy |
data.customer.id | The unique ID generated for the customer |
data.first_name | The customer's first name |
data.last_name | The customer's last name |
data.email | The customer's email |
data.phone | The customer's phone number |
data.product_id | The unique ID of the product purchased |
data.created_at | The timestamp indicating when the transaction was created |
data.updated_at | The timestamp indicating the last update time of the transaction. |
data.policy_expiry_date | The new date indicating when the policy would expire |
Last updated