Facilities

List statements for a facility

GET
List statements for a facility

Path parameters

facility_idstringRequired

The facility_id of the facility you want to list statements for

Response

This endpoint returns a list of objects
id
string
The id of the statement
statement_date
string
The date of the statement (YYYY-MM-DD)
facility_id
string
url
string
The url of the statement pdf
created_on
datetime
Timestamp the statement object is created on

Errors

GET
1curl https://production.pier-finance.com/api/facilities/fac_18e5a3726b3943cda2635f40e1041ba4/statements \
2 -H "Authorization: Bearer <token>"
1[
2 {
3 "id": "stmt_deb6aba913d84feb987934f50c32bf03",
4 "statement_date": "2023-03-17",
5 "facility_id": "fac_18e5a3726b3943cda2635f40e1041ba4",
6 "url": "https://app.docspring.com/submissions/sub_gjX2LS7c6FjqZt12hQ/download",
7 "created_on": "2023-02-27T00:00:00Z"
8 }
9]