{
"event": "deposits.created",
"time": "2025-01-01T20:00:00.000Z",
"data": {
"caseVoucherEventId": "f0e1d2c3-b4a5-6978-8a9b-0c1d2e3f4a5b",
"type": "CREATED",
"creditorId": null,
"caseId": null,
"fromCaseId": null,
"toCaseId": null,
"caseVoucher": {
"caseVoucherId": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
"id": 118067630,
"tenantId": "550e8400-e29b-41d4-a716-446655440000",
"caseId": null,
"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": "UNMAPPED",
"exported": false,
"expired": false,
"expirationDate": null,
"expirationManualSet": false,
"expirationFromDate": null,
"irrecoverableDate": null,
"deletedAt": null,
"deletedBy": null,
"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 created
Notifies when a deposit has been created, with or without a case. A deposit created directly on a case fires deposits.created and deposits.booked.
WEBHOOK
deposits.created
{
"event": "deposits.created",
"time": "2025-01-01T20:00:00.000Z",
"data": {
"caseVoucherEventId": "f0e1d2c3-b4a5-6978-8a9b-0c1d2e3f4a5b",
"type": "CREATED",
"creditorId": null,
"caseId": null,
"fromCaseId": null,
"toCaseId": null,
"caseVoucher": {
"caseVoucherId": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
"id": 118067630,
"tenantId": "550e8400-e29b-41d4-a716-446655440000",
"caseId": null,
"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": "UNMAPPED",
"exported": false,
"expired": false,
"expirationDate": null,
"expirationManualSet": false,
"expirationFromDate": null,
"irrecoverableDate": null,
"deletedAt": null,
"deletedBy": null,
"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.