{
"id": "897e1f80-ceb5-4b58-a2aa-c895aff6ce3e",
"type": "BATCH_COMPLETED",
"source": "COLLECTION",
"timeStamp": "2025-08-15T11:42:00Z",
"data": {
"batchId": "db6a7ff4-3a20-4042-b271-a9485ded6333",
"organizationId": "db6a7ff4-3a20-4042-b271-a9485ded6334",
"status": "SUCCESS" // SUCCESS, PARTIAL, FAILED
}
}{
"id": "897e1f80-ceb5-4b58-a2aa-c895aff6ce3e",
"type": "SETTLEMENT_CREATED",
"source": "COLLECTION",
"timeStamp": "2025-08-15T11:42:00Z",
"data": {
"settlementId": "db6a7ff4-3a20-4042-b271-a9485ded6333",
"organizationId": "db6a7ff4-3a20-4042-b271-a9485ded6334",
"settlementDate": "2025-08-15",
"invoiceId": "425284ba-ce41-48cc-9407-f851dccdb8ad",
"invoiceNumber": "1234567",
"caseNumber": "1234567"
}
}{
"id": "897e1f80-ceb5-4b58-a2aa-c895aff6ce3e",
"eventType": "CASE",
"source": "COLLECTION",
"timeStamp": "2025-08-15T11:42:00Z",
"data": {
"orgId": "db6a7ff4-3a20-4042-b271-a9485ded6334",
"caseId": "db6a7ff4-3a20-4042-b271-a9485ded6333",
"caseNumber": "5000001"
"type": "COLLECTION_NOTICE",
"status": "OPEN",
"invoices": [
"4a86b85e-a3c3-4299-b9e6-202d1096b990",
"fc6615cf-2d29-49da-85ec-3af55c805bde"
]
}
}{
"id": "897e1f80-ceb5-4b58-a2aa-c895aff6ce3e",
"eventType": "CASE_UPDATED",
"source": "COLLECTION",
"timeStamp": "2025-08-15T11:42:00Z",
"data": {
"orgId": "db6a7ff4-3a20-4042-b271-a9485ded6334",
"caseId": "db6a7ff4-3a20-4042-b271-a9485ded6333",
"caseNumber": "5000001"
"type": "COLLECTION_NOTICE",
"status": "PAUSED",
"invoices": [
"4a86b85e-a3c3-4299-b9e6-202d1096b990",
"fc6615cf-2d29-49da-85ec-3af55c805bde"
],
"fields": ["amounts", "status", "type", "description"]
}
}| Header | Description |
|---|---|
| X-Amili-Event | Specifies the type of the event, useful for payload deserialization and routing |
| IdempotencyKey | Unique key identifying the event delivery, can be used to prevent duplicate processing |
| X-Amili-Request-Id | Unique identifier for the webhook request |
| X-Webhook-Signature | Signature used to verify the authenticity of the request, see Verifying Signatures for more details |