...

/

Add and Update Payment Records

Add and Update Payment Records

Learn to record payments and update them using the FreshBooks API.

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}. ...