Submit a loan payment

POST
/payments

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_type"standard" or "none"Required
Allowed values: standardnone

The type of transfer to use for the payment (ACH or none [ledger only])

settlement_priorityenumOptional
Allowed values: standardnext_daysame_day

The speed at which the transfer should execute when ACH is used

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

The type of ACH transfer

created_ondatetime

Timestamp the payment is created on

failure_reasonstringOptional

A reason for the failure if one exists

is_autopaybooleanOptionalDefaults to false

If the payment was a result of an autopay

Errors