{
"id": "evt_2341234567890abcdef",
"type": "payment_page.payment_received",
"data": {
"id": "pt_9N2a38DJQWPL8K4X",
"payment_page_id": "pp_EVT9283NAKSD8234SKJD",
"status": "succeeded",
"amount": 15000,
"currency": "KES",
"customer": {
"name": "Jane Doe",
"email": "jane.doe@example.com",
"phone": "+254712345678"
},
"custom_fields": {
"session_choice": "Morning (8AM–12PM)",
"dietary_restrictions": "Vegan",
"referral_code": "FITWELL100"
},
"payment_id": "p_xyz789abc123def456",
"checkout_session_id": "chk_456789abc123def",
"metadata": {
"event_id": "wellness_nairobi_2025"
},
"created_at": "2025-06-18T08:45:00Z",
"updated_at": "2025-06-18T08:45:10Z"
}
}
Represents an occurrence in the system that triggers the webhook, containing an identifier, event type, and relevant data.
Return a 200 status to indicate that the data was received successfully
Was this page helpful?
{
"id": "evt_2341234567890abcdef",
"type": "payment_page.payment_received",
"data": {
"id": "pt_9N2a38DJQWPL8K4X",
"payment_page_id": "pp_EVT9283NAKSD8234SKJD",
"status": "succeeded",
"amount": 15000,
"currency": "KES",
"customer": {
"name": "Jane Doe",
"email": "jane.doe@example.com",
"phone": "+254712345678"
},
"custom_fields": {
"session_choice": "Morning (8AM–12PM)",
"dietary_restrictions": "Vegan",
"referral_code": "FITWELL100"
},
"payment_id": "p_xyz789abc123def456",
"checkout_session_id": "chk_456789abc123def",
"metadata": {
"event_id": "wellness_nairobi_2025"
},
"created_at": "2025-06-18T08:45:00Z",
"updated_at": "2025-06-18T08:45:10Z"
}
}