Payments

List all payments

GET
List all payments associated with your account

Response

This endpoint returns a list of objects
id
string
amount
integer
The amount of the payment, in cents
facility_id
string

The facility_id of the credit facility to make a payment for

status
enum
The status of the payment
Allowed values: pendingprocessingsettledfailedcancelled
transfer_type
enum
The type of ACH transfer
Allowed values: standardnext_daysame_daynone
created_on
datetime
Timestamp the payment is created on
failure_reason
stringOptional
A reason for the failure if one exists
is_autopay
booleanOptional
If the payment was a result of an autopay

Errors

GET
1curl https://production.pier-finance.com/api/payments \
2 -H "Authorization: Bearer <token>"
1[
2 {
3 "id": "pmt_18e5a3726b3943cda2635f40e1041ba4",
4 "amount": 100000,
5 "facility_id": "fac_18e5a3726b3943cda2635f40e1041ba4",
6 "status": "pending",
7 "transfer_type": "standard",
8 "created_on": "2023-02-27T00:00:00Z",
9 "is_autopay": false
10 },
11 {
12 "id": "pmt_18e5a3726b3943cda2635f40e1041ba4",
13 "amount": 100000,
14 "facility_id": "fac_18e5a3726b3943cda2635f40e1041ba4",
15 "status": "processing",
16 "transfer_type": "standard",
17 "created_on": "2023-02-27T00:00:00Z"
18 }
19]