v1
latestOpenAPI 3.0.42026-08-045381279.6 KBCases
Create collection case
Creates a new collection case for debt collection.
Test Mode:
- Set isTest=true to create a test case (case IS created in the database but marked as test data)
- Test cases are excluded from production metrics and can be easily filtered or deleted
- Use test mode for integration testing and development
Debtor Rules:
- debtor.type must be "Company" or "Private"
- Company → debtor.name is mandatory (company name)
- Private → debtor.name is mandatory (person's full name)
Geographic Rules:
- debtor.countryAlpha2 (ISO 3166-1 alpha-2) is always required
- debtor.state is a free-text region description
- For US debtors: debtor.stateAlpha2 (two-letter state code) is also required – debtor.state is ignored in that scenario
Optional Parameters:
- creditorDivisionId - Assign case to a specific division (for multi-division creditors)
- collectionPartnerId - Override automatic partner assignment with a specific collection partner
- skipDebituraVerification - Skip internal verification steps (advanced use)
- skipCreationEmails - Deprecated: accepted for backwards compatibility but ignored server-side. Creation emails are always suppressed in favour of the hourly CasesStarted digest
- allowPendingContracts - Accept cases with unsigned contracts in 'PendingContractSigning' status instead of returning 422
Error Responses:
- 400: Field validation errors (returns JSON object with field names as keys and error arrays as values)
- 422: Business rule violations (returns BusinessErrorResponseApiDTO with type, message, and solutionUrl)
- 500: Server errors
post/cases
Headers
Idempotency-Keystring
Optional idempotency key (max 255 characters) for safely retrying this request. If a previous request used the same key with an identical body, the original terminal response is replayed verbatim. Reusing the key with a different body returns 422 with Type: "IdempotencyConflict". Field-level 400 validation errors are not stored, so you may fix the request and retry with the same key.
Request body
Example request
{
"currencyCode": "EUR",
"amountToRecover": 4000,
"date": "2026-02-22",
"dueDate": "2026-03-02",
"claimDescription": "Custom mobile app development services",
"comments": "Outstanding invoice INV 2024 00789 for custom mobile app development delivered 15 Nov 2024; payment 60 days overdue despite two reminders.",
"creditorReference": "INV‑2024‑00789",
"isTest": true,
"debtor": {
"type": "Company",
"name": "Acme Corp",
"contactPerson": "John Doe",
"companyRegistrationNumber": "12345678",
"address": "123 Business Street",
"zipCode": "1000",
"city": "Lisbon",
"state": "Lisbon",
"countryAlpha2": "PT",
"email": "billing@acme‑corp.com",
"phone": "+351 123 456 789"
}
}Response
Case created
Example response
{
"debtor": {
"type": "Company",
"name": "Pacific Trading LLC",
"contactPerson": "John Smith",
"companyRegistrationNumber": "47-1234567",
"address": "123 Market Street, Suite 400",
"zipCode": "94105",
"city": "San Francisco",
"state": "California",
"stateAlpha2": "CA",
"countryAlpha2": "US",
"country": "United States",
"email": "accounts@pacifictrading.com",
"phone": "+1 415 555 0123"
}
}