Payments

Get a payment by ID

GET
Get a payment by its id

Path parameters

payment_idstringRequired

Response

This endpoint returns an object
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/pmt_18e5a3726b3943cda2635f40e1041ba4 \
2 -H "Authorization: Bearer <token>"
1{
2 "id": "pmt_18e5a3726b3943cda2635f40e1041ba4",
3 "amount": 100000,
4 "facility_id": "fac_18e5a3726b3943cda2635f40e1041ba4",
5 "status": "pending",
6 "transfer_type": "standard",
7 "created_on": "2023-02-27T00:00:00Z",
8 "is_autopay": false
9}