This object represents a Promise to Pay Plan
. A Promise to Pay Plan
is a group of Promise to Pay
Periods— unscheduled payments that was verbally committed by a borrower. Promise to Pay Plan
s are
defined on an account level. Promise to Pay Plan
s are not guaranteed payments. They are used to track
verbal commitments made by borrowers.
Note: When creating or updating a Promise to Pay Plan
, either pass a schedule
object, or pass schedule descriptor
attributes— startDate
, frequency
, specificDays
, duration
and amount
. Mixing the two
approaches is not allowed.
Returns Promise to Pay Plan
s for a given company.
Success
{- "status": 0,
- "total": 0,
- "count": 0,
- "nextUrl": "string",
- "previousUrl": "string",
- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "promiseToPayPlan",
- "companyId": "string",
- "loanId": "string",
- "externalId": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "schedule": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "promisePeriod",
- "periodId": "string",
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "amount": 0
}
], - "status": "scheduled",
- "isOverdue": true,
- "caseId": "string",
- "cancellationReason": "canceledByUser",
- "reasonDetails": "string"
}
]
}
Creates a new Promise to Pay Plan
.
Promise to pay plan post
Promise to pay plan
Promise to pay plan
{- "previewMode": false,
- "externalId": "string",
- "startDate": "2019-08-24",
- "frequency": "weekly",
- "specificDays": [
- "string"
], - "duration": 1,
- "amount": 0.01,
- "schedule": [
- {
- "dueDate": "2019-08-24",
- "amount": 0.01
}
], - "caseId": "string",
- "sendNotice": 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": "promiseToPayPlan",
- "companyId": "string",
- "loanId": "string",
- "externalId": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "schedule": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "promisePeriod",
- "periodId": "string",
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "amount": 0
}
], - "status": "scheduled",
- "isOverdue": true,
- "caseId": "string",
- "cancellationReason": "canceledByUser",
- "reasonDetails": "string"
}
}
Returns Promise to Pay Plan
s for a given Loan
.
Success
{- "status": 0,
- "total": 0,
- "count": 0,
- "nextUrl": "string",
- "previousUrl": "string",
- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "promiseToPayPlan",
- "companyId": "string",
- "loanId": "string",
- "externalId": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "schedule": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "promisePeriod",
- "periodId": "string",
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "amount": 0
}
], - "status": "scheduled",
- "isOverdue": true,
- "caseId": "string",
- "cancellationReason": "canceledByUser",
- "reasonDetails": "string"
}
]
}
Returns a Promise to Pay Plan
for a given Loan
.
Promise to pay plan
{- "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": "promiseToPayPlan",
- "companyId": "string",
- "loanId": "string",
- "externalId": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "schedule": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "promisePeriod",
- "periodId": "string",
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "amount": 0
}
], - "status": "scheduled",
- "isOverdue": true,
- "caseId": "string",
- "cancellationReason": "canceledByUser",
- "reasonDetails": "string"
}
}
Cancels a Promise to Pay Plan
.
Promise to pay plan cancel
Promise to pay plan
{- "cancellationReason": "canceledByUser",
- "reasonDetails": "string",
- "cancellationCaseId": "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": "promiseToPayPlan",
- "companyId": "string",
- "loanId": "string",
- "externalId": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "schedule": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "promisePeriod",
- "periodId": "string",
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "amount": 0
}
], - "status": "scheduled",
- "isOverdue": true,
- "caseId": "string",
- "cancellationReason": "canceledByUser",
- "reasonDetails": "string"
}
}
Evaluates a Promise to Pay Plan
and updates the status
and isOverdue
of the Promise to Pay Plan
.
Promise to pay plan
{- "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": "promiseToPayPlan",
- "companyId": "string",
- "loanId": "string",
- "externalId": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "schedule": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "promisePeriod",
- "periodId": "string",
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "amount": 0
}
], - "status": "scheduled",
- "isOverdue": true,
- "caseId": "string",
- "cancellationReason": "canceledByUser",
- "reasonDetails": "string"
}
}
Evaluates a Promise to Pay Plan
and updates the status
and isOverdue
of the Promise to Pay Plan
.
Promise to pay plan
{- "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": "promiseToPayPlan",
- "companyId": "string",
- "loanId": "string",
- "externalId": "string",
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "schedule": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "promisePeriod",
- "periodId": "string",
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "amount": 0
}
], - "status": "scheduled",
- "isOverdue": true,
- "caseId": "string",
- "cancellationReason": "canceledByUser",
- "reasonDetails": "string"
}
}