Update a case associated with a borrower.
Keyword parameters unique to bankruptcies.
If true create a task of type reviewAutoCreatedCase. Note: this field is NOT saved on the case resource; it just creates a task.
The field indicating which procedure originally created this case.
This is used to mark when a system like, for instance, Compliance Guard automatically created a case, which allows a case to be differentiated from, for instance, manually created ones.
Custom fields are JSON key-value mappings. They are described by a customFieldSchemas property in the corresponding caseType. This means that arbitrary fields cannot be added to in-flight cases.
Boolean representing if this escalation is urgent. null if there is no escalation.
A lender's identifier for a resource.
After the resource is successfully created, a lender can use the Peach assigned ID OR the externalId identifiers to fetch the resource.
To fetch a resource using an externalId, you MUST use the prefix ext- in the URL.
For example, a loan with an external identifier of ABCDE would be referenced like /api/people/BO-FAKE-IDNT/loans/ext-ABCDE.
To create a resource with an external identifer, you MUST NOT use the prefix ext-.
For example, if the external identifier should be ABCDE, then pass { externalId: "ABCDE", ... } in the request body.
The fields that are for what levels the person is matched to a monitoring hit (i.e. bankruptcy)
true if the person's details have been matched to an external data source.
The case name. If a name is not provided, the case name is taken from the case type. For example, Identity Theft.
Represents the original date-time a case was created, either within Peach or in an external system. For cases created directly in Peach CRM, openedAt is identical to createdAt, marking the initiation within Peach. Conversely, for cases migrated from external sources, openedAt reflects the time the case was originally established in the external system. The timestamp must include a timezone (or UTC offset).
The outcome of a process, case, complaint, or dispute.
- If found to be valid, set value to
approved. This might impact debt collection efforts. - If dismissed, set value to
denied. This will have no further impact on debt collection efforts. - If found to be a false positive, set value to
falsePositive. - If completed without an outcome (or no outcome was needed), set to
noOutcome.
The ID of the employee that owns this case. The case owner is the preferred employee to process tasks relating to this case.
Case ownership must be enabled via setting tasks.enableCaseOwnership to true in the company configuration.
The status of a process. This can be updated by a lender or by Peach.
initiated - The lender was notified by a borrower, but no documents or evidence have been provided yet. A grace period can be set.
processing - Peach matched the borrower to an external data source, or the lender started an internal process to handle a case, complaint or dispute.
completed - The lender completed an internal process, case, complaint or dispute. For example:
- A borrower reported identity theft, and the lender reviewed documents and approved the claim.
- A borrower requested a verification of debt in writing, and the lender sent an email with details.
- Peach notified the lender about a new bankruptcy, and the lender reviewed the case and deemed it to be a false positive.
canceled - The lender couldn't complete an internal process and canceled it. This can happen for various reasons, such as lack of sufficient documentation.
reopened - The lender re-opened the case.
In a bankruptcy chapter that leverages a reorganization and a new payment plan (i.e. Chapter 13), record when the last payment is expected to be received. This will trigger reminders to close out the case.
The bankruptcy chapter code. One of four common types we support at this time.
Date the bankruptcy case closed, and the case is no longer on the court docket.
The outcome of the bankruptcy case decided by the court.
The bankruptcy court filing date. This is also when 'automatic stay' is invoked and creditors must stop calling borrowers or making attempts to collect on his or her debt.
The latest-reported bankruptcy case status, not case outcome, as it appears in the court.
Date on which the latest status of the bankruptcy case was updated.
The unique identifier the courts use during the filing and review of the bankruptcy.
The date a lender has to file a claim to be eligible for any bankruptcy proceeds.
When a bankruptcy is filed, the borrower lists all the creditors/loans he/she knows to be outstanding. Sometimes he/she may forget to list a loan/creditor, in which case the creditor may want to file a claim to ensure that the loan is added to the list of accounts to include in the bankruptcy.
- oauth2
- bearerAuth
- apiKeyHeader
curl -i -X PUT \
'https://sandboxapi.peach.finance/api/people/{personId}/cases/{caseId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"anticipatedCaseCompletionDate": "2019-08-24",
"caseType": "bankruptcy",
"courtCaseChapter": "chapter7",
"courtCaseClosedDate": "2019-08-24",
"courtCaseDebtorDisposition": "dismissed",
"courtCaseDebtorDispositionDate": "2019-08-24",
"courtCaseFiledDate": "2019-08-24",
"courtCaseLastStatus": "filed",
"courtCaseLastStatusUpdatedDate": "2019-08-24",
"courtCaseNumber": "string",
"creditorClaimDeadlineDate": "2019-08-24",
"listedOutstandingDebt": true,
"associations": [
{
"objectId": "string",
"objectType": "document"
}
],
"autoCreated": true,
"borrowerIds": [
"string"
],
"createReviewTask": true,
"creationProcedure": "automatedCollectionsDetection",
"customFields": {},
"escalatedAt": "2019-08-24T14:15:22Z",
"escalatedEmployeeId": "string",
"escalatedTeamId": "string",
"escalationIsUrgent": true,
"externalId": "string",
"lenderAck": false,
"matchDetails": {
"addressMatch": "match",
"dateOfBirthMatch": "match",
"externalMatchCode": "string",
"last4SSNMatch": "match",
"matchDoneBy": "dataVendor",
"nameMatch": "match",
"ssnMatch": "match"
},
"matchToDataSource": true,
"metaData": {},
"name": "string",
"openedAt": "2019-08-24T14:15:22Z",
"outcome": "approved",
"owningEmployeeId": "string",
"people": [
"string"
],
"status": "initiated",
"workflowId": "string"
}'Success
Keyword parameters unique to bankruptcies.
{ "message": "string", "status": 0, "data": { "createdAt": "2019-08-24T14:15:22Z", "deletedAt": "2019-08-24T14:15:22Z", "id": "string", "updatedAt": "2019-08-24T14:15:22Z", "associations": [ … ], "autoCreated": true, "borrowerIds": [ … ], "caseTypeMeta": { … }, "companyId": "string", "createdByUser": { … }, "creatingSupercaseId": "string", "creationProcedure": "automatedCollectionsDetection", "customFields": {}, "escalatedAt": "2019-08-24T14:15:22Z", "escalatedEmployeeId": "string", "escalatedTeamId": "string", "escalationIsUrgent": true, "externalId": "string", "lastSubresourceUpdatedAt": "2019-08-24T14:15:22Z", "lastSubresourceUpdatedBy": { … }, "lastViewedAt": "2019-08-24T14:15:22Z", "lastViewedBy": { … }, "lenderAck": false, "matchDetails": { … }, "matchToDataSource": true, "metaData": {}, "name": "string", "object": "case", "openedAt": "2019-08-24T14:15:22Z", "outcome": "approved", "outcomeUpdatedAt": "2019-08-24T14:15:22Z", "outcomeUpdatedBy": { … }, "owningEmployee": { … }, "owningEmployeeId": "string", "people": [ … ], "snoozedAt": "2019-08-24T14:15:22Z", "snoozedUntil": "2019-08-24", "status": "initiated", "statusUpdatedAt": "2019-08-24T14:15:22Z", "statusUpdatedBy": { … }, "workflowId": "string", "anticipatedCaseCompletionDate": "2019-08-24", "caseType": "bankruptcy", "courtCaseChapter": "chapter7", "courtCaseClosedDate": "2019-08-24", "courtCaseDebtorDisposition": "dismissed", "courtCaseDebtorDispositionDate": "2019-08-24", "courtCaseFiledDate": "2019-08-24", "courtCaseLastStatus": "filed", "courtCaseLastStatusUpdatedDate": "2019-08-24", "courtCaseNumber": "string", "creditorClaimDeadlineDate": "2019-08-24", "listedOutstandingDebt": true, "typeId": "string" } }