Payments

Submit a loan payment

POST

Instructs Pier to initiate an ACH payment for a loan. If repayment_ach_enabled is false, use none for transfer_type.

Request

This endpoint expects an object.
facility_id
stringRequired

The facility_id of the credit facility to make a payment for

amount
integerRequired
The amount of the payment, in cents
transfer_type
enumRequired
The type of ACH transfer
Allowed values: standardnext_daysame_daynone
ach_authorization_id
stringOptional

The Document ID of an unused ACH authorization document (only required when transfer_type is not none)

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