Facilities
A facility represents an active loan or line of credit. It contains references to the borrower, application and executed loan as well as the terms and other state information about the credit facility. Facilities are used by Pier’s system for servicing, credit reporting and other down stream functionality.
Create facility
POST /facilities
Close facility
POST /facilities/{facility_id}/close
Retrieve a facility
GET /facilities/{facility_id}
List all facilities
GET /facilities
Facility Object
Parameters
Unique identifier for the facility
The application_id of the corresponding loan application for the facility
The borrower_id of the corresponding borrower the facility is for
The loan_agreement_id of the corresponding loan agreement the facility is for
The type of credit product. Can be one of installment_loan
, revolving_line_of_credit
, closed_line_of_credit
Timestamp the loan agreement object is created on
The status of the facility. Can be one of active
or closed
An object containing a summary of the terms of the facility. See LoadOffer or LineOfCreditOffer types