Submit a loan payment
Instructs Pier to initiate an ACH payment for a loan. If repayment_ach_enabled is false, use none for transfer_type.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
facility_id
The facility_id of the credit facility to make a payment for
amount
The amount of the payment, in cents
transfer_type
The type of transfer to use for the payment (ACH or none [ledger only])
Allowed values:standard none
settlement_priority
The speed at which the transfer should execute when ACH is used
Allowed values:standard next_day same_day
Response
This endpoint returns an object.
id
amount
The amount of the payment, in cents
facility_id
The facility_id of the credit facility to make a payment for
status
The status of the payment
transfer_type
The type of ACH transfer
created_on
Timestamp the payment is created on
failure_reason
A reason for the failure if one exists
is_autopay
If the payment was a result of an autopay
Errors
400
Invalid Input Error
400
Missing Repayment Bank Details Error
400
Payment Balance Less than Amount Error
400
Repayment Ach Disabled Error
400
Unable to Initiate Payment Error
401
Unauthorized Error
404
Facility Not Found Error
429
Rate Limit Error
500
Server Error