API – Add Insurance to a Loan
You can add insurance to a loan both with the UI or through the API, which is explained here. This article goes over how to add insurance to an existing loan; if you haven't created a loan yet, see Creating a Loan with the API.
To add insurance to a Loan, you will need to send a PUT request to the URL of the desired loan. For example, to add insurance to a loan with id "515", the URL would be as follows:
The request body will be formatted as follows:
"companyName": "State Farm",
"insured": "Jane Doe",
"agentName": "Mr. Agent",
Here are descriptions of the parameters used in the body of the request.
The name of the insurance company
The name of the insured individual
The name of the insurance agent for the individual
The number of the insurance policy
The phone number of the insurance company
The deductible amount of the insurance policy
The start date of the insurance policy formatted as a YYYY-MM-DD
The end date of the insurance policy formatted as YYYY-MM-DD