A borrower verification session represents the question and response flow for an agent to verify the identity of a human who purports to be a particular borrower. For instance, upon receiving a phone call, an agent would initiate a borrower verification, ask the questions to the borrower, and enter their responses. A set of responses are either correct (thus verifying the human as the borrower) or they are incorrect.
The agent is never shown the correct answers, so privacy risks are minimized and socially engineered security attacks are mitigated.
Start a borrower verification session. Newly created verifications include randomly selected questions about the borrower. The human must attempt to provide correct answers to these questions in order for the borrower verification to be successful.
To check if a verification can be started now without actually starting a verification,
add the query parameter dryRun=true
to the URL. If a verification could be started now
return successful (204
), otherwise return an error response with
nextVerificationOkAt
indicating when the next verification can start.
Successfully started verification
A verification can be started now—only occurs with dryRun=true
parameter
A verification is not possible
A verification cannot be started now—try again later
{- "verificationTypeId": "string"
}
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "verification",
- "personId": "string",
- "agentUserId": "string",
- "expiresAt": "2019-08-24T14:15:22Z",
- "status": "failed",
- "maxAttempts": 0,
- "questions": [
- {
- "id": "string",
- "text": "string",
- "memo": "string",
- "category": "inBorrowerPortal"
}
], - "attempts": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "isSuccess": true
}
]
}
}
Retrieve all verifications—optionally filtering. Note that unlike most Peach "get all" endpoints, the verifications get all endpoint returns items in a reverse chronological list, since almost all interesting verifications are those which happened in the recent past.
Success
{- "status": 0,
- "count": 0,
- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "verification",
- "personId": "string",
- "agentUserId": "string",
- "expiresAt": "2019-08-24T14:15:22Z",
- "status": "failed",
- "maxAttempts": 0,
- "questions": [
- {
- "id": "string",
- "text": "string",
- "memo": "string",
- "category": "inBorrowerPortal"
}
], - "attempts": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "isSuccess": true
}
]
}
]
}
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "verification",
- "personId": "string",
- "agentUserId": "string",
- "expiresAt": "2019-08-24T14:15:22Z",
- "status": "failed",
- "maxAttempts": 0,
- "questions": [
- {
- "id": "string",
- "text": "string",
- "memo": "string",
- "category": "inBorrowerPortal"
}
], - "attempts": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "isSuccess": true
}
]
}
}
Array of objects The list of answers to the questions for this verification. Ordering is not important, but the
|
Created
{- "answers": [
- {
- "questionId": "string",
- "text": "string"
}
]
}
{- "status": 0,
- "message": "string",
- "data": {
- "createdAt": "2019-08-24T14:15:22Z",
- "isSuccess": true
}
}
Request sandbox access