Event: renewal.successful
This webhook event is triggered when a client initiates a policy renewal, and the transaction is successfully completed.
{
"event": "purchase.successful",
"data": {
"id": "e431432e-3daa-11ee-be56-0242ac120002",
"amount": 5000,
"status": "successful",
"reference": "BUY-PSKUEVZSSXVJRPQX",
"customer": {
"id": "db0c25ae0-3dab-11ee-be56-0242ac120002",
"first_name": "Jack",
"last_name": "Olu",
"email": "jackolu200@gmail.com",
"phone": "+2349162753630",
},
"product_id": "280798d6-3dac-11ee-be56-0242ac120002",
"created_at": "2023-08-18T09:47:22.008Z",
"updated_at": "2023-08-18T09:47:22.008Z",
"policy_expiry_date": "2023-09-18T09:47:22.008Z",
},
}
Webhook Parameters And Description