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_idstringRequired

The facility_id of the credit facility to make a payment for

amountintegerRequired
The amount of the payment, in cents
transfer_typeenumRequired
Allowed values: standardnext_daysame_daynone
The type of ACH transfer
ach_authorization_idstringOptional

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

Response

This endpoint returns an object.
idstring
amountinteger
The amount of the payment, in cents
facility_idstring

The facility_id of the credit facility to make a payment for

statusenum
The status of the payment
transfer_typeenum
Allowed values: standardnext_daysame_daynone
The type of ACH transfer
created_ondatetime
Timestamp the payment is created on
failure_reasonstringOptional
A reason for the failure if one exists
is_autopaybooleanOptional
If the payment was a result of an autopay

Errors