API Documentation
Customers
Case vouchers
Billing
Webhooks
- HOOKUpdate created
- HOOKUpdate updated
- HOOKUpdate deleted
- HOOKCreditor created
- HOOKCreditor updated
- HOOKCase voucher created
- HOOKCase voucher updated
- HOOKCase voucher deleted
- HOOKPayment plan status change
- HOOKInteraction sent
- HOOKCustomer created
- HOOKCase status change
- HOOKCase merged
- HOOKCase merge undoed
- HOOKBilling created
- HOOKPayout created
Billing
Get deposit distribution
Get deposit distribution in a billing.
GET
/
v1
/
{tenantId}
/
billings
/
{billingId}
/
deposit-distribution
Copy
curl --request GET \
--url https://api.debbiecollect.com/v1/{tenantId}/billings/{billingId}/deposit-distribution \
--header 'Authorization: Bearer <token>'
Copy
{
"meta": {
"currentPage": 0,
"pageSize": 25
},
"items": [
{
"isAdjustment": true,
"currency": "DKK",
"depositCaseVoucher": {
"caseVoucherId": "<string>",
"id": 123,
"paymentType": "BANK_TRANSFER",
"state": "UNMAPPED",
"transactionAccountId": "<string>",
"amount": 123
},
"customer": {
"referenceId": "<string>"
},
"case": {
"caseId": "<string>",
"id": 123,
"groupId": "<string>",
"groupLabel": "<string>"
},
"caseVouchers": [
{
"referenceId": "<string>",
"caseVoucherId": "<string>",
"voucherTypeId": "<string>",
"amount": 123,
"source": "CREDITOR",
"collectionCommission": true
}
],
"overpayment": 123
}
]
}
Authorizations
Authentication can be done by using a bearer token in the Authorization header. This is done using the following format Authorization: Bearer {token}
.
Response
200
application/json
Successful operation
The response is of type object
.
Copy
curl --request GET \
--url https://api.debbiecollect.com/v1/{tenantId}/billings/{billingId}/deposit-distribution \
--header 'Authorization: Bearer <token>'
Copy
{
"meta": {
"currentPage": 0,
"pageSize": 25
},
"items": [
{
"isAdjustment": true,
"currency": "DKK",
"depositCaseVoucher": {
"caseVoucherId": "<string>",
"id": 123,
"paymentType": "BANK_TRANSFER",
"state": "UNMAPPED",
"transactionAccountId": "<string>",
"amount": 123
},
"customer": {
"referenceId": "<string>"
},
"case": {
"caseId": "<string>",
"id": 123,
"groupId": "<string>",
"groupLabel": "<string>"
},
"caseVouchers": [
{
"referenceId": "<string>",
"caseVoucherId": "<string>",
"voucherTypeId": "<string>",
"amount": 123,
"source": "CREDITOR",
"collectionCommission": true
}
],
"overpayment": 123
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.