The application_id of the corresponding loan application for the facility
application_id
The borrower_id of the corresponding borrower the facility is for
borrower_id
The loan_agreement_id of the corresponding loan agreement the facility is for
loan_agreement_id
1curl https://production.pier-finance.com/api/facilities \2 -H "Authorization: Bearer <token>"
1[2 {3 "id": "fac_18e5a3726b3943cda2635f40e1041ba4",4 "application_id": "app_f0467657bba948e6a87292e182132848",5 "borrower_id": "bor_a1d0c30d77104f35b4c842b99132624e",6 "loan_agreement_id": "doc_43da3b3f95c745e1985a71e9a00d6c27",7 "credit_type": "consumer_installment_loan",8 "created_on": "2023-05-12T19:46:09.293Z",9 "status": "active",10 "account_number": "401542198",11 "transactions": [],12 "statements": [],13 "payments_due": [],14 "terms": {15 "type": "loan_offer",16 "amount": 1000000,17 "id": "off_86c05092a4384d89b03ef514ea4fee31",18 "loan_term": {19 "term_type": "months",20 "term": 3621 },22 "first_payment_date": "2022-12-31",23 "grace_period": {24 "term": 0,25 "interest_rate": 026 },27 "interest_rate": 0,28 "late_payment_fee": 0,29 "origination_fee": 0,30 "payment_period": "monthly"31 },32 "amortization_schedule": [33 {34 "payment_date": "2023-11-02",35 "interest_payment_amount": 0,36 "principal_payment_amount": 8333,37 "other_payment_amount": 0,38 "total_payment_amount": 8333,39 "balance_amount": 91667,40 "item_index": 141 },42 {43 "payment_date": "2023-12-02",44 "interest_payment_amount": 0,45 "principal_payment_amount": 8333,46 "other_payment_amount": 0,47 "total_payment_amount": 8333,48 "balance_amount": 83334,49 "item_index": 250 }51 ],52 "repayment_bank_details": {53 "bank_account_number": "98989898",54 "bank_routing_number": "021000021",55 "type": "checking"56 },57 "balance": 5000000,58 "payoff_balance": 5000000,59 "origination_date": "2023-05-12",60 "disbursement_date": "2023-05-12",61 "remaining_term": 48,62 "next_payment_amount": 124425,63 "next_payment_due_date": "2023-06-12",64 "current_payment_due_date": "2023-06-12",65 "last_payment_date": null,66 "principal_paid_thru": "2023-05-11",67 "next_billing_date": "2023-05-28",68 "interest_accrued_thru": "2023-05-11",69 "next_accrual_cutoff_date": "2023-06-11",70 "scheduled_payoff_date": "2027-05-12",71 "autopay": {72 "authorized": false73 },74 "documents": {75 "unsigned_credit_agreement": {76 "document_url": "https://storage.googleapis.com/example/unsigned_credit_agreement.pdf",77 "document_id": "doc_1234567890abcdef"78 },79 "signed_credit_agreement": {80 "document_url": "https://storage.googleapis.com/example/signed_credit_agreement.pdf",81 "document_id": "doc_abcdef1234567890"82 },83 "unsigned_ach_authorization": {84 "document_url": "https://storage.googleapis.com/example/unsigned_ach_authorization.pdf",85 "document_id": "doc_fedcba9876543210"86 },87 "unsigned_autopay_ach_authorization": {88 "document_url": "https://storage.googleapis.com/example/unsigned_autopay_ach_authorization.pdf",89 "document_id": "doc_0123456789abcdef"90 },91 "signed_ach_authorization": {92 "document_url": "https://storage.googleapis.com/example/signed_ach_authorization.pdf",93 "document_id": "doc_fedcba0987654321"94 },95 "signed_autopay_ach_authorization": {96 "document_url": "https://storage.googleapis.com/example/signed_autopay_ach_authorization.pdf",97 "document_id": "doc_0123456789abcdef"98 }99 }100 }101]