Get and Delete a Payment Record
Explore how to list all payments, retrieve a single payment record, and delete a payment using the FreshBooks API with Python. This lesson guides you through making HTTP requests to manage payment data effectively in your FreshBooks account.
We'll cover the following...
We'll cover the following...
Overview
In this lesson, we see three operations on payments. The endpoints are given below:
- List all payments:
{base_url}/accounting/account/{ACCOUNT_ID}/payments/payments - Get and delete a single payment:
{base_url}/accounting/account/{ACCOUNT_ID}/payments/payments/{payment_id}
These endpoints are very simple. Let’s see their functionality.