Success
Loan not found
[- {
- "id": "string",
- "maxRate": 0,
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "rateCapReason": "MLA",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]This endpoint is used for adding rate caps to a loan. If two or
more rate caps overlap on the same date, we will use the lowest value.
This defines the maximum interest rate that can accrue on a loan
to ensure interest accrual never exceeds the cap. You can define the
startDate and endDate for each rate cap.
If a rate cap is added for past periods and the interest rate exceeds the cap, we will replay the loan to apply the capped rate. If a rate cap is added for past periods and the effective interest rate is unchanged, we will not replay the loan.
rateCap is set, an index rate change could increase
the loan rate beyond the regulatory limit. spread + 5% index rate = 33% (under cap)spread + 9% index rate= 37% (over cap)Success
Bad request - validation error
Loan not found
{- "maxRate": 0,
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "rateCapReason": "MLA"
}{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "maxRate": 0,
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "rateCapReason": "MLA",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}This endpoint is used for updating a single rate cap on a loan.
If a rate cap is updated on a loan for past periods and the
loan rate exceeds the cap, we will replay the loan to apply
the capped rate. If a rate cap is added for past periods and the loan
rate is not affected by the maxRate update, then we will not replay the loan.
Success
Bad request - validation error
Loan or rate cap not found
{- "maxRate": 0,
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "rateCapReason": "MLA"
}{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "maxRate": 0,
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "rateCapReason": "MLA",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}This endpoint is used for removing a single rate cap on a loan.
If a loan rate was capped at the maxRate and removing this rate
cap updates the effective interest rate, then we will replay the loan. If
a loan rate is not affected by the removal of this maxRate,
then we will not replay the loan.
Success
Loan or rate cap not found
{- "message": "Rate cap deleted successfully"
}Success
Loan or draw not found
[- {
- "id": "string",
- "maxRate": 0,
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "rateCapReason": "MLA",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]This endpoint is used for adding rate caps to a draw. If two or
more rate caps overlap on the same date, we will use the lowest value.
This defines the maximum interest rate that can accrue on a draw
to ensure interest accrual never exceeds the cap. You can define the
startDate and endDate for each rate cap.
If a rate cap is added for past periods and the interest rate exceeds the cap, we will replay the loan to apply the capped rate. If a rate cap is added for past periods and the effective interest rate is unchanged, we will not replay the loan.
rateCap is set, an index rate change could increase
the loan rate beyond the regulatory limit. spread + 5% index rate = 33% (under cap)spread + 9% index rate= 37% (over cap)Success
Bad request - validation error
Loan or draw not found
{- "maxRate": 0,
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "rateCapReason": "MLA"
}{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "maxRate": 0,
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "rateCapReason": "MLA",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}This endpoint is used for updating a single rate cap on a draw.
If a rate cap is updated on a draw for past periods and the draw
rate exceeds the cap, we will replay the loan to apply the capped rate.
If a rate cap is added for past periods and the draw rate is not affected
by the maxRate update, then we will not replay the loan.
Success
Bad request - validation error
Loan, draw, or rate cap not found
{- "maxRate": 0,
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "rateCapReason": "MLA"
}{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "maxRate": 0,
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "rateCapReason": "MLA",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}This endpoint is used for removing a single rate cap on a draw.
If a draw rate was capped at the maxRate and removing this rate
cap updates the effective interest rate, then we will replay the loan. If
a loan rate is not affected by the removal of this maxRate,
then we will not replay the loan.
Success
Loan, draw, or rate cap not found
{- "message": "Rate cap deleted successfully"
}Request sandbox access