Facilities

List disbursements for a facility

GET
List disbursements for a facility

Path parameters

facility_idstringRequired

The facility_id of the facility you want to list disbursements for

Response

This endpoint returns a list of objects
id
string
The id of the disbursement
facility_id
string
amount
integer
The amount of the disbursement, in cents (e.g. 1000 = $10.00)
status
enum
The status of the disbursement
Allowed values: pendingprocessingsettledfailedcancelled
created_on
datetime
Timestamp the disbursement object is created on
transfer_type
enum
The type of transfer to use for the disbursement
Allowed values: standardnext_daysame_daynone
failure_reason
stringOptional
A reason for the failure if any exists
date
stringOptional
The date of the disbursement (YYYY-MM-DD)

Errors

GET
1curl https://production.pier-finance.com/api/facilities/fac_18e5a3726b3943cda2635f40e1041ba4/disbursements \
2 -H "Authorization: Bearer <token>"
1[
2 {
3 "id": "dsb_18e5a3726b3943cda2635f40e1041ba4",
4 "facility_id": "fac_18e5a3726b3943cda2635f40e1041ba4",
5 "amount": 100000,
6 "status": "pending",
7 "created_on": "2023-02-27T00:00:00Z",
8 "transfer_type": "standard",
9 "failure_reason": null,
10 "date": "2023-02-27"
11 }
12]