Add and Update Payment Records
Explore how to record and update payment records against invoices using the FreshBooks API. Learn to use the required API endpoints and permission scopes to manage payments effectively, including creating new payment entries and modifying existing ones. This lesson guides you through the necessary HTTP requests and response handling to enhance your bookkeeping workflows.
We'll cover the following...
We'll cover the following...
Overview
In this lesson, we learn to record payments against invoices. The user:payments:write and user:payments:read scope permissions are required to execute the payment operations. In the sections below, we explore these two endpoints:
- Record a payment:
{base_url}/accounting/account/{ACCOUNT_ID}/payments/payments - Update a payment record:
{base_url}/accounting/account/{ACCOUNT_ID}/payments/payments/{PAYMENT_ID}
Record a payment
Let’s add a payment record to a specific invoice in a user account specified by {ACCOUNT_ID}. ...