Skip to main content

Submit Loan Data

Upload loan data to the LoanVista pipeline. This endpoint supports bulk uploads of loan records, typically synced from an LOS.

HTTP Request

POST https://api.loanvista.com/Loans

Headers

NameTypeDescription
AuthorizationstringRequired. Basic Authentication (Basic <Base64(username:password)>).
ClientIdstringRequired. Your unique Client Identifier.
AuthKeystringRequired. The authentication key for the specific loan pipeline.

Body

The payload should be a JSON or XML representation of the loan data.
{
  "loanId": "LV-12345",
  "borrowerName": "John Doe",
  "loanAmount": 350000,
  "interestRate": 6.5,
  "status": "In Processing"
}

Response

Status
number
Returns 200 OK if the payload was successfully enqueued for processing.
Errors
object
Returns 400 Bad Request if headers are missing or payload is empty. Returns 401 Unauthorized if authentication fails.
curl --request POST \
  --url https://api.loanvista.com/Loans \
  --header 'Authorization: Basic YOUR_AUTH' \
  --header 'ClientId: YOUR_CLIENT_ID' \
  --header 'AuthKey: YOUR_PIPELINE_KEY' \
  --data '{
    "loanId": "LV-12345",
    "borrowerName": "John Doe"
  }'
{
  "message": "Loan data enqueued successfully"
}