Add and Update Payment Records
Learn to record payments and update them using the FreshBooks API.
In this lesson, we learn to record payments against invoices. In the sections below, we explore these two endpoints:
- Record a payment:
/accounting/account/{ACCOUNT_ID}/payments/payments
- Update a payment record:
/accounting/account/{ACCOUNT_ID}/payments/payments/{PAYMENT_ID}
The user:payments:write
and user:payments:read
scope permissions are required to execute the payment operations.
Record a payment
Let’s add a payment record to a specific invoice in a user account specified by {ACCOUNT_ID}
.
Request parameters
As this call is an HTTP POST
request, so it takes the payment
object as a parameter. Let’s see some of its important parameters in the table below:
Get hands-on with 1200+ tech skills courses.