{
"event": "deposits.deleted",
"time": "2025-01-01T20:00:00.000Z",
"data": {
"caseVoucherEventId": "f0e1d2c3-b4a5-6978-8a9b-0c1d2e3f4a5b",
"type": "DELETED",
"creditorId": "d4c3b2a1-0f9e-8d7c-6b5a-4e3d2c1b0a9f",
"caseId": "3f1c2d4e-5a6b-7c8d-9e0f-1a2b3c4d5e6f",
"fromCaseId": null,
"toCaseId": null,
"caseVoucher": {
"caseVoucherId": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
"id": 118067630,
"tenantId": "550e8400-e29b-41d4-a716-446655440000",
"caseId": "3f1c2d4e-5a6b-7c8d-9e0f-1a2b3c4d5e6f",
"source": "COLLECTOR",
"voucherTypeId": "7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d",
"category": "transaction",
"label": "Deposit",
"setting": null,
"settingDetails": null,
"amount": 50000,
"originalAmount": 50000,
"currency": "DKK",
"date": "2025-01-01T20:00:00.000Z",
"dueDate": null,
"referenceId": "PAY-2001",
"importId": null,
"referenceCaseVoucherId": null,
"text": "Bank transfer",
"tags": [],
"interest": null,
"interestStartDate": null,
"interestEndDate": null,
"interestPeriods": null,
"cardType": null,
"paymentType": "BANK_TRANSFER",
"paymentMethodId": null,
"transactionAccountId": "d3e4f5a6-7b8c-9d0e-1f2a-3b4c5d6e7f8a",
"transactionImportId": null,
"depositOnPaymentPlanEntryId": null,
"associationId": null,
"details": null,
"lineItems": null,
"properties": [],
"state": "PARTIAL_PAYMENT",
"exported": false,
"expired": false,
"expirationDate": null,
"expirationManualSet": false,
"expirationFromDate": null,
"irrecoverableDate": null,
"deletedAt": "2025-01-02T10:00:00.000Z",
"deletedBy": {
"id": "b1a2c3d4-e5f6-7a8b-9c0d-1e2f3a4b5c6d",
"type": "USER"
},
"createdAt": "2025-01-01T20:00:00.000Z",
"createdBy": {
"id": "b1a2c3d4-e5f6-7a8b-9c0d-1e2f3a4b5c6d",
"type": "USER"
}
},
"createdAt": "2025-01-01T20:00:00.000Z",
"createdBy": {
"id": "b1a2c3d4-e5f6-7a8b-9c0d-1e2f3a4b5c6d",
"type": "USER"
}
}
}Webhooks
Deposit deleted
Notifies when a deposit has been deleted.
WEBHOOK
deposits.deleted
{
"event": "deposits.deleted",
"time": "2025-01-01T20:00:00.000Z",
"data": {
"caseVoucherEventId": "f0e1d2c3-b4a5-6978-8a9b-0c1d2e3f4a5b",
"type": "DELETED",
"creditorId": "d4c3b2a1-0f9e-8d7c-6b5a-4e3d2c1b0a9f",
"caseId": "3f1c2d4e-5a6b-7c8d-9e0f-1a2b3c4d5e6f",
"fromCaseId": null,
"toCaseId": null,
"caseVoucher": {
"caseVoucherId": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
"id": 118067630,
"tenantId": "550e8400-e29b-41d4-a716-446655440000",
"caseId": "3f1c2d4e-5a6b-7c8d-9e0f-1a2b3c4d5e6f",
"source": "COLLECTOR",
"voucherTypeId": "7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d",
"category": "transaction",
"label": "Deposit",
"setting": null,
"settingDetails": null,
"amount": 50000,
"originalAmount": 50000,
"currency": "DKK",
"date": "2025-01-01T20:00:00.000Z",
"dueDate": null,
"referenceId": "PAY-2001",
"importId": null,
"referenceCaseVoucherId": null,
"text": "Bank transfer",
"tags": [],
"interest": null,
"interestStartDate": null,
"interestEndDate": null,
"interestPeriods": null,
"cardType": null,
"paymentType": "BANK_TRANSFER",
"paymentMethodId": null,
"transactionAccountId": "d3e4f5a6-7b8c-9d0e-1f2a-3b4c5d6e7f8a",
"transactionImportId": null,
"depositOnPaymentPlanEntryId": null,
"associationId": null,
"details": null,
"lineItems": null,
"properties": [],
"state": "PARTIAL_PAYMENT",
"exported": false,
"expired": false,
"expirationDate": null,
"expirationManualSet": false,
"expirationFromDate": null,
"irrecoverableDate": null,
"deletedAt": "2025-01-02T10:00:00.000Z",
"deletedBy": {
"id": "b1a2c3d4-e5f6-7a8b-9c0d-1e2f3a4b5c6d",
"type": "USER"
},
"createdAt": "2025-01-01T20:00:00.000Z",
"createdBy": {
"id": "b1a2c3d4-e5f6-7a8b-9c0d-1e2f3a4b5c6d",
"type": "USER"
}
},
"createdAt": "2025-01-01T20:00:00.000Z",
"createdBy": {
"id": "b1a2c3d4-e5f6-7a8b-9c0d-1e2f3a4b5c6d",
"type": "USER"
}
}
}Headers
Sent with every delivery so the receiver can verify the request really comes from Debbie. The token is issued when the webhook is created — compare it with the stored value and reject deliveries that do not match.