All fields are optional. Any field available in the default product in your account can be set via a body parameter using its name. For example, a field named "Foo Bar" can be set by sending {Foo_Bar:1234} in the request.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Attaching a borrower or guarantor
When creating a loan, you can attach one borrower and one guarantor in the same POST /api/loan request. Use the Borrower_ prefix for a borrower and the Guarantor_ prefix for a guarantor. These fields apply only when creating a loan; contacts cannot be attached or changed with PATCH /api/loan/{id}.
Existing borrower or guarantor
Use Borrower_Id or Guarantor_Id to attach an existing person or company. The ID can be retrieved using Get all borrowers. If the ID is not found, no contact is attached.
{
"Guarantor_Id": "123456"
}
Individual
Provide the person's name using Borrower_Name or Guarantor_Name. You can also provide Borrower_Email or Guarantor_Email; when an email is provided, both the name and email are used to find an existing individual. If no match is found, a new individual is created.
{
"Borrower_Name": "Jane Smith",
"Borrower_Email": "[email protected]"
}
Individual associated with a company
Use Borrower_Company or Guarantor_Company with the individual's name and email. Baseline finds or creates the company, connects the individual to it, and attaches the individual to the loan.
{
"Borrower_Name": "Jane Smith",
"Borrower_Email": "[email protected]",
"Borrower_Company": "Jane Smith Flipping LLC"
}
Company borrower or guarantor
Set Borrower_Is_Company or Guarantor_Is_Company to true and provide the company name. Baseline finds an existing company with that name or creates a new one, then attaches it to the loan.
{
"Guarantor_Name": "Acme Holdings LLC",
"Guarantor_Is_Company": true
}
