Skip to main content
POST
Update bill 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 the payment belongs to.

paymentId
string<uuid>
required

The UUID of the payment to update.

Body

application/json
external_id
string | null

External ID for the payment.

vendor_id
string<uuid> | null

Layer ID of the vendor to associate with the payment. Pass null to clear the association. When the payment has bill allocations, the vendor must match the vendor on every allocated bill, otherwise the request is rejected with a 400.

vendor_external_id
string | null

External ID of the vendor to associate with the payment. Can be specified in place of vendor_id.

at
string<date-time>

When the payment was made.

amount
integer<int64>

Payment amount in cents.

method
enum<string>

Method used for payment.

Available options:
CASH,
CHECK,
CREDIT_CARD,
ACH,
CREDIT_BALANCE,
OTHER
Example:

"ACH"

processor
string | null

Payment processor used.

payment_clearing_account_identifier
Account ID · object

The the ledger account to use for the payment (overrides the default determined by the payment method).

bill_payment_allocations
object[]

Updated payment allocations across bills.

tags
object[]
memo
string | null

Memo for any text you would like to associate with the bill payment (for example, to display to end users).

metadata
object | null

Arbitrary custom metadata in JSON format with a size limit of 1KB.

Example:
reference_number
string | null

Any (typically user-visible) identifier you would like to associate with the bill payment. Can be used to filter when listing bill payments.

Response

Payment updated successfully.

data
object
required