List and Delete a Payment Record

Learn to list payment records, get a single payment record, and delete it using the FreshBooks API.

In this lesson, we see three operations on payments. The endpoints are given below:

  • List all payments: /accounting/account/{ACCOUNT_ID}/payments/payments

  • Get and delete a single payment: /accounting/account/{ACCOUNT_ID}/payments/payments/{payment_id}

List all payment records

Let’s get all the payment records in the code widget below. This endpoint does not take any parameters.

Note: Please use the "Regenerate the Access Token" lesson in the appendix to regenerate the access token.

Get hands-on with 1200+ tech skills courses.