Add and Update Payment Records
Explore how to add and update payment records associated with invoices using FreshBooks API endpoints. Understand the required permissions, request parameters, and how to handle API responses to effectively manage payment data programmatically.
We'll cover the following...
We'll cover the following...
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 ...