Get debt collection cases
DeprecatedRequired Scopes: `DEBT_COLLECTION_READ` Returns the current state of debt collection cases specified by debtorId, collectionCaseId and agencyCollectionCaseId. Each parameter has maximum allowable 50 ids.
Endpoint
/v1/debt-collection/cases Query Parameters
debtorId array Unique ID of the debtor
collectionCaseId array The case id provided by Magicline. This is returned from the 'Get Debtors' endpoint as 'collectionCaseId'
agencyCollectionCaseId array The case ID used by the agency. This relates to the 'agencyCollectionCaseId' parameter used in the 'Update debt collection' endpoint.
caseAdjustmentRequestId integer (int64) The request ID delivered by webhook entityId. It contains the latest changes to a case in the Magicline.
Responses
Response Body application/json
debtorId required Debtor unique id
"2334545" agencyCollectionCases array[object] required List of debt collection cases
agencyCollectionCaseId required ID the agency has assigned to this case
"agency-id-123" publicCollectionCaseId Optional customer facing identifier for this case, if there is one that differs from agencyCollectionCaseId and is used in human correspondence.
"case-john-wayne-1" collectionCaseIds array[object] required List of collection case ids which we have created, aggregated for that collection case
["123e4567-e89b-42d3-a456-556642440000"] closure Must be set in case the case has been closed
type required Closure type
POSITIVE | This should be used, if mostly all or all open debts are paid. A positive closure reverses the dunning level of a customer, if all other debt collection cases are also closed. Closure parameters i.e. write off remaining claims will result into writing of all open claims of this debt collection case. |
NEGATIVE | This should be used, if none debt is paid or no chance of further collection. A negative closure reverses the dunning level of a customer, if all other debt collection cases are also closed and no claim is open anymore. It will not reverse the dunning level in all other cases. Closure parameters i.e. write off remaining claims will result into writing of all open claims of this debt collection case. |
REVERSAL | This should be used, if there was already progress on the case and no rejection reason can be taken. It ignores all other closure parameters and will reopen the claims. |
REJECTION | This should be used, if the agency does not accept the case. The rejectionReason must be set in this case. It ignores all other closure parameters and will reopen the claims. |
"POSITIVE" options array[object] Additional settings for case closures
key required Additional option key
WRITE_OFF_REMAINING_DEBTS | Indicates to the studio that all remaining, unpaid debts should be written off. E.g. if a case is closed due to bankruptcy of the debtor the collection agency can use this to indicate that the remaining debts are uncollectible. Allowed option values: 'true', 'false' (defaults to 'false' if this option isn't set) |
"WRITE_OFF_REMAINING_DEBTS" value required The option value, see the option key description for allowed values.
"value" date string(date) required Closure date
"2022-09-20" rejectionReason Mandatory if type is REJECTION. This defines why the case was rejected by the agency.
CLAIMS_ALREADY_IN_COURT | A legal dispute is already pending regarding the claim, in which Magicline Studio is not represented by the contract partner's joint attorneys. |
MISSING_COMPENSATION_BLOCKING_DUNNING_PROCESS | The claim depends on a consideration and prevents the execution of the judicial dunning procedure (BGB 688 para. 2 ZPO). |
NO_INFORMATION_ABOUT_LEGAL_REPRESENTATIVE | The claims in the file are directed against minors, unless another personally liable person (e.g. the parents) is known to Magicline Studio and can be claimed against. |
NO_COLLECTION_ABROAD_POSSIBLE | The claim concerns a debtor living abroad, unless the collection of the claim can be made from Germany. |
COLLECTING_FROM_INHERIT_NOT_POSSIBLE | The claim is directed against an unknown heir who cannot be readily identified by inquiry at the probate court and civil status register. |
CLAIMS_TIME_BARRED_OR_RESIDUAL_DEBT_DISCHARGE_GRANTED | The claim is no longer enforceable (plea of limitation raised or discharge of residual debt granted). |
REMAINING_CLAIM_BELOW_LIMIT | The (residual) principal claim does not exceed EUR 10. |
NOTIFICATION_OBLIGATIONS_NOT_POSSIBLE | The statutory information and notification obligations, in particular from Section 13a RDG, cannot be fulfilled. |
FRAUD | The obligation was unlawfully entered into by an unknown third party on behalf of the alleged debtor (in particular, deception by a third party as to the identity of the debtor). Evidence within the meaning of this Agreement shall be deemed to have been provided if: (1) real data of third party users have been used to obtain services or (2) the invoice recipient has not become a contractual partner or (3) criminal charges have been filed by Magicline Studio. |
CONFLICT_OF_INTEREST | There is a conflict of interest that cannot be resolved with the contractual partner or the lawyers to be commissioned by the contractual partner. |
WITHDRAWN_BY_STUDIO | There are other comprehensible reasons on the part of the Contractual Partner and/or Magicline Studio. |
NO_PROCESSING_AT_ALL | If the file is withdrawn or cancelled from the collection stage within 14 days after handover without being processed by the contractual partner. The contractual partner shall be released from any obligation to pay remuneration. After 14 days, the file can be withdrawn only for one of the other reasons. |
HARD_NEGATIVES_IN_DEBTOR_REGISTER | There are already hard negatives in the debtor register and a court order would be unsuccessful. |
POSTAL_DELIVERY_NOT_POSSIBLE | No postal delivery can be made on the basis of the membership data provided, and an address search is also unsuccessful. |
CLAIM_INCREASE_IMPORTED_SYSTEM |
"CLAIMS_ALREADY_IN_COURT" closureReason Optional closure reason.
"Not successful due to mail not successfully delivered" debts array[object] required Debts which were transferred to the agency. At least all changed debts must be included, also unchanged debts can be included.
debtId required Debt id from the Transfer, identifying a debt, in UUID format
"123e4567-e89b-42d3-a456-556642440000" originalAmount required Transferred amount to debt collection agency. Cancelled amount + paid amount should not be higher than original amount.
100 canceledAmount required Not accepted amount. If the case is closed and writeOffRemainingDebts is set, they will be written off and not opened again.
0 paidAmount required Paid amount, the status should always contain the amount which was paid to the debt collection agency. If paidAmount is higher than original amount, the loose rest will still be booked to the debtor.
100 currency required ISO 4217 currency of the debt code
"EUR" block limitType required Option to set customer or debt to blocklist
DISABLED | Customer or Debt will be removed from block list |
LIMITED | Customer or Debt will added to block list until given date |
UNLIMITED | Customer or Debt will added to block list indefinitely |
"LIMITED" endDate string(date) required Block customer or debt until
"2022-09-20" block limitType required Option to set customer or debt to blocklist
DISABLED | Customer or Debt will be removed from block list |
LIMITED | Customer or Debt will added to block list until given date |
UNLIMITED | Customer or Debt will added to block list indefinitely |
"LIMITED" endDate string(date) required Block customer or debt until
"2022-09-20" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child" Response Body application/json
Error data
errorMessage required Resolved message in the context-specific default locale
errorCode Key for translation files
traceId Datadog trace id
args array[object] deprecated Arguments referenced by format specifiers while resolving the message from translation files
typedArgs array[object] deprecated Same as `args` but with type information
value type TIMESTAMP BOOLEAN DATE MONTH_DAY TIME TERM TERM_LIST INTEGER DECIMAL STRING MONEY LIMITABLE_CONFIG_PROPERTY I18N_KEY I18N_KEY_LIST PERMISSION_LIST ENUM AVAILABILITY_LIST reference Reference to validation error
"parent.child"