Facilities
Close a facility
Closes an active facility by setting its status to closed
post/facilities/{facility_id}/close
Request
- Base URLhttps://production.pier-finance.com/api
- AuthHTTP bearer
Path parameters
facility_idstring required
Response
Example response
{
"loan_agreement_id": "doc_43da3b3f95c745e1985a71e9a00d6c27",
"created_on": "2023-05-12T19:46:09.293Z",
"account_number": "401542198",
"amortization_schedule": [
{
"payment_date": "2023-11-02",
"principal_payment_amount": 8333,
"total_payment_amount": 8333,
"balance_amount": 91667,
"item_index": 1
}
],
"repayment_bank_details": {
"bank_account_number": "98989898",
"bank_routing_number": "021000021"
},
"statements": [
{
"id": "stmt_deb6aba913d84feb987934f50c32bf03",
"statement_date": "2023-03-17",
"statement_start_date": "2024-06-17T00:00:00.000Z",
"balance_due": 500000,
"current_principal_balance": 500000,
"current_interest_balance": 10000,
"due_date": "2023-03-17",
"payments": [
{
"amount": 100000,
"facility_id": "fac_18e5a3726b3943cda2635f40e1041ba4",
"created_on": "2023-02-27T00:00:00Z"
}
],
"disbursements": [
{
"id": "dsb_18e5a3726b3943cda2635f40e1041ba4",
"amount": 100000,
"created_on": "2023-02-27T00:00:00Z"
}
],
"url": "https://app.docspring.com/submissions/sub_gjX2LS7c6FjqZt12hQ/download",
"created_on": "2023-02-27T00:00:00Z"
}
],
"balances": {
"current_balance": 500000,
"principal_balance": 500000,
"payoff_balance": 500000
},
"autopay": {
"authorized": true,
"bank_account": {
"bank_account_number": "98989898",
"bank_routing_number": "021000021"
}
},
"documents": {
"unsigned_credit_agreement": {
"document_url": "https://example.com/document.pdf",
"document_id": "doc_1234567890abcdef"
},
"signed_credit_agreement": {
"document_url": "https://example.com/document.pdf",
"document_id": "doc_1234567890abcdef"
},
"unsigned_ach_authorization": {
"document_url": "https://example.com/document.pdf",
"document_id": "doc_1234567890abcdef"
},
"unsigned_autopay_ach_authorization": {
"document_url": "https://example.com/document.pdf",
"document_id": "doc_1234567890abcdef"
},
"signed_ach_authorization": {
"document_url": "https://example.com/document.pdf",
"document_id": "doc_1234567890abcdef"
},
"signed_autopay_ach_authorization": {
"document_url": "https://example.com/document.pdf",
"document_id": "doc_1234567890abcdef"
}
},
"remaining_statement_balance": 7500,
"remaining_minimum_balance": 7500,
"last_statement_info": {
"last_statement_date": "2024-06-01T00:00:00.000Z",
"last_statement_amount": 47000
}
}Changes
No recorded changes to this operation across all 1 revision of this API.