curl --location 'https://api.opensylo.com/webhooks/outbound/loan.defaulted' \
--header 'X-OpenSylo-Signature: sha256=f1e2d3c4b5a6f7e8d9c0b1a2f3e4d5c6b7a8f9e0d1c2b3a4f5e6d7c8b9a0f1e2' \
--header 'X-OpenSylo-Timestamp: 1712495400' \
--header 'X-OpenSylo-Event-Id: evt_oa_20260407_001' \
--header 'Content-Type: application/json' \
--data '{
"event": "loan.defaulted",
"event_id": "evt_odf_20260407_006",
"timestamp": "2026-04-07T20:00:00.000Z",
"loan": {
"id": "loan_f1e2d3c4-b5a6-7890-1234-567890abcdef",
"reference": "OSL-2026-00142",
"status": "defaulted"
},
"merchant": {
"opensylo_id": "mch_a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"marketplace_id": "PLT_MERCH_001"
},
"default_details": {
"outstanding_amount": 862500,
"days_overdue": 45,
"last_payment_date": "2026-02-20T12:00:00.000Z"
},
"collection_instructions": {
"continue_deductions": true,
"priority": "high",
"deduction_percentage": 15
}
}'