# Index dunning cases Returns an array containing all the dunning cases for all of your customers. Endpoint: GET /v1/dunning_cases Version: 1.0 ## Query parameters: - `page[number]` (integer) Specifies the number of pages of results to return. - `page[size]` (integer) Specifies the size of each page of results. - `filter[loan_account_id]` (string) Filters the returned dunning cases by a specific loan_account_id. - `filter[person_id]` (string) Filters the returned dunning cases by a specific person ID. - `filter[status]` (string) Filters the returned dunning cases by a specific status. Enum: "new", "dunning", "pre_termination", "terminated", "closed" ## Response 200 fields (application/json): - `id` (string, required) The ID of the dunning case. Example: "de8d170b-321c-425b-830d-ed406cba6792" - `person_id` (string, required) The person ID of the customer associated with the loan and dunning case. Example: "547a870b2c8461a3104559369d09265dcper" - `loan_account_id` (string, required) The account ID to which the loan is attached. Example: "adc123a45d6d7cf8fbfeed537ba919d5cacc" - `status` (string, required) The status of the dunning case. Enum: "new", "dunning", "pre_termination", "terminated", "closed", "pre_collection", "closed_matured" - `total_overdue_amount` (any, required) An object containing the total overdue amount. ## Response 400 fields (application/json): - `title` (string) Example: "Failed to build pagination headers." - `status` (string) Example: "400" - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `detail` (string) Example: "Cannot connect to database." - `code` (string) Example: "build_pagination_headers_failure" ## Response 403 fields (application/json): - `title` (string) Example: "Unauthorized Action" - `status` (string) Example: "403" - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `detail` (string) Example: "Unauthorized action is not allowed." - `code` (string) Example: "unauthorized_action"