Skip to main content
PATCH
Update a loan payment

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

businessId
string<uuid>
required

The UUID of the business.

paymentId
string<uuid>
required

The UUID of the loan payment.

Body

application/json

The loan payment fields to update.

Parameters for updating a loan payment. Only include the fields you want to change.

amount
integer<int64>

Updated total payment amount, in cents.

date
string<date>

Updated payment date.

splits
object[]

Replaces the payment's splits with this list.

defer_posting
boolean

Updated deferred-posting flag.

method
enum<string>

Updated payment method.

Available options:
CASH,
CHECK,
CREDIT_CARD,
ACH,
CREDIT_BALANCE,
OTHER
processor
string | null

Updated processor.

payment_clearing_account_identifier
Account ID Ā· object

Updated clearing account.

memo
string | null

Updated internal note.

metadata
object | null

Arbitrary JSON object you can attach for your own use. Layer stores and returns it unchanged.

reference_number
string | null

Updated reference number.

Response

200 - application/json

The updated loan payment.

data
object
required

A payment made against a loan, broken down into principal, interest, and fee splits.