-
SDK version: 0.0.12
-
Facility: A Facility can have one or more Tranches. Lender and Co-Lender Ownership is recorded at the Tranche level. Invoices are created at the Tranche level by summing the Borrowing payments due for each Borrowing.
-
Tranche: A Tranche can have one or more Borrowings. Interest elections are managed at this level. Interest is calculated at this level.
-
Invoice: A list of the principal, interest, fees and expenses charged against the tranche to the Borrower for a date period.
-
Payment: An amount that is credited to the tranche balance owed by the Borrower.
using System.Collections.Generic;
using System.Diagnostics;
using LoanStreet.LoanServicing.Api;
using LoanStreet.LoanServicing.Client;
using LoanStreet.LoanServicing.Model;
namespace Example
{
public class Example
{
public static void Main()
{
ClientFactory.SetCredentials("YourUsername", "YourPassword");
var client = ClientFactory.GetInstitutionsController()
try
{
var result = client.CreateInstitution(new Institution());
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling Institution.Create: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}